diff --git a/.vscode/cspell.json b/.vscode/cspell.json index a70c3de076a6..f8260d316564 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -506,16 +506,24 @@ "dtype", "Dtype", "epsg", + "ETRS", "gnbu", "GNBU", + "haline", + "HALINE", + "Haline", "jsons", "Jsons", "lanczos", "Lanczos", "LANCZOS", + "LAEA", + "LAEAQUAD", "lcmap", "lulc", "LULC", + "LINZANTARTICA", + "Antartica", "maxx", "maxy", "mgrs", @@ -534,6 +542,7 @@ "Nipy", "nrcan", "NRCAN", + "NZTM", "orrd", "ORRD", "palsar", @@ -576,6 +585,9 @@ "Tilematrixsetid", "tiler", "tilers", + "topo", + "TOPO", + "Topo", "terrainrgb", "titiler", "unscale", diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 64e4bb508a77..adcf6b6199de 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -178,7 +178,7 @@ com.azure:azure-monitor-query-metrics;1.0.5;1.1.0-beta.1 com.azure:azure-monitor-query-perf;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-openrewrite;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-perf-test-parent;1.0.0-beta.1;1.0.0-beta.1 -com.azure:azure-analytics-planetarycomputer;1.0.0-beta.1;1.0.0-beta.1 +com.azure:azure-analytics-planetarycomputer;1.0.0;1.0.0 com.azure:azure-quantum-jobs;1.0.0-beta.1;1.0.0-beta.2 com.azure:azure-search-documents;12.0.0;12.1.0-beta.2 com.azure:azure-search-perf;1.0.0-beta.1;1.0.0-beta.1 diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/CHANGELOG.md b/sdk/planetarycomputer/azure-analytics-planetarycomputer/CHANGELOG.md index 18292b40905a..e959690cb39b 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/CHANGELOG.md +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/CHANGELOG.md @@ -1,13 +1,11 @@ # Release History -## 1.0.0-beta.1 (Unreleased) +## 1.0.0 (Unreleased) -- Azure PlanetaryComputer client library for Java. This package contains Microsoft Azure PlanetaryComputer client library. +- Initial GA release of the Azure Planetary Computer client library for Java targeting API version `2026-04-15`. -### Features Added +## 1.0.0-beta.1 (2026-06-08) -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Initial preview release of the Azure Planetary Computer client library for Java. +- Added `StacClient`, `DataClient`, `IngestionClient`, and `SharedAccessSignatureClient` with synchronous and asynchronous variants. +- Targeting API version `2025-04-30-preview`. diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/README.md b/sdk/planetarycomputer/azure-analytics-planetarycomputer/README.md index 40950ec0218d..96ea6d213576 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/README.md +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/README.md @@ -1,8 +1,21 @@ -# Azure PlanetaryComputer client library for Java +# Azure Planetary Computer client library for Java -Azure PlanetaryComputer client library for Java. +The Azure Planetary Computer client library provides programmatic access to Microsoft Planetary Computer Pro, a geospatial data management service built on Azure's hyperscale infrastructure. Microsoft Planetary Computer Pro empowers organizations to unlock the full potential of geospatial data by providing foundational capabilities to ingest, manage, search, and distribute geospatial datasets using the SpatioTemporal Asset Catalog (STAC) open specification. -This package contains Microsoft Azure PlanetaryComputer client library. +This client library enables developers to interact with GeoCatalog resources, supporting workflows from gigabytes to tens of petabytes of geospatial data. + +## Key capabilities + +- **STAC Collection Management**: Create, read, update, and delete STAC collections and items to organize your geospatial datasets +- **Collection Configuration**: Configure render options, mosaics, tile settings, and queryables to optimize query performance and visualization +- **Data Visualization**: Generate map tiles (XYZ, TileJSON, WMTS), preview images, crop by GeoJSON or bounding box, extract point values, and compute statistics +- **Mosaic Operations**: Register STAC search-based mosaics for pixel-wise data query and retrieval, generate tiles from multiple items +- **Map Legends**: Retrieve class map legends (categorical) and interval legends (continuous) as JSON or PNG images +- **Data Ingestion**: Set up ingestion sources (Managed Identity or SAS token), define ingestions from STAC catalogs, and monitor ingestion runs +- **STAC API Operations**: Full CRUD operations on items, search with spatial/temporal filters and sorting, retrieve queryable properties, and check API conformance +- **Secure Access**: Generate SAS tokens for collections, sign asset HREFs for secure downloads, and revoke tokens — all secured via Microsoft Entra ID + +[Source code][source] | [API reference documentation][docs] | [Product documentation][product_documentation] | [Samples][samples] ## Documentation @@ -17,6 +30,7 @@ Various documentation is available to help you get started - [Java Development Kit (JDK)][jdk] with version 8 or above - [Azure Subscription][azure_subscription] +- A deployed Microsoft Planetary Computer Pro GeoCatalog resource in your Azure subscription ### Adding the package to your product @@ -25,20 +39,41 @@ Various documentation is available to help you get started com.azure azure-analytics-planetarycomputer - 1.0.0-beta.1 + 1.0.0 ``` [//]: # ({x-version-update-end}) ### Authentication -[Azure Identity][azure_identity] package provides the default implementation for authenticating the client. +Microsoft Entra ID authentication is required to interact with your GeoCatalog resource. + +#### Create the client with Microsoft Entra ID credential + +To use `DefaultAzureCredential` or other credential types, add the `azure-identity` dependency: + +```xml + + com.azure + azure-identity + 1.15.4 + +``` + +`DefaultAzureCredential` will use the values from environment variables `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, and `AZURE_CLIENT_SECRET`, or authenticate via Azure CLI, IntelliJ, or VS Code. + +```java readme-sample-createStacClient +StacClient stacClient = new PlanetaryComputerProClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint("") + .buildStacClient(); +``` ## Key concepts ### STAC (SpatioTemporal Asset Catalog) -The PlanetaryComputer service is built around the [STAC specification](https://stacspec.org/), which provides a common structure for describing geospatial information. Key STAC concepts include: +The Planetary Computer Pro service is built around the [STAC specification](https://stacspec.org/), which provides a common structure for describing geospatial information. Key STAC concepts include: - **Collection** — A grouping of related geospatial assets (e.g., satellite imagery, land cover data). Each collection has metadata including spatial and temporal extents, license information, and provider details. - **Item** — A GeoJSON Feature representing a single spatiotemporal asset within a collection. Items contain geometry, temporal metadata, and references to data assets. @@ -53,7 +88,7 @@ The SDK provides four client pairs (synchronous and asynchronous) built from a s | Client | Purpose | |--------|---------| | `StacClient` / `StacAsyncClient` | Manage STAC catalog resources — collections, items, mosaics, render options, queryables, and search | -| `DataClient` / `DataAsyncClient` | Tiler operations — map tiles, previews, statistics, static images, and legends | +| `DataClient` / `DataAsyncClient` | Tiler operations — map tiles, previews, statistics, legends, and point values | | `IngestionClient` / `IngestionAsyncClient` | Manage data ingestion — definitions, runs, sources, and operations | | `SharedAccessSignatureClient` / `SharedAccessSignatureAsyncClient` | Generate and manage SAS tokens for accessing underlying Azure Blob Storage | @@ -63,11 +98,20 @@ Some operations such as creating collections, deleting collections, and creating ## Examples -The following sections provide code snippets covering common PlanetaryComputer tasks: +The following sections provide code snippets covering common Planetary Computer tasks: - [Create a client](#create-a-client) +- [List STAC collections](#list-stac-collections) - [Get a STAC collection](#get-a-stac-collection) - [Search for STAC items](#search-for-stac-items) +- [Get STAC item details](#get-stac-item-details) +- [Create a STAC collection](#create-a-stac-collection) +- [Configure collection visualization](#configure-collection-visualization) +- [Register and render mosaic tiles](#register-and-render-mosaic-tiles) +- [Extract point values](#extract-point-values) +- [Generate map tiles](#generate-map-tiles) +- [Set up ingestion sources](#set-up-ingestion-sources) +- [Data ingestion management](#data-ingestion-management) - [Generate a SAS token](#generate-a-sas-token) ### Create a client @@ -90,6 +134,17 @@ StacAsyncClient stacAsyncClient = new PlanetaryComputerProClientBuilder() .buildStacAsyncClient(); ``` +### List STAC collections + +Browse all available STAC collections in your GeoCatalog: + +```java readme-sample-listCollections +StacCatalogCollections collections = stacClient.getCollections(); +for (StacCollection col : collections.getCollections()) { + System.out.printf("Collection: %s - %s%n", col.getId(), col.getTitle()); +} +``` + ### Get a STAC collection Retrieve a specific collection by its identifier: @@ -114,6 +169,119 @@ StacItemCollection results = stacClient.search( System.out.printf("Found %d items%n", results.getFeatures().size()); ``` +### Get STAC item details + +Retrieve a specific item from a collection: + +```java readme-sample-getItem +StacItem item = stacClient.getItem("naip-atl", "ga_m_3308421_se_16_060_20211114"); +System.out.printf("Item ID: %s, Collection: %s%n", item.getId(), item.getCollection()); +System.out.printf("Assets: %s%n", item.getAssets().keySet()); +``` + +### Create a STAC collection + +Create a new collection using a long-running operation: + +```java readme-sample-createCollection +String collectionJson = "{" + + "\"id\": \"my-collection\"," + + "\"type\": \"Collection\"," + + "\"stac_version\": \"1.0.0\"," + + "\"description\": \"My geospatial dataset\"," + + "\"license\": \"proprietary\"," + + "\"extent\": {\"spatial\": {\"bbox\": [[-180, -90, 180, 90]]}," + + "\"temporal\": {\"interval\": [[\"2020-01-01T00:00:00Z\", null]]}}," + + "\"links\": []}"; + +SyncPoller poller = stacClient.beginCreateCollection( + BinaryData.fromString(collectionJson), new RequestOptions()); +poller.getFinalResult(); +``` + +### Configure collection visualization + +Add render options to control how collection data is visualized on map tiles: + +```java readme-sample-configureVisualization +RenderOption renderOption = new RenderOption("natural-color", "Natural Color") + .setType(RenderOptionType.RASTER_TILE) + .setOptions("assets=image&asset_bidx=image|1,2,3") + .setMinZoom(6); +RenderOption created = stacClient.createRenderOption("naip-atl", renderOption); +System.out.printf("Created render option: %s%n", created.getId()); +``` + +### Register and render mosaic tiles + +Register a search-based mosaic and retrieve tiles: + +```java readme-sample-mosaicTiles +String searchBody = "{\"filter\":{\"op\":\"and\",\"args\":[" + + "{\"op\":\"=\",\"args\":[{\"property\":\"collection\"},\"naip-atl\"]}," + + "{\"op\":\">=\",\"args\":[{\"property\":\"datetime\"},\"2021-01-01T00:00:00Z\"]}" + + "]},\"filter-lang\":\"cql2-json\"}"; + +Response searchResponse = dataClient.registerMosaicsSearchWithResponse( + BinaryData.fromString(searchBody), new RequestOptions()); +String searchId = searchResponse.getValue() + .toObject(TilerMosaicSearchRegistrationResponse.class).getSearchId(); +System.out.printf("Registered mosaic search: %s%n", searchId); +``` + +### Extract point values + +Query pixel values at a specific geographic coordinate: + +```java readme-sample-pointValues +RequestOptions options = new RequestOptions(); +options.addQueryParam("assets", "image", false); +Response response = dataClient.getItemPointWithResponse( + "naip-atl", "ga_m_3308421_se_16_060_20211114", -84.386, 33.676, options); +System.out.printf("Point data: %s%n", response.getValue().toString()); +``` + +### Generate map tiles + +Retrieve a map tile for a specific item: + +```java readme-sample-mapTile +RequestOptions options = new RequestOptions(); +options.addQueryParam("assets", "image", false); +options.addQueryParam("asset_bidx", "image|1,2,3", false); +BinaryData tile = dataClient.getTileByFormatWithResponse( + "naip-atl", "ga_m_3308421_se_16_060_20211114", + "WebMercatorQuad", 14, 4349, 6564, "png", options).getValue(); +System.out.printf("Tile size: %d bytes%n", tile.toBytes().length); +``` + +### Set up ingestion sources + +Configure an ingestion source for importing data into your GeoCatalog: + +```java readme-sample-ingestionSource +IngestionSource source = ingestionClient.createSource( + new ManagedIdentityIngestionSource("source-id", + new ManagedIdentityConnection("https://storage.blob.core.windows.net/container", + "managed-identity-object-id"))); +System.out.printf("Created ingestion source: %s%n", source.getId()); +``` + +### Data ingestion management + +Create an ingestion definition and start a run: + +```java readme-sample-ingestion +IngestionDefinition ingestion = new IngestionDefinition(); +ingestion.setImportType(IngestionType.STATIC_CATALOG); +ingestion.setDisplayName("My Dataset Ingestion"); +ingestion.setSourceCatalogUrl("https://example.com/catalog.json"); + +IngestionDefinition created = ingestionClient.create("my-collection", ingestion); +IngestionRun run = ingestionClient.createRun("my-collection", created.getId()); +System.out.printf("Ingestion run started: %s%n", run.getId()); +``` + ### Generate a SAS token Generate a SAS token to access data assets in Azure Blob Storage: @@ -126,14 +294,6 @@ SharedAccessSignatureClient sasClient = new PlanetaryComputerProClientBuilder() SharedAccessSignatureToken token = sasClient.getToken("naip-atl", null); ``` -### Building the package - -To compile the package into a standalone jar, use the following command from the root of the repository: - -```bash -mvn clean package -f sdk/planetarycomputer/azure-analytics-planetarycomputer/pom.xml -``` - ### Service API versions The client library targets the latest service API version by default. @@ -151,8 +311,24 @@ Always ensure that the chosen API version is fully supported and operational for ## Troubleshooting +### Enable client logging + +You can set the `AZURE_LOG_LEVEL` environment variable to view logging statements made in the client library. For example, setting `AZURE_LOG_LEVEL=2` would show all informational, warning, and error log messages. The log levels can be found here: [log levels][log_levels]. + +### Default HTTP Client + +All client libraries by default use the Netty HTTP client. Adding the above dependency will automatically configure the client library to use the Netty HTTP client. Configuring or changing the HTTP client is detailed in the [HTTP clients wiki](https://github.com/Azure/azure-sdk-for-java/wiki/HTTP-clients). + +### Default SSL library + +All client libraries, by default, use the Tomcat-native Boring SSL library to enable native-level performance for SSL operations. The Boring SSL library is an uber jar containing native libraries for Linux / macOS / Windows, and provides better performance compared to the default SSL implementation within the JDK. For more information, including how to reduce the dependency size, refer to the [performance tuning][performance_tuning] section of the wiki. + ## Next steps +- Get started with the Azure Planetary Computer client library by exploring the [samples][samples]. +- Review the [API reference documentation][docs] for detailed information on available operations. +- Learn more about [Microsoft Planetary Computer Pro][product_documentation]. + ## Contributing For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md). @@ -164,8 +340,12 @@ For details on contributing to this repository, see the [contributing guide](htt 1. Create new Pull Request -[product_documentation]: https://azure.microsoft.com/services/ +[source]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/planetarycomputer/azure-analytics-planetarycomputer/src [docs]: https://azure.github.io/azure-sdk-for-java/ +[product_documentation]: https://learn.microsoft.com/azure/planetary-computer/ +[samples]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples [jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/ [azure_subscription]: https://azure.microsoft.com/free/ [azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity +[log_levels]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core/src/main/java/com/azure/core/util/logging/ClientLogger.java +[performance_tuning]: https://github.com/Azure/azure-sdk-for-java/wiki/Performance-Tuning diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/assets.json b/sdk/planetarycomputer/azure-analytics-planetarycomputer/assets.json index a104fa38f0a5..ed05a4194e73 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/assets.json +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/assets.json @@ -2,5 +2,5 @@ "AssetsRepo":"Azure/azure-sdk-assets", "AssetsRepoPrefixPath":"java", "TagPrefix":"java/planetarycomputer/azure-analytics-planetarycomputer", - "Tag": "java/planetarycomputer/azure-analytics-planetarycomputer_fb1a365bf2" + "Tag": "java/planetarycomputer/azure-analytics-planetarycomputer_b50666de1e" } \ No newline at end of file diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/pom.xml b/sdk/planetarycomputer/azure-analytics-planetarycomputer/pom.xml index 0133e688e7da..bd63573c327c 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/pom.xml +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/pom.xml @@ -14,7 +14,7 @@ Code generated by Microsoft (R) TypeSpec Code Generator. com.azure azure-analytics-planetarycomputer - 1.0.0-beta.1 + 1.0.0 jar Microsoft Azure SDK for PlanetaryComputer @@ -44,8 +44,11 @@ Code generated by Microsoft (R) TypeSpec Code Generator. UTF-8 false - 0.40 - 0.25 + + 0.20 + 0.05 diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/DataAsyncClient.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/DataAsyncClient.java index aba4dc301c3d..eb5e56749e8d 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/DataAsyncClient.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/DataAsyncClient.java @@ -9,30 +9,20 @@ import com.azure.analytics.planetarycomputer.models.AssetStatisticsResponse; import com.azure.analytics.planetarycomputer.models.ClassMapLegendResponse; import com.azure.analytics.planetarycomputer.models.ColorMapNames; -import com.azure.analytics.planetarycomputer.models.CropGeoJsonOptions; import com.azure.analytics.planetarycomputer.models.Feature; -import com.azure.analytics.planetarycomputer.models.GetAssetStatisticsOptions; -import com.azure.analytics.planetarycomputer.models.GetGeoJsonStatisticsOptions; -import com.azure.analytics.planetarycomputer.models.GetMosaicTileJsonOptions; -import com.azure.analytics.planetarycomputer.models.GetMosaicTileOptions; -import com.azure.analytics.planetarycomputer.models.GetMosaicWmtsCapabilitiesOptions; -import com.azure.analytics.planetarycomputer.models.GetPartOptions; -import com.azure.analytics.planetarycomputer.models.GetPreviewOptions; -import com.azure.analytics.planetarycomputer.models.GetStatisticsOptions; -import com.azure.analytics.planetarycomputer.models.GetTileJsonOptions; -import com.azure.analytics.planetarycomputer.models.GetTileOptions; -import com.azure.analytics.planetarycomputer.models.GetWmtsCapabilitiesOptions; -import com.azure.analytics.planetarycomputer.models.ImageParameters; -import com.azure.analytics.planetarycomputer.models.ImageResponse; import com.azure.analytics.planetarycomputer.models.PixelSelection; import com.azure.analytics.planetarycomputer.models.RegisterMosaicsSearchOptions; import com.azure.analytics.planetarycomputer.models.Resampling; +import com.azure.analytics.planetarycomputer.models.SelMethod; import com.azure.analytics.planetarycomputer.models.StacItemBounds; import com.azure.analytics.planetarycomputer.models.StacItemPointAsset; import com.azure.analytics.planetarycomputer.models.StacItemStatisticsGeoJson; import com.azure.analytics.planetarycomputer.models.TerrainAlgorithm; import com.azure.analytics.planetarycomputer.models.TileJsonMetadata; import com.azure.analytics.planetarycomputer.models.TileMatrixSet; +import com.azure.analytics.planetarycomputer.models.TileMatrixSetId; +import com.azure.analytics.planetarycomputer.models.TileSetList; +import com.azure.analytics.planetarycomputer.models.TileSetMetadata; import com.azure.analytics.planetarycomputer.models.TilerAssetGeoJson; import com.azure.analytics.planetarycomputer.models.TilerCoreModelsResponsesPoint; import com.azure.analytics.planetarycomputer.models.TilerImageFormat; @@ -41,6 +31,7 @@ import com.azure.analytics.planetarycomputer.models.TilerMosaicSearchRegistrationResponse; import com.azure.analytics.planetarycomputer.models.TilerStacItemStatistics; import com.azure.analytics.planetarycomputer.models.TilerStacSearchRegistration; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; @@ -188,53 +179,21 @@ public Mono> getTileMatrixDefinitionsWithResponse(String ti */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listTileMatricesWithResponse(RequestOptions requestOptions) { - return this.serviceClient.listTileMatricesWithResponseAsync(requestOptions); + public Mono> getTileMatricesWithResponse(RequestOptions requestOptions) { + return this.serviceClient.getTileMatricesWithResponseAsync(requestOptions); } /** - * Asset Statistics + * Get ClassMap Legend * - * Per Asset statistics. + * Generate values and color swatches mapping for a given classmap. *

Query Parameters

* * * - * - * - * - * - * - * - * - * - * - * - * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -243,191 +202,194 @@ public Mono> listTileMatricesWithResponse(RequestOptions re * {@code * { * (Optional): { - * String (Required): { - * (Optional): { - * String (Required): { - * min: double (Required) - * max: double (Required) - * mean: double (Required) - * count: double (Required) - * sum: double (Required) - * std: double (Required) - * median: double (Required) - * majority: double (Required) - * minority: double (Required) - * unique: double (Required) - * histogram (Required): [ - * (Required)[ - * double (Required) - * ] - * ] - * valid_percent: double (Required) - * masked_pixels: double (Required) - * valid_pixels: double (Required) - * percentile_2: double (Required) - * percentile_98: double (Required) - * } - * } - * } + * String: BinaryData (Required) * } * } * } * * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param classmapName classmap name. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's statistics along with {@link Response} on successful completion of {@link Mono}. + * @return classMap Legend + * + * Generate values and color swatches mapping for a given classmap along with {@link Response} on successful + * completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getAssetStatisticsWithResponse(String collectionId, String itemId, + public Mono> getClassMapLegendWithResponse(String classmapName, RequestOptions requestOptions) { - return this.serviceClient.getAssetStatisticsWithResponseAsync(collectionId, itemId, requestOptions); + return this.serviceClient.getClassMapLegendWithResponseAsync(classmapName, requestOptions); } /** - * Available Assets + * Get Interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. * - * Return a list of supported assets. + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow. + *

Query Parameters

+ * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
      * [
-     *     String (Required)
+     *      (Required)[
+     *          (Required)[
+     *             long (Required)
+     *         ]
+     *     ]
      * ]
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param classmapName classmap name. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow along with + * {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listAvailableAssetsWithResponse(String collectionId, String itemId, + public Mono> getIntervalLegendWithResponse(String classmapName, RequestOptions requestOptions) { - return this.serviceClient.listAvailableAssetsWithResponseAsync(collectionId, itemId, requestOptions); + return this.serviceClient.getIntervalLegendWithResponseAsync(classmapName, requestOptions); } /** - * Bounds + * Get Legend * - * Return all Bounds. + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
heightDoubleNoThe output height of the legend image
widthDoubleNoThe output width of the legend image
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *     bounds (Required): [
-     *         double (Required)
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param colorMapName The name of the registered colormap to generate a legend for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return geographic extent of a dataset expressed as a bounding box along with {@link Response} on successful - * completion of {@link Mono}. + * @return legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getBoundsWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.getBoundsWithResponseAsync(collectionId, itemId, requestOptions); + public Mono> getLegendWithResponse(String colorMapName, RequestOptions requestOptions) { + return this.serviceClient.getLegendWithResponseAsync(colorMapName, requestOptions); } /** - * Geojson Crop + * Register Search * - * Create image from a geojson feature. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: - * https://github.com/mapbox/rio-color)
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set - * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", - * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", - * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", - * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", - * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", - * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", - * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", - * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", - * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", - * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", - * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", - * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", - * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", - * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", - * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", - * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", - * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", - * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", - * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", - * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", - * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", - * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", - * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", - * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", - * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * Register a Search query. *

Request Body Schema

* *
      * {@code
      * {
-     *     geometry (Required): {
+     *     collections (Optional): [
+     *         String (Optional)
+     *     ]
+     *     ids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     bbox (Optional): [
+     *         double (Optional)
+     *     ]
+     *     intersects (Optional): {
      *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
      *         bbox (Optional): [
      *             double (Optional)
      *         ]
      *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         String: Object (Required)
+     *     query (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     *     filter (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     *     datetime: String (Optional)
+     *     sortby (Optional): [
+     *          (Optional){
+     *             field: String (Required)
+     *             direction: String(asc/desc) (Required)
+     *         }
+     *     ]
+     *     filter-lang: String(cql-json/cql2-json/cql2-text) (Optional)
+     *     metadata (Optional): {
+     *         type: String(mosaic/search) (Optional)
+     *         bounds: String (Optional)
+     *         minzoom: Integer (Optional)
+     *         maxzoom: Integer (Optional)
+     *         name: String (Optional)
+     *         assets (Optional): [
+     *             String (Optional)
+     *         ]
+     *         defaults (Optional): {
+     *             String: String (Required)
+     *         }
      *     }
      * }
      * }
@@ -437,55 +399,261 @@ public Mono> getBoundsWithResponse(String collectionId, Str
      * 
      * 
      * {@code
-     * BinaryData
+     * {
+     *     searchid: String (Required)
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param registerMosaicsSearchRequest The registerMosaicsSearchRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response from a successful mosaic registration with search ID and related links along with + * {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> registerMosaicsSearchWithResponse(BinaryData registerMosaicsSearchRequest, + RequestOptions requestOptions) { + return this.serviceClient.registerMosaicsSearchWithResponseAsync(registerMosaicsSearchRequest, requestOptions); + } + + /** + * Tileset List + * + * Return a list of available tilesets for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
+     *             ]
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 upperRight (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 crs: String (Optional)
+     *             }
+     *             accessConstraints: String (Optional)
+     *         }
+     *     ]
+     * }
      * }
      * 
* * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return response containing a list of available tilesets along with {@link Response} on successful completion of + * {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cropGeoJsonWithResponse(String collectionId, String itemId, String format, - BinaryData body, RequestOptions requestOptions) { - return this.serviceClient.cropGeoJsonWithResponseAsync(collectionId, itemId, format, body, requestOptions); + public Mono> getTilesetsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getTilesetsWithResponseAsync(collectionId, itemId, requestOptions); + } + + /** + * Tileset Metadata + * + * Return metadata for a specific tileset of a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
+     *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
+     *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response} + * on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTilesetMetadataWithResponse(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + return this.serviceClient.getTilesetMetadataWithResponseAsync(collectionId, itemId, tileMatrixSetId, + requestOptions); } /** - * Geojson Crop + * Tile Tilematrixsetid Plain * - * Create image from a geojson feature. + * Create map tile from a dataset (without scale or format in path). *

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * + * * - * * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * - *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -513,30 +681,41 @@ public Mono> cropGeoJsonWithResponse(String collectionId, S * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

+ * paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`. + * subdataset_nameStringNoThe name of a subdataset within the asset. + * subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string. + * crsStringNoCoordinate Reference System. + * datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - *
-     * {@code
-     * {
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         String: Object (Required)
-     *     }
-     * }
-     * }
-     * 
+ * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array. + * sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode". + * + * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -547,10 +726,13 @@ public Mono> cropGeoJsonWithResponse(String collectionId, S
      * 
      * @param collectionId STAC Collection Identifier.
      * @param itemId STAC Item Identifier.
-     * @param width Width in pixels for the output image.
-     * @param height Height in pixels for the output image.
-     * @param format Output format for the tile or image (e.g., png, jpeg, webp).
-     * @param body Request GeoJson body.
+     * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported.
+     * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and
+     * representing the scaleDenominator the tile.
+     * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the
+     * MatrixHeight-1 for the selected TileMatrix.
+     * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the
+     * MatrixWidth-1 for the selected TileMatrix.
      * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
      * @throws HttpResponseException thrown if the request is rejected by server.
      * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
@@ -560,343 +742,179 @@ public Mono> cropGeoJsonWithResponse(String collectionId, S
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono> cropGeoJsonWithDimensionsWithResponse(String collectionId, String itemId,
-        int width, int height, String format, BinaryData body, RequestOptions requestOptions) {
-        return this.serviceClient.cropGeoJsonWithDimensionsWithResponseAsync(collectionId, itemId, width, height,
-            format, body, requestOptions);
+    public Mono> getTileWithResponse(String collectionId, String itemId, String tileMatrixSetId,
+        double z, double x, double y, RequestOptions requestOptions) {
+        return this.serviceClient.getTileWithResponseAsync(collectionId, itemId, tileMatrixSetId, z, x, y,
+            requestOptions);
     }
 
     /**
-     * Geojson Statistics
+     * Tile Tilematrixsetid Format
      * 
-     * Get Statistics from a geojson feature.
+     * Create map tile from a dataset (with format in path, without scale).
      * 

Query Parameters

* * * + * * * - * + * * - * + * * - * + * + * + * + * + * + * * - * - * - * - * - * + * + * + * + * + * + * + * + * - * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. + *
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * Examples: * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

+ *

Response Body Schema

* *
      * {@code
-     * {
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         String: Object (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         statistics (Required): {
-     *             String (Required): {
-     *                 min: double (Required)
-     *                 max: double (Required)
-     *                 mean: double (Required)
-     *                 count: double (Required)
-     *                 sum: double (Required)
-     *                 std: double (Required)
-     *                 median: double (Required)
-     *                 majority: double (Required)
-     *                 minority: double (Required)
-     *                 unique: double (Required)
-     *                 histogram (Required): [
-     *                      (Required)[
-     *                         double (Required)
-     *                     ]
-     *                 ]
-     *                 valid_percent: double (Required)
-     *                 masked_pixels: double (Required)
-     *                 valid_pixels: double (Required)
-     *                 percentile_2: double (Required)
-     *                 percentile_98: double (Required)
-     *             }
-     *         }
-     *          (Optional): {
-     *             String: Object (Required)
-     *         }
-     *     }
-     * }
-     * }
-     * 
- * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param body Request GeoJson body. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return sTAC Item representing a spatiotemporal asset with statistical information along with {@link Response} on - * successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getGeoJsonStatisticsWithResponse(String collectionId, String itemId, - BinaryData body, RequestOptions requestOptions) { - return this.serviceClient.getGeoJsonStatisticsWithResponseAsync(collectionId, itemId, body, requestOptions); - } - - /** - * Info Geojson - * - * Return Info Geojson. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(Feature) (Required)
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     properties (Required): {
-     *         String (Required): {
-     *             bounds (Required): [
-     *                 double (Required)
-     *             ]
-     *             band_metadata (Optional): [
-     *                  (Optional)[
-     *                     BinaryData (Optional)
-     *                 ]
-     *             ]
-     *             band_descriptions (Optional): [
-     *                  (Optional)[
-     *                     String (Optional)
-     *                 ]
-     *             ]
-     *             dtype: String (Required)
-     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
-     *             colorinterp (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             driver: String (Optional)
-     *             count: Integer (Optional)
-     *             width: Integer (Optional)
-     *             height: Integer (Optional)
-     *             overviews (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             scales (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             offsets (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             colormap (Optional): {
-     *                 String (Required): [
-     *                     String (Required)
-     *                 ]
-     *             }
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             crs: String (Optional)
-     *         }
-     *     }
-     *     id: String (Optional)
-     *     bbox (Optional): [
-     *         double (Optional)
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return geoJSON Feature object containing rio-tiler model information along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getInfoGeoJsonWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.getInfoGeoJsonWithResponseAsync(collectionId, itemId, requestOptions); + public Mono> getTileByFormatWithResponse(String collectionId, String itemId, + String tileMatrixSetId, double z, double x, double y, String format, RequestOptions requestOptions) { + return this.serviceClient.getTileByFormatWithResponseAsync(collectionId, itemId, tileMatrixSetId, z, x, y, + format, requestOptions); } /** - * Info + * Tile Tilematrixsetid Scale * - * Return dataset's basic info. + * Create map tile from a dataset (with scale in path, without format). *

Query Parameters

* * * - * - *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call + *
bidxList<Integer>NoDataset band indexes. Call * {@link RequestOptions#addQueryParam} to add string to array.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *      (Optional): {
-     *         String (Required): {
-     *             bounds (Required): [
-     *                 double (Required)
-     *             ]
-     *             band_metadata (Optional): [
-     *                  (Optional)[
-     *                     BinaryData (Optional)
-     *                 ]
-     *             ]
-     *             band_descriptions (Optional): [
-     *                  (Optional)[
-     *                     String (Optional)
-     *                 ]
-     *             ]
-     *             dtype: String (Required)
-     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
-     *             colorinterp (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             driver: String (Optional)
-     *             count: Integer (Optional)
-     *             width: Integer (Optional)
-     *             height: Integer (Optional)
-     *             overviews (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             scales (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             offsets (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             colormap (Optional): {
-     *                 String (Required): [
-     *                     String (Required)
-     *                 ]
-     *             }
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             crs: String (Optional)
-     *         }
-     *     }
-     * }
-     * }
-     * 
- * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's basic info along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getItemAssetDetailsWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.getItemAssetDetailsWithResponseAsync(collectionId, itemId, requestOptions); - } - - /** - * Part - * - * Create image from part of a dataset. - *

Query Parameters

- * - * - * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * * - * - * * - * - * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -924,9 +942,39 @@ public Mono> getItemAssetDetailsWithResponse(String collect * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -939,11 +987,14 @@ public Mono> getItemAssetDetailsWithResponse(String collect * * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param minx Bounding box min X. - * @param miny Bounding box min Y. - * @param maxx Bounding box max X. - * @param maxy Bounding box max Y. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -953,40 +1004,46 @@ public Mono> getItemAssetDetailsWithResponse(String collect */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getPartWithResponse(String collectionId, String itemId, double minx, double miny, - double maxx, double maxy, String format, RequestOptions requestOptions) { - return this.serviceClient.getPartWithResponseAsync(collectionId, itemId, minx, miny, maxx, maxy, format, + public Mono> getTileByScaleWithResponse(String collectionId, String itemId, + String tileMatrixSetId, double z, double x, double y, double scale, RequestOptions requestOptions) { + return this.serviceClient.getTileByScaleWithResponseAsync(collectionId, itemId, tileMatrixSetId, z, x, y, scale, requestOptions); } /** - * Part + * Tile Tilematrixsetid * - * Create image from part of a dataset. + * Create map tile from a dataset (with TileMatrixSetId, scale, and format in path). *

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * * - * - * * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1014,9 +1071,39 @@ public Mono> getPartWithResponse(String collectionId, Strin * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1029,117 +1116,207 @@ public Mono> getPartWithResponse(String collectionId, Strin * * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param minx Bounding box min X. - * @param miny Bounding box min Y. - * @param maxx Bounding box max X. - * @param maxy Bounding box max Y. - * @param width Width in pixels for the output image. - * @param height Height in pixels for the output image. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getPartWithDimensionsWithResponse(String collectionId, String itemId, double minx, - double miny, double maxx, double maxy, int width, int height, String format, RequestOptions requestOptions) { - return this.serviceClient.getPartWithDimensionsWithResponseAsync(collectionId, itemId, minx, miny, maxx, maxy, - width, height, format, requestOptions); + public Mono> getTileByScaleAndFormatWithResponse(String collectionId, String itemId, + String tileMatrixSetId, double z, double x, double y, double scale, String format, + RequestOptions requestOptions) { + return this.serviceClient.getTileByScaleAndFormatWithResponseAsync(collectionId, itemId, tileMatrixSetId, z, x, + y, scale, format, requestOptions); } /** - * Point + * Tile Plain * - * Get Point value for a dataset. + * Create map tile from a dataset (without TileMatrixSetId, scale or format in path). *

Query Parameters

* * * + * * * - * + * * - * + * * - * + * + * + * + * + * + * + * + * * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *     coordinates (Required): [
-     *         double (Required)
-     *     ]
-     *     values (Required): [
-     *         double (Required)
-     *     ]
-     *     band_names (Required): [
-     *         String (Required)
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param longitude Longitude. - * @param latitude Latitude. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response model for point query operations providing values at a specific location along with - * {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getPointWithResponse(String collectionId, String itemId, double longitude, - double latitude, RequestOptions requestOptions) { - return this.serviceClient.getPointWithResponseAsync(collectionId, itemId, longitude, latitude, requestOptions); + public Mono> getTileNoTmsWithResponse(String collectionId, String itemId, double z, double x, + double y, RequestOptions requestOptions) { + return this.serviceClient.getTileNoTmsWithResponseAsync(collectionId, itemId, z, x, y, requestOptions); } /** - * Preview + * Tile Format * - * Create preview of a dataset. + * Create map tile from a dataset (with format in path, without TileMatrixSetId or scale). *

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * + * + * + * * - * * - * - * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). - * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1167,9 +1344,39 @@ public Mono> getPointWithResponse(String collectionId, Stri * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1182,6 +1389,13 @@ public Mono> getPointWithResponse(String collectionId, Stri * * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1191,39 +1405,53 @@ public Mono> getPointWithResponse(String collectionId, Stri */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getPreviewWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.getPreviewWithResponseAsync(collectionId, itemId, requestOptions); + public Mono> getTileNoTmsByFormatWithResponse(String collectionId, String itemId, double z, + double x, double y, String format, RequestOptions requestOptions) { + return this.serviceClient.getTileNoTmsByFormatWithResponseAsync(collectionId, itemId, z, x, y, format, + requestOptions); } /** - * Preview + * Tile Scale * - * Create preview of a dataset. + * Create map tile from a dataset (with scale in path, without TileMatrixSetId or format). *

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * + * * - * * - * - * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1251,9 +1479,39 @@ public Mono> getPreviewWithResponse(String collectionId, St * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1266,7 +1524,13 @@ public Mono> getPreviewWithResponse(String collectionId, St * * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1276,69 +1540,113 @@ public Mono> getPreviewWithResponse(String collectionId, St */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getPreviewWithFormatWithResponse(String collectionId, String itemId, - String format, RequestOptions requestOptions) { - return this.serviceClient.getPreviewWithFormatWithResponseAsync(collectionId, itemId, format, requestOptions); + public Mono> getTileNoTmsByScaleWithResponse(String collectionId, String itemId, double z, + double x, double y, double scale, RequestOptions requestOptions) { + return this.serviceClient.getTileNoTmsByScaleWithResponseAsync(collectionId, itemId, z, x, y, scale, + requestOptions); } /** - * Create Static Image - * - * Create a new image export. - *

Request Body Schema

+ * Tile * - *
-     * {@code
-     * {
-     *     cql (Required): {
-     *         String: Object (Required)
-     *     }
-     *     zoom: Double (Optional)
-     *     geometry (Optional): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     render_params: String (Required)
-     *     cols: int (Required)
-     *     rows: int (Required)
-     *     showBranding: Boolean (Optional)
-     *     imageSize: String (Optional)
-     * }
-     * }
-     * 
+ * Create map tile from a dataset (with scale and format in path, without TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - *

Response Body Schema

+ * Examples: * - *
-     * {@code
-     * {
-     *     url: String (Required)
-     * }
-     * }
-     * 
+ * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" * - * @param collectionId STAC Collection ID. - * @param body Image request body. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response model for image exports along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createStaticImageWithResponse(String collectionId, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.createStaticImageWithResponseAsync(collectionId, body, requestOptions); - } - - /** - * Get Static Image + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. * - * Fetch an existing image export by ID. + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -1347,152 +1655,67 @@ public Mono> createStaticImageWithResponse(String collectio
      * }
      * 
* - * @param collectionId STAC Collection ID. - * @param id Image export ID. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return static Image - * - * Fetch an existing image export by ID along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getStaticImageWithResponse(String collectionId, String id, - RequestOptions requestOptions) { - return this.serviceClient.getStaticImageWithResponseAsync(collectionId, id, requestOptions); + public Mono> getTileNoTmsByScaleAndFormatWithResponse(String collectionId, String itemId, + double z, double x, double y, double scale, String format, RequestOptions requestOptions) { + return this.serviceClient.getTileNoTmsByScaleAndFormatWithResponseAsync(collectionId, itemId, z, x, y, scale, + format, requestOptions); } /** - * Statistics + * Geojson Feature * - * Merged assets statistics. + * Create image from a geojson feature (without format in path). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *      (Optional): {
-     *         String (Required): {
-     *             min: double (Required)
-     *             max: double (Required)
-     *             mean: double (Required)
-     *             count: double (Required)
-     *             sum: double (Required)
-     *             std: double (Required)
-     *             median: double (Required)
-     *             majority: double (Required)
-     *             minority: double (Required)
-     *             unique: double (Required)
-     *             histogram (Required): [
-     *                  (Required)[
-     *                     double (Required)
-     *                 ]
-     *             ]
-     *             valid_percent: double (Required)
-     *             masked_pixels: double (Required)
-     *             valid_pixels: double (Required)
-     *             percentile_2: double (Required)
-     *             percentile_98: double (Required)
-     *         }
-     *     }
-     * }
-     * }
-     * 
- * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's statistics along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listStatisticsWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.listStatisticsWithResponseAsync(collectionId, itemId, requestOptions); - } - - /** - * TileJson Tilematrixsetid As Path - * - * Return the TileJson Tilematrixsetid As a path. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * + * + * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoDefault will be automatically defined if the output image - * needs a mask (png) or - * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: - * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1520,92 +1743,122 @@ public Mono> listStatisticsWithResponse(String collectionId * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
* You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

+ *

Request Body Schema

* *
      * {@code
      * {
-     *     tilejson: String (Optional)
-     *     name: String (Optional)
-     *     description: String (Optional)
-     *     version: String (Optional)
-     *     attribution: String (Optional)
-     *     template: String (Optional)
-     *     legend: String (Optional)
-     *     scheme: String(xyz/tms) (Optional)
-     *     tiles (Required): [
-     *         String (Required)
-     *     ]
-     *     grids (Optional): [
-     *         String (Optional)
-     *     ]
-     *     data (Optional): [
-     *         String (Optional)
-     *     ]
-     *     minzoom: Integer (Optional)
-     *     maxzoom: Integer (Optional)
-     *     bounds (Optional): [
-     *         double (Optional)
-     *     ]
-     *     center (Optional): [
-     *         double (Optional)
-     *     ]
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
      * }
      * }
      * 
* + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return tileJSON metadata describing a tile set according to the TileJSON specification - * - * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getTileJsonWithResponse(String collectionId, String itemId, - String tileMatrixSetId, RequestOptions requestOptions) { - return this.serviceClient.getTileJsonWithResponseAsync(collectionId, itemId, tileMatrixSetId, requestOptions); + public Mono> cropFeatureWithResponse(String collectionId, String itemId, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.cropFeatureWithResponseAsync(collectionId, itemId, body, requestOptions); } /** - * Tile Tilematrixsetid As Path + * Geojson Feature Crop With Format * - * Create map tile from a dataset. + * Create image from a geojson feature with format. *

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * * + * * + * + * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * * - * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1633,14 +1886,59 @@ public Mono> getTileJsonWithResponse(String collectionId, S * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<String>NoThe index of a subdataset band within the + *
subdataset_bandsList<Integer>NoThe index of a subdataset band within the * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
@@ -1651,15 +1949,8 @@ public Mono> getTileJsonWithResponse(String collectionId, S
      * 
      * @param collectionId STAC Collection Identifier.
      * @param itemId STAC Item Identifier.
-     * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported.
-     * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and
-     * representing the scaleDenominator the tile.
-     * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the
-     * MatrixHeight-1 for the selected TileMatrix.
-     * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the
-     * MatrixWidth-1 for the selected TileMatrix.
-     * @param scale Numeric scale factor for the tile. Higher values produce larger tiles.
      * @param format Output format for the tile or image (e.g., png, jpeg, webp).
+     * @param body Request GeoJson body.
      * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
      * @throws HttpResponseException thrown if the request is rejected by server.
      * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
@@ -1669,45 +1960,46 @@ public Mono> getTileJsonWithResponse(String collectionId, S
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono> getTileWithResponse(String collectionId, String itemId, String tileMatrixSetId,
-        double z, double x, double y, double scale, String format, RequestOptions requestOptions) {
-        return this.serviceClient.getTileWithResponseAsync(collectionId, itemId, tileMatrixSetId, z, x, y, scale,
-            format, requestOptions);
+    public Mono> cropFeatureByFormatWithResponse(String collectionId, String itemId, String format,
+        BinaryData body, RequestOptions requestOptions) {
+        return this.serviceClient.cropFeatureByFormatWithResponseAsync(collectionId, itemId, format, body,
+            requestOptions);
     }
 
     /**
-     * Wmts Tilematrixsetid As Path
+     * Geojson Feature Crop With Dimensions
      * 
-     * OGC WMTS endpoint.
+     * Create image from a geojson feature with dimensions.
      * 

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * - * - * - * - * * + * * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", - * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1735,239 +2027,403 @@ public Mono> getTileWithResponse(String collectionId, Strin * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
      * {@code
-     * byte[]
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWmtsCapabilitiesWithResponse(String collectionId, String itemId, - String tileMatrixSetId, RequestOptions requestOptions) { - return this.serviceClient.getWmtsCapabilitiesWithResponseAsync(collectionId, itemId, tileMatrixSetId, - requestOptions); + public Mono> cropFeatureWidthByHeightWithResponse(String collectionId, String itemId, + int width, int height, String format, BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.cropFeatureWidthByHeightWithResponseAsync(collectionId, itemId, width, height, format, + body, requestOptions); } /** - * Get ClassMap Legend + * Item Bounds * - * Generate values and color swatches mapping for a given classmap. + * Return the bounds for a STAC item. *

Query Parameters

* * * - * - * - *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

+ * subdataset_nameStringNoThe name of a subdataset within the asset. + * subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string. + * crsStringNoCoordinate Reference System. + * datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array. + * sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode". + * + * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

* *
      * {@code
      * {
-     *      (Optional): {
-     *         String: Object (Required)
-     *     }
+     *     bounds (Required): [
+     *         double (Required)
+     *     ]
      * }
      * }
      * 
* - * @param classmapName classmap name. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return classMap Legend - * - * Generate values and color swatches mapping for a given classmap along with {@link Response} on successful + * @return geographic extent of a dataset expressed as a bounding box along with {@link Response} on successful * completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getClassMapLegendWithResponse(String classmapName, + public Mono> getItemBoundsWithResponse(String collectionId, String itemId, RequestOptions requestOptions) { - return this.serviceClient.getClassMapLegendWithResponseAsync(classmapName, requestOptions); + return this.serviceClient.getItemBoundsWithResponseAsync(collectionId, itemId, requestOptions); } /** - * Get Interval Legend + * Item Info * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow). + * Return dataset's basic info for a STAC item. *

Query Parameters

* * * - * - * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * [
-     *      (Required)[
-     *          (Required)[
-     *             long (Required)
-     *         ]
-     *     ]
-     * ]
+     * {
+     *      (Optional): {
+     *         String (Required): {
+     *             bounds (Required): [
+     *                 double (Required)
+     *             ]
+     *             band_metadata (Optional): [
+     *                  (Optional)[
+     *                     BinaryData (Optional)
+     *                 ]
+     *             ]
+     *             band_descriptions (Optional): [
+     *                  (Optional)[
+     *                     String (Optional)
+     *                 ]
+     *             ]
+     *             dtype: String (Required)
+     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
+     *             colorinterp (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             driver: String (Optional)
+     *             count: Integer (Optional)
+     *             width: Integer (Optional)
+     *             height: Integer (Optional)
+     *             overviews (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             scales (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             offsets (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             colormap (Optional): {
+     *                 String (Required): [
+     *                     String (Required)
+     *                 ]
+     *             }
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             crs: String (Optional)
+     *         }
+     *     }
+     * }
      * }
      * 
* - * @param classmapName classmap name. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow) along with - * {@link Response} on successful completion of {@link Mono}. + * @return return dataset's basic info along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getIntervalLegendWithResponse(String classmapName, + public Mono> getItemInfoWithResponse(String collectionId, String itemId, RequestOptions requestOptions) { - return this.serviceClient.getIntervalLegendWithResponseAsync(classmapName, requestOptions); + return this.serviceClient.getItemInfoWithResponseAsync(collectionId, itemId, requestOptions); } /** - * Get Legend - * - * Generate a legend image for a given colormap. + * Item Info Geojson * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim. + * Return info as GeoJSON for a STAC item. *

Query Parameters

* * * - * - * - * - * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
heightDoubleNoThe output height of the legend image
widthDoubleNoThe output width of the legend image
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * BinaryData
+     * {
+     *     type: String(Feature) (Required)
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     properties (Required): {
+     *         String (Required): {
+     *             bounds (Required): [
+     *                 double (Required)
+     *             ]
+     *             band_metadata (Optional): [
+     *                  (Optional)[
+     *                     BinaryData (Optional)
+     *                 ]
+     *             ]
+     *             band_descriptions (Optional): [
+     *                  (Optional)[
+     *                     String (Optional)
+     *                 ]
+     *             ]
+     *             dtype: String (Required)
+     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
+     *             colorinterp (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             driver: String (Optional)
+     *             count: Integer (Optional)
+     *             width: Integer (Optional)
+     *             height: Integer (Optional)
+     *             overviews (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             scales (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             offsets (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             colormap (Optional): {
+     *                 String (Required): [
+     *                     String (Required)
+     *                 ]
+     *             }
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             crs: String (Optional)
+     *         }
+     *     }
+     *     id: String (Optional)
+     *     bbox (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
      * }
      * 
* - * @param colorMapName The name of the registered colormap to generate a legend for. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return legend - * - * Generate a legend image for a given colormap. - * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim along with {@link Response} on successful completion of {@link Mono}. + * @return geoJSON Feature object containing rio-tiler model information along with {@link Response} on successful + * completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getLegendWithResponse(String colorMapName, RequestOptions requestOptions) { - return this.serviceClient.getLegendWithResponseAsync(colorMapName, requestOptions); + public Mono> getItemInfoGeoJsonWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemInfoGeoJsonWithResponseAsync(collectionId, itemId, requestOptions); } /** - * Assets For Point + * Item Available Assets * - * Return a list of assets for a given point. + * Return a list of supported assets for a STAC item. *

Query Parameters

* * * - * - * - * - * - * - * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the - * previous items (defaults - * to True in PgSTAC).
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1975,53 +2431,13 @@ public Mono> getLegendWithResponse(String colorMapName, Req *
      * {@code
      * [
-     *      (Required){
-     *         id: String (Required)
-     *         bbox (Required): [
-     *             double (Required)
-     *         ]
-     *         assets (Required): {
-     *             String (Required): {
-     *                 platform: String (Optional)
-     *                 instruments (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                 constellation: String (Optional)
-     *                 mission: String (Optional)
-     *                 providers (Optional): [
-     *                      (Optional){
-     *                         name: String (Optional, Required on create)
-     *                         description: String (Optional)
-     *                         roles (Optional): [
-     *                             String (Optional)
-     *                         ]
-     *                         url: String (Optional)
-     *                     }
-     *                 ]
-     *                 gsd: Double (Optional)
-     *                 created: OffsetDateTime (Optional)
-     *                 updated: OffsetDateTime (Optional)
-     *                 title: String (Optional)
-     *                 description: String (Optional)
-     *                 href: String (Optional, Required on create)
-     *                 type: String (Optional)
-     *                 roles (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                  (Optional): {
-     *                     String: Object (Required)
-     *                 }
-     *             }
-     *         }
-     *         collection: String (Required)
-     *     }
+     *     String (Required)
      * ]
      * }
      * 
* - * @param searchId Search Id (pgSTAC Search Hash). - * @param longitude Longitude. - * @param latitude Latitude. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2031,225 +2447,365 @@ public Mono> getLegendWithResponse(String colorMapName, Req */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsAssetsForPointWithResponse(String searchId, double longitude, - double latitude, RequestOptions requestOptions) { - return this.serviceClient.getMosaicsAssetsForPointWithResponseAsync(searchId, longitude, latitude, - requestOptions); + public Mono> getItemAvailableAssetsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemAvailableAssetsWithResponseAsync(collectionId, itemId, requestOptions); } /** - * Assets For Tile Tilematrixsetid As Path + * Item Asset Statistics * - * Return a list of assets which overlap a given tile. + * Per asset statistics for a STAC item. *

Query Parameters

* * * - * - * - * - * - * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the - * previous items (defaults - * to True in PgSTAC).
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to + * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<Integer>NoList of pixel categorical values for which to report + * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the + * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given + * range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
asset_expressionList<String>NoPer asset band expression. In the form of + * "," separated string.
heightIntegerNoForce output image height.
widthIntegerNoForce output image width.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * [
-     *      (Required){
-     *         id: String (Required)
-     *         collection: String (Optional)
-     *         bbox (Required): [
-     *             double (Required)
-     *         ]
-     *         assets (Required): {
-     *             String (Required): {
-     *                 platform: String (Optional)
-     *                 instruments (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                 constellation: String (Optional)
-     *                 mission: String (Optional)
-     *                 providers (Optional): [
-     *                      (Optional){
-     *                         name: String (Optional, Required on create)
-     *                         description: String (Optional)
-     *                         roles (Optional): [
-     *                             String (Optional)
+     * {
+     *      (Optional): {
+     *         String (Required): {
+     *              (Optional): {
+     *                 String (Required): {
+     *                     min: double (Required)
+     *                     max: double (Required)
+     *                     mean: double (Required)
+     *                     count: double (Required)
+     *                     sum: double (Required)
+     *                     std: double (Required)
+     *                     median: double (Required)
+     *                     majority: double (Required)
+     *                     minority: double (Required)
+     *                     unique: double (Required)
+     *                     histogram (Required): [
+     *                          (Required)[
+     *                             double (Required)
      *                         ]
-     *                         url: String (Optional)
-     *                     }
-     *                 ]
-     *                 gsd: Double (Optional)
-     *                 created: OffsetDateTime (Optional)
-     *                 updated: OffsetDateTime (Optional)
-     *                 title: String (Optional)
-     *                 description: String (Optional)
-     *                 href: String (Optional, Required on create)
-     *                 type: String (Optional)
-     *                 roles (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                  (Optional): {
-     *                     String: Object (Required)
+     *                     ]
+     *                     valid_percent: double (Required)
+     *                     masked_pixels: double (Required)
+     *                     valid_pixels: double (Required)
+     *                     percentile_2: double (Required)
+     *                     percentile_98: double (Required)
      *                 }
      *             }
      *         }
      *     }
-     * ]
+     * }
      * }
      * 
* - * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param collectionId STAC Collection Identifier. - * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and - * representing the scaleDenominator the tile. - * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixHeight-1 for the selected TileMatrix. - * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixWidth-1 for the selected TileMatrix. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return return dataset's statistics along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsAssetsForTileWithResponse(String searchId, String tileMatrixSetId, - String collectionId, double z, double x, double y, RequestOptions requestOptions) { - return this.serviceClient.getMosaicsAssetsForTileWithResponseAsync(searchId, tileMatrixSetId, collectionId, z, - x, y, requestOptions); + public Mono> getItemAssetStatisticsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemAssetStatisticsWithResponseAsync(collectionId, itemId, requestOptions); } /** - * Info Search + * Item Statistics * - * Get Search query metadata. + * Merged assets statistics for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to + * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<Integer>NoList of pixel categorical values for which to report + * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the + * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given + * range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoAlgorithm name.
algorithm_paramsStringNoAlgorithm parameter.
heightIntegerNoForce output image height.
widthIntegerNoForce output image width.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
      * {
-     *     search (Required): {
-     *         hash: String (Required)
-     *         search (Required): {
-     *             String: Object (Required)
-     *         }
-     *         _where: String (Required)
-     *         orderby: String (Required)
-     *         lastused: OffsetDateTime (Required)
-     *         usecount: int (Required)
-     *         metadata (Required): {
-     *             type: String(mosaic/search) (Optional)
-     *             bounds: String (Optional)
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             name: String (Optional)
-     *             assets (Optional): [
-     *                 String (Optional)
+     *      (Optional): {
+     *         String (Required): {
+     *             min: double (Required)
+     *             max: double (Required)
+     *             mean: double (Required)
+     *             count: double (Required)
+     *             sum: double (Required)
+     *             std: double (Required)
+     *             median: double (Required)
+     *             majority: double (Required)
+     *             minority: double (Required)
+     *             unique: double (Required)
+     *             histogram (Required): [
+     *                  (Required)[
+     *                     double (Required)
+     *                 ]
      *             ]
-     *             defaults (Optional): {
-     *                 String: String (Required)
-     *             }
+     *             valid_percent: double (Required)
+     *             masked_pixels: double (Required)
+     *             valid_pixels: double (Required)
+     *             percentile_2: double (Required)
+     *             percentile_98: double (Required)
      *         }
      *     }
-     *     links (Optional): [
-     *          (Optional){
-     *             rel: String (Optional)
-     *             title: String (Optional)
-     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
-     *             href: String (Optional, Required on create)
-     *             hreflang: String (Optional)
-     *             length: Integer (Optional)
-     *             method: String(GET/POST) (Optional)
-     *             headers (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             body (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *             merge: Boolean (Optional)
-     *         }
-     *     ]
      * }
      * }
      * 
* - * @param searchId Search Id (pgSTAC Search Hash). + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return information about a registered STAC search query along with {@link Response} on successful completion of - * {@link Mono}. + * @return return dataset's statistics along with {@link Response} on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsSearchInfoWithResponse(String searchId, RequestOptions requestOptions) { - return this.serviceClient.getMosaicsSearchInfoWithResponseAsync(searchId, requestOptions); + public Mono> getItemStatisticsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemStatisticsWithResponseAsync(collectionId, itemId, requestOptions); } /** - * Register Search - * - * Register a Search query. - *

Request Body Schema

+ * Item Geojson Statistics * - *
-     * {@code
-     * {
-     *     collections (Optional): [
-     *         String (Optional)
-     *     ]
-     *     ids (Optional): [
-     *         String (Optional)
-     *     ]
-     *     bbox (Optional): [
-     *         double (Optional)
-     *     ]
-     *     intersects (Optional): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     query (Optional): {
-     *         String: Object (Required)
-     *     }
-     *     filter (Optional): {
-     *         String: Object (Required)
-     *     }
-     *     datetime: String (Optional)
-     *     sortby (Optional): [
-     *          (Optional){
-     *             field: String (Required)
-     *             direction: String(asc/desc) (Required)
-     *         }
-     *     ]
-     *     filter-lang: String(cql-json/cql2-json/cql2-text) (Optional)
-     *     metadata (Optional): {
-     *         type: String(mosaic/search) (Optional)
-     *         bounds: String (Optional)
-     *         minzoom: Integer (Optional)
-     *         maxzoom: Integer (Optional)
-     *         name: String (Optional)
-     *         assets (Optional): [
-     *             String (Optional)
+     * Get statistics from a GeoJSON feature for a STAC item.
+     * 

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to + * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<Integer>NoList of pixel categorical values for which to report + * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the + * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given + * range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoAlgorithm name.
algorithm_paramsStringNoAlgorithm parameter.
heightIntegerNoForce output image height.
widthIntegerNoForce output image width.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
      *         ]
-     *         defaults (Optional): {
-     *             String: String (Required)
-     *         }
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -2260,93 +2816,110 @@ public Mono> getMosaicsSearchInfoWithResponse(String search
      * 
      * {@code
      * {
-     *     searchid: String (Required)
-     *     links (Optional): [
-     *          (Optional){
-     *             rel: String (Optional)
-     *             title: String (Optional)
-     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
-     *             href: String (Optional, Required on create)
-     *             hreflang: String (Optional)
-     *             length: Integer (Optional)
-     *             method: String(GET/POST) (Optional)
-     *             headers (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             body (Optional): {
-     *                 String: Object (Required)
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         statistics (Required): {
+     *             String (Required): {
+     *                 min: double (Required)
+     *                 max: double (Required)
+     *                 mean: double (Required)
+     *                 count: double (Required)
+     *                 sum: double (Required)
+     *                 std: double (Required)
+     *                 median: double (Required)
+     *                 majority: double (Required)
+     *                 minority: double (Required)
+     *                 unique: double (Required)
+     *                 histogram (Required): [
+     *                      (Required)[
+     *                         double (Required)
+     *                     ]
+     *                 ]
+     *                 valid_percent: double (Required)
+     *                 masked_pixels: double (Required)
+     *                 valid_pixels: double (Required)
+     *                 percentile_2: double (Required)
+     *                 percentile_98: double (Required)
      *             }
-     *             merge: Boolean (Optional)
      *         }
-     *     ]
+     *          (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
      * }
      * }
      * 
* - * @param registerMosaicsSearchRequest The registerMosaicsSearchRequest parameter. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from a successful mosaic registration with search ID and related links along with - * {@link Response} on successful completion of {@link Mono}. + * @return sTAC Item representing a spatiotemporal asset with statistical information along with {@link Response} on + * successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> registerMosaicsSearchWithResponse(BinaryData registerMosaicsSearchRequest, - RequestOptions requestOptions) { - return this.serviceClient.registerMosaicsSearchWithResponseAsync(registerMosaicsSearchRequest, requestOptions); + public Mono> getItemFeatureStatisticsWithResponse(String collectionId, String itemId, + BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.getItemFeatureStatisticsWithResponseAsync(collectionId, itemId, body, requestOptions); } /** - * TileJson Tilematrixsetid As Path + * Item TileJson * - * Return TileJSON document for a searchId. + * Return TileJSON document for a STAC item. *

Query Parameters

* * * + * * * - * + * * - * + * * - * - * - * - * - * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * - * + * * * - * + * + * * - * * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the - * previous items (defaults - * to True in PgSTAC).
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image * needs a mask (png) or * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 * produce larger tiles (e.g., 1=256x256, 2=512x512).
bufferStringNoBuffer on each side of the given tile. It must be a multiple of + *
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of * `0.5`. Output * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", - * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -2374,9 +2947,39 @@ public Mono> registerMosaicsSearchWithResponse(BinaryData r * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2413,8 +3016,8 @@ public Mono> registerMosaicsSearchWithResponse(BinaryData r * } *
* - * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2427,52 +3030,52 @@ public Mono> registerMosaicsSearchWithResponse(BinaryData r */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsTileJsonWithResponse(String searchId, String tileMatrixSetId, + public Mono> getItemTileJsonWithResponse(String collectionId, String itemId, RequestOptions requestOptions) { - return this.serviceClient.getMosaicsTileJsonWithResponseAsync(searchId, tileMatrixSetId, requestOptions); + return this.serviceClient.getItemTileJsonWithResponseAsync(collectionId, itemId, requestOptions); } /** - * Tile Tilematrixsetid As Path + * Item TileJson Tilematrixsetid As Path * - * Create map tile. + * Return TileJSON document for a STAC item with TileMatrixSetId as path. *

Query Parameters

* * * + * * * - * + * * - * + * * - * - * - * - * - * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * + * + * + * + * * - * * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the - * previous items (defaults - * to True in PgSTAC).
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
bufferStringNoBuffer on each side of the given tile. It must be a multiple of + *
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of * `0.5`. Output * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", - * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -2500,70 +3103,134 @@ public Mono> getMosaicsTileJsonWithResponse(String searchId * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * BinaryData
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
      * }
      * 
* - * @param searchId Search Id (pgSTAC Search Hash). + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and - * representing the scaleDenominator the tile. - * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixHeight-1 for the selected TileMatrix. - * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixWidth-1 for the selected TileMatrix. - * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful + * completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsTileWithResponse(String searchId, String tileMatrixSetId, double z, - double x, double y, double scale, String format, RequestOptions requestOptions) { - return this.serviceClient.getMosaicsTileWithResponseAsync(searchId, tileMatrixSetId, z, x, y, scale, format, + public Mono> getItemTileJsonByTmsWithResponse(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + return this.serviceClient.getItemTileJsonByTmsWithResponseAsync(collectionId, itemId, tileMatrixSetId, requestOptions); } /** - * Wmts Tilematrixsetid As Path + * Item Wmts * - * OGC WMTS endpoint. + * OGC WMTS endpoint for a STAC item. *

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * * * * * - * @@ -2598,9 +3265,39 @@ public Mono> getMosaicsTileWithResponse(String searchId, St * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r". + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of + *
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of * `0.5`. Output * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, * 1.0 = 258x258).
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2611,8 +3308,8 @@ public Mono> getMosaicsTileWithResponse(String searchId, St * } *
* - * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2622,27 +3319,7067 @@ public Mono> getMosaicsTileWithResponse(String searchId, St */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsWmtsCapabilitiesWithResponse(String searchId, String tileMatrixSetId, + public Mono> getItemWmtsCapabilitiesWithResponse(String collectionId, String itemId, RequestOptions requestOptions) { - return this.serviceClient.getMosaicsWmtsCapabilitiesWithResponseAsync(searchId, tileMatrixSetId, - requestOptions); + return this.serviceClient.getItemWmtsCapabilitiesWithResponseAsync(collectionId, itemId, requestOptions); } /** - * Matrix Definition - * - * Return Matrix Definition. - * - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return https://github.com/opengeospatial/2D-Tile-Matrix-Set/blob/master/schemas/tms/2.0/json/tileMatrixSet.json + * Item Wmts Tilematrixsetid As Path * - * A definition of a tile matrix set following the Tile Matrix Set standard. + * OGC WMTS endpoint for a STAC item with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemWmtsCapabilitiesByTmsWithResponse(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + return this.serviceClient.getItemWmtsCapabilitiesByTmsWithResponseAsync(collectionId, itemId, tileMatrixSetId, + requestOptions); + } + + /** + * Item Point + * + * Get point value for a STAC item dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response model for point query operations providing values at a specific location along with + * {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemPointWithResponse(String collectionId, String itemId, double longitude, + double latitude, RequestOptions requestOptions) { + return this.serviceClient.getItemPointWithResponseAsync(collectionId, itemId, longitude, latitude, + requestOptions); + } + + /** + * Item Preview + * + * Create preview of a STAC item dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemPreviewWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemPreviewWithResponseAsync(collectionId, itemId, requestOptions); + } + + /** + * Item Preview With Format + * + * Create preview of a STAC item dataset with format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemPreviewWithFormatWithResponse(String collectionId, String itemId, + String format, RequestOptions requestOptions) { + return this.serviceClient.getItemPreviewWithFormatWithResponseAsync(collectionId, itemId, format, + requestOptions); + } + + /** + * Item Bbox + * + * Create an image from part of a STAC item dataset (bounding box crop). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemBboxCropWithResponse(String collectionId, String itemId, double minx, + double miny, double maxx, double maxy, String format, RequestOptions requestOptions) { + return this.serviceClient.getItemBboxCropWithResponseAsync(collectionId, itemId, minx, miny, maxx, maxy, format, + requestOptions); + } + + /** + * Item Bbox With Dimensions + * + * Create an image from part of a STAC item dataset (bounding box crop with dimensions). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemBboxCropWithDimensionsWithResponse(String collectionId, String itemId, + double minx, double miny, double maxx, double maxy, int width, int height, String format, + RequestOptions requestOptions) { + return this.serviceClient.getItemBboxCropWithDimensionsWithResponseAsync(collectionId, itemId, minx, miny, maxx, + maxy, width, height, format, requestOptions); + } + + /** + * Collection Tileset List + * + * Return a list of available tilesets for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
+     *             ]
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 upperRight (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 crs: String (Optional)
+     *             }
+     *             accessConstraints: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response containing a list of available tilesets along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTilesetsWithResponse(String collectionId, + RequestOptions requestOptions) { + return this.serviceClient.getCollectionTilesetsWithResponseAsync(collectionId, requestOptions); + } + + /** + * Collection Tileset Metadata + * + * Return metadata for a specific tileset of a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
+     *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
+     *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response} + * on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTilesetMetadataWithResponse(String collectionId, + String tileMatrixSetId, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTilesetMetadataWithResponseAsync(collectionId, tileMatrixSetId, + requestOptions); + } + + /** + * Collection Tile Tilematrixsetid + * + * Create map tile for a STAC collection (with TileMatrixSetId, scale, and format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileByScaleAndFormatWithResponse(String collectionId, + String tileMatrixSetId, double z, double x, double y, double scale, String format, + RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileByScaleAndFormatWithResponseAsync(collectionId, tileMatrixSetId, z, + x, y, scale, format, requestOptions); + } + + /** + * Collection Tile Tilematrixsetid Plain + * + * Create map tile for a STAC collection (with TileMatrixSetId, without scale or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileWithResponse(String collectionId, String tileMatrixSetId, + double z, double x, double y, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileWithResponseAsync(collectionId, tileMatrixSetId, z, x, y, + requestOptions); + } + + /** + * Collection Tile Tilematrixsetid Format + * + * Create map tile for a STAC collection (with TileMatrixSetId and format, without scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileByFormatWithResponse(String collectionId, String tileMatrixSetId, + double z, double x, double y, String format, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileByFormatWithResponseAsync(collectionId, tileMatrixSetId, z, x, y, + format, requestOptions); + } + + /** + * Collection Tile Tilematrixsetid Scale + * + * Create map tile for a STAC collection (with TileMatrixSetId and scale, without format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileByScaleWithResponse(String collectionId, String tileMatrixSetId, + double z, double x, double y, double scale, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileByScaleWithResponseAsync(collectionId, tileMatrixSetId, z, x, y, + scale, requestOptions); + } + + /** + * Collection Tile + * + * Create map tile for a STAC collection (without TileMatrixSetId, with scale and format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles (default: "1"). + * @param format Output format for the tile or image (e.g., png, jpeg, webp) (default: "png"). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileNoTmsByScaleAndFormatWithResponse(String collectionId, double z, + double x, double y, double scale, String format, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileNoTmsByScaleAndFormatWithResponseAsync(collectionId, z, x, y, scale, + format, requestOptions); + } + + /** + * Collection Tile Plain + * + * Create map tile for a STAC collection (without TileMatrixSetId, scale, or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileNoTmsWithResponse(String collectionId, double z, double x, + double y, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileNoTmsWithResponseAsync(collectionId, z, x, y, requestOptions); + } + + /** + * Collection Tile Format + * + * Create map tile for a STAC collection (with format, without TileMatrixSetId or scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileNoTmsByFormatWithResponse(String collectionId, double z, + double x, double y, String format, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileNoTmsByFormatWithResponseAsync(collectionId, z, x, y, format, + requestOptions); + } + + /** + * Collection Tile Scale + * + * Create map tile for a STAC collection (with scale, without TileMatrixSetId or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileNoTmsByScaleWithResponse(String collectionId, double z, double x, + double y, double scale, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileNoTmsByScaleWithResponseAsync(collectionId, z, x, y, scale, + requestOptions); + } + + /** + * Collection TileJson + * + * Return TileJSON document for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileJsonWithResponse(String collectionId, + RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileJsonWithResponseAsync(collectionId, requestOptions); + } + + /** + * Collection TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC collection with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileJsonByTmsWithResponse(String collectionId, + String tileMatrixSetId, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileJsonByTmsWithResponseAsync(collectionId, tileMatrixSetId, + requestOptions); + } + + /** + * Collection Wmts + * + * OGC WMTS endpoint for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionWmtsCapabilitiesWithResponse(String collectionId, + RequestOptions requestOptions) { + return this.serviceClient.getCollectionWmtsCapabilitiesWithResponseAsync(collectionId, requestOptions); + } + + /** + * Collection Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC collection with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionWmtsCapabilitiesByTmsWithResponse(String collectionId, + String tileMatrixSetId, RequestOptions requestOptions) { + return this.serviceClient.getCollectionWmtsCapabilitiesByTmsWithResponseAsync(collectionId, tileMatrixSetId, + requestOptions); + } + + /** + * Collection Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile for a STAC collection (with TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         collection: String (Optional)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionAssetsForTileWithResponse(String collectionId, + String tileMatrixSetId, double z, double x, double y, RequestOptions requestOptions) { + return this.serviceClient.getCollectionAssetsForTileWithResponseAsync(collectionId, tileMatrixSetId, z, x, y, + requestOptions); + } + + /** + * Collection Assets For Tile + * + * Return a list of assets which overlap a given tile for a STAC collection (without TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionAssetsForTileNoTmsWithResponse(String collectionId, double z, + double x, double y, RequestOptions requestOptions) { + return this.serviceClient.getCollectionAssetsForTileNoTmsWithResponseAsync(collectionId, z, x, y, + requestOptions); + } + + /** + * Collection Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionAssetsForBboxWithResponse(String collectionId, double minx, + double miny, double maxx, double maxy, RequestOptions requestOptions) { + return this.serviceClient.getCollectionAssetsForBboxWithResponseAsync(collectionId, minx, miny, maxx, maxy, + requestOptions); + } + + /** + * Collection Info + * + * Return search query info from a STAC collection identifier. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     search (Required): {
+     *         hash: String (Required)
+     *         search (Required): {
+     *             String: BinaryData (Required)
+     *         }
+     *         lastused: OffsetDateTime (Required)
+     *         usecount: int (Required)
+     *         metadata (Required): {
+     *             type: String(mosaic/search) (Optional)
+     *             bounds: String (Optional)
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             name: String (Optional)
+     *             assets (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             defaults (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return information about a registered STAC search query along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionInfoWithResponse(String collectionId, + RequestOptions requestOptions) { + return this.serviceClient.getCollectionInfoWithResponseAsync(collectionId, requestOptions); + } + + /** + * Collection Bbox + * + * Create an image from part of a STAC collection dataset (bounding box crop). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionBboxCropWithResponse(String collectionId, double minx, double miny, + double maxx, double maxy, String format, RequestOptions requestOptions) { + return this.serviceClient.getCollectionBboxCropWithResponseAsync(collectionId, minx, miny, maxx, maxy, format, + requestOptions); + } + + /** + * Collection Bbox With Dimensions + * + * Create an image from part of a STAC collection dataset (bounding box crop with dimensions). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionBboxCropWithDimensionsWithResponse(String collectionId, double minx, + double miny, double maxx, double maxy, int width, int height, String format, RequestOptions requestOptions) { + return this.serviceClient.getCollectionBboxCropWithDimensionsWithResponseAsync(collectionId, minx, miny, maxx, + maxy, width, height, format, requestOptions); + } + + /** + * Collection Geojson Feature + * + * Create image from a geojson feature (without format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cropCollectionFeatureWithResponse(String collectionId, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.cropCollectionFeatureWithResponseAsync(collectionId, body, requestOptions); + } + + /** + * Collection Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cropCollectionFeatureByFormatWithResponse(String collectionId, String format, + BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.cropCollectionFeatureByFormatWithResponseAsync(collectionId, format, body, + requestOptions); + } + + /** + * Collection Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cropCollectionFeatureWidthByHeightWithResponse(String collectionId, int width, + int height, String format, BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.cropCollectionFeatureWidthByHeightWithResponseAsync(collectionId, width, height, + format, body, requestOptions); + } + + /** + * Collection Point + * + * Get Point value for a collection dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response model for point query operations providing values at a specific location along with + * {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionPointWithResponse(String collectionId, double longitude, + double latitude, RequestOptions requestOptions) { + return this.serviceClient.getCollectionPointWithResponseAsync(collectionId, longitude, latitude, + requestOptions); + } + + /** + * Collection Point Assets + * + * Return a list of assets for a given point in a collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *         collection: String (Required)
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionPointAssetsWithResponse(String collectionId, double longitude, + double latitude, RequestOptions requestOptions) { + return this.serviceClient.getCollectionPointAssetsWithResponseAsync(collectionId, longitude, latitude, + requestOptions); + } + + /** + * Searches Tileset List + * + * Return a list of available tilesets for a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
+     *             ]
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 upperRight (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 crs: String (Optional)
+     *             }
+     *             accessConstraints: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response containing a list of available tilesets along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTilesetsWithResponse(String searchId, RequestOptions requestOptions) { + return this.serviceClient.getSearchTilesetsWithResponseAsync(searchId, requestOptions); + } + + /** + * Searches Tileset Metadata + * + * Return metadata for a specific tileset of a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
+     *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
+     *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response} + * on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTilesetMetadataWithResponse(String searchId, String tileMatrixSetId, + RequestOptions requestOptions) { + return this.serviceClient.getSearchTilesetMetadataWithResponseAsync(searchId, tileMatrixSetId, requestOptions); + } + + /** + * Searches Tile Tilematrixsetid + * + * Create map tile (with TileMatrixSetId, scale, and format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTileByScaleAndFormatWithResponse(String searchId, String tileMatrixSetId, + double z, double x, double y, double scale, String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileByScaleAndFormatWithResponseAsync(searchId, tileMatrixSetId, z, x, y, + scale, format, requestOptions); + } + + /** + * Searches Tile Tilematrixsetid Plain + * + * Create map tile (with TileMatrixSetId, without scale or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTileWithResponse(String searchId, String tileMatrixSetId, double z, + double x, double y, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileWithResponseAsync(searchId, tileMatrixSetId, z, x, y, requestOptions); + } + + /** + * Searches Tile Tilematrixsetid Format + * + * Create map tile (with TileMatrixSetId and format, without scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTileByFormatWithResponse(String searchId, String tileMatrixSetId, + double z, double x, double y, String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileByFormatWithResponseAsync(searchId, tileMatrixSetId, z, x, y, format, + requestOptions); + } + + /** + * Searches Tile Tilematrixsetid Scale + * + * Create map tile (with TileMatrixSetId and scale, without format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTileByScaleWithResponse(String searchId, String tileMatrixSetId, + double z, double x, double y, double scale, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileByScaleWithResponseAsync(searchId, tileMatrixSetId, z, x, y, scale, + requestOptions); + } + + /** + * Searches Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         collection: String (Optional)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchAssetsForTileWithResponse(String searchId, String tileMatrixSetId, + String collectionId, double z, double x, double y, RequestOptions requestOptions) { + return this.serviceClient.getSearchAssetsForTileWithResponseAsync(searchId, tileMatrixSetId, collectionId, z, x, + y, requestOptions); + } + + /** + * Searches TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a search with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTileJsonByTmsWithResponse(String searchId, String tileMatrixSetId, + RequestOptions requestOptions) { + return this.serviceClient.getSearchTileJsonByTmsWithResponseAsync(searchId, tileMatrixSetId, requestOptions); + } + + /** + * Searches Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchWmtsCapabilitiesByTmsWithResponse(String searchId, + String tileMatrixSetId, RequestOptions requestOptions) { + return this.serviceClient.getSearchWmtsCapabilitiesByTmsWithResponseAsync(searchId, tileMatrixSetId, + requestOptions); + } + + /** + * Searches Info + * + * Get Search query metadata. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     search (Required): {
+     *         hash: String (Required)
+     *         search (Required): {
+     *             String: BinaryData (Required)
+     *         }
+     *         lastused: OffsetDateTime (Required)
+     *         usecount: int (Required)
+     *         metadata (Required): {
+     *             type: String(mosaic/search) (Optional)
+     *             bounds: String (Optional)
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             name: String (Optional)
+     *             assets (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             defaults (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return information about a registered STAC search query along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchInfoWithResponse(String searchId, RequestOptions requestOptions) { + return this.serviceClient.getSearchInfoWithResponseAsync(searchId, requestOptions); + } + + /** + * Searches Bbox + * + * Create an image from part of a dataset (bounding box crop). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchBboxCropWithResponse(String searchId, double minx, double miny, + double maxx, double maxy, String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchBboxCropWithResponseAsync(searchId, minx, miny, maxx, maxy, format, + requestOptions); + } + + /** + * Searches Bbox With Dimensions + * + * Create an image from part of a dataset (bounding box crop with dimensions). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchBboxCropWithDimensionsWithResponse(String searchId, double minx, + double miny, double maxx, double maxy, int width, int height, String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchBboxCropWithDimensionsWithResponseAsync(searchId, minx, miny, maxx, maxy, + width, height, format, requestOptions); + } + + /** + * Searches Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchBboxAssetsWithResponse(String searchId, double minx, double miny, + double maxx, double maxy, RequestOptions requestOptions) { + return this.serviceClient.getSearchBboxAssetsWithResponseAsync(searchId, minx, miny, maxx, maxy, + requestOptions); + } + + /** + * Searches Geojson Feature + * + * Create image from a geojson feature (without format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cropSearchFeatureWithResponse(String searchId, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.cropSearchFeatureWithResponseAsync(searchId, body, requestOptions); + } + + /** + * Searches Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cropSearchFeatureByFormatWithResponse(String searchId, String format, + BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.cropSearchFeatureByFormatWithResponseAsync(searchId, format, body, requestOptions); + } + + /** + * Searches Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cropSearchFeatureWidthByHeightWithResponse(String searchId, int width, int height, + String format, BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.cropSearchFeatureWidthByHeightWithResponseAsync(searchId, width, height, format, body, + requestOptions); + } + + /** + * Searches Wmts + * + * OGC WMTS endpoint. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchWmtsCapabilitiesWithResponse(String searchId, + RequestOptions requestOptions) { + return this.serviceClient.getSearchWmtsCapabilitiesWithResponseAsync(searchId, requestOptions); + } + + /** + * Searches TileJson + * + * Return TileJSON document for a search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTileJsonWithResponse(String searchId, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileJsonWithResponseAsync(searchId, requestOptions); + } + + /** + * Searches Tile Plain + * + * Create a map tile for a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTileNoTmsWithResponse(String searchId, double z, double x, double y, + RequestOptions requestOptions) { + return this.serviceClient.getSearchTileNoTmsWithResponseAsync(searchId, z, x, y, requestOptions); + } + + /** + * Searches Tile Format + * + * Create a map tile for a mosaic search with specified format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTileNoTmsByFormatWithResponse(String searchId, double z, double x, + double y, String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileNoTmsByFormatWithResponseAsync(searchId, z, x, y, format, + requestOptions); + } + + /** + * Searches Tile Scale + * + * Create a map tile for a mosaic search with specified scale. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTileNoTmsByScaleWithResponse(String searchId, double z, double x, + double y, double scale, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileNoTmsByScaleWithResponseAsync(searchId, z, x, y, scale, requestOptions); + } + + /** + * Searches Tile + * + * Create a map tile for a mosaic search with specified scale and format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTileNoTmsByScaleAndFormatWithResponse(String searchId, double z, + double x, double y, double scale, String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileNoTmsByScaleAndFormatWithResponseAsync(searchId, z, x, y, scale, format, + requestOptions); + } + + /** + * Searches Assets For Tile + * + * Return a list of assets which overlap a given tile for a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchAssetsForTileNoTmsWithResponse(String searchId, double z, double x, + double y, RequestOptions requestOptions) { + return this.serviceClient.getSearchAssetsForTileNoTmsWithResponseAsync(searchId, z, x, y, requestOptions); + } + + /** + * Searches Point + * + * Get Point value for a search dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response model for point query operations providing values at a specific location along with + * {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchPointWithResponse(String searchId, double longitude, double latitude, + RequestOptions requestOptions) { + return this.serviceClient.getSearchPointWithResponseAsync(searchId, longitude, latitude, requestOptions); + } + + /** + * Searches Point Assets + * + * Return a list of assets for a given point in a search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *         collection: String (Required)
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchPointWithAssetsWithResponse(String searchId, double longitude, + double latitude, RequestOptions requestOptions) { + return this.serviceClient.getSearchPointWithAssetsWithResponseAsync(searchId, longitude, latitude, + requestOptions); + } + + /** + * Matrix Definition + * + * Return Matrix Definition. + * + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return https://github.com/opengeospatial/2D-Tile-Matrix-Set/blob/master/schemas/tms/2.0/json/tileMatrixSet.json + * + * A definition of a tile matrix set following the Tile Matrix Set standard. * For tileset metadata, such a description (in `tileMatrixSet` property) is only * required for offline use, * as an alternative to a link with a @@ -2650,18 +10387,11834 @@ public Mono> getMosaicsWmtsCapabilitiesWithResponse(String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getTileMatrixDefinitions(String tileMatrixSetId) { - // Generated convenience method for getTileMatrixDefinitionsWithResponse + public Mono getTileMatrixDefinitions(String tileMatrixSetId) { + // Generated convenience method for getTileMatrixDefinitionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileMatrixDefinitionsWithResponse(tileMatrixSetId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileMatrixSet.class)); + } + + /** + * Matrix List + * + * Return Matrix List. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTileMatrices() { + // Generated convenience method for getTileMatricesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileMatricesWithResponse(requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STRING)); + } + + /** + * Get ClassMap Legend + * + * Generate values and color swatches mapping for a given classmap. + * + * @param classmapName classmap name. + * @param trimStart Number of items to trim from the start of the cmap. + * @param trimEnd Number of items to trim from the end of the cmap. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return classMap Legend + * + * Generate values and color swatches mapping for a given classmap on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getClassMapLegend(String classmapName, Integer trimStart, Integer trimEnd) { + // Generated convenience method for getClassMapLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (trimStart != null) { + requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); + } + if (trimEnd != null) { + requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); + } + return getClassMapLegendWithResponse(classmapName, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ClassMapLegendResponse.class)); + } + + /** + * Get ClassMap Legend + * + * Generate values and color swatches mapping for a given classmap. + * + * @param classmapName classmap name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return classMap Legend + * + * Generate values and color swatches mapping for a given classmap on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getClassMapLegend(String classmapName) { + // Generated convenience method for getClassMapLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getClassMapLegendWithResponse(classmapName, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(ClassMapLegendResponse.class)); + } + + /** + * Get Interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow. + * + * @param classmapName classmap name. + * @param trimStart Number of items to trim from the start of the cmap. + * @param trimEnd Number of items to trim from the end of the cmap. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>>> getIntervalLegend(String classmapName, Integer trimStart, Integer trimEnd) { + // Generated convenience method for getIntervalLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (trimStart != null) { + requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); + } + if (trimEnd != null) { + requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); + } + return getIntervalLegendWithResponse(classmapName, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_LIST_LIST_LONG)); + } + + /** + * Get Interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow. + * + * @param classmapName classmap name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>>> getIntervalLegend(String classmapName) { + // Generated convenience method for getIntervalLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getIntervalLegendWithResponse(classmapName, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_LIST_LIST_LONG)); + } + + /** + * Get Legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim. + * + * @param colorMapName The name of the registered colormap to generate a legend for. + * @param height The output height of the legend image. + * @param width The output width of the legend image. + * @param trimStart Number of items to trim from the start of the cmap. + * @param trimEnd Number of items to trim from the end of the cmap. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getLegend(String colorMapName, Double height, Double width, Integer trimStart, + Integer trimEnd) { + // Generated convenience method for getLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (trimStart != null) { + requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); + } + if (trimEnd != null) { + requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); + } + return getLegendWithResponse(colorMapName, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Get Legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim. + * + * @param colorMapName The name of the registered colormap to generate a legend for. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getLegend(String colorMapName) { + // Generated convenience method for getLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getLegendWithResponse(colorMapName, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Register Search + * + * Register a Search query. + * + * @param options Options for registerMosaicsSearch API. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a successful mosaic registration with search ID and related links on successful completion + * of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono registerMosaicsSearch(RegisterMosaicsSearchOptions options) { + // Generated convenience method for registerMosaicsSearchWithResponse + RequestOptions requestOptions = new RequestOptions(); + RegisterMosaicsSearchRequest registerMosaicsSearchRequestObj + = new RegisterMosaicsSearchRequest().setCollections(options.getCollections()) + .setIds(options.getIds()) + .setBoundingBox(options.getBoundingBox()) + .setIntersects(options.getIntersects()) + .setQuery(options.getQuery()) + .setFilter(options.getFilter()) + .setDatetime(options.getDatetime()) + .setSortBy(options.getSortBy()) + .setFilterLanguage(options.getFilterLanguage()) + .setMetadata(options.getMetadata()); + BinaryData registerMosaicsSearchRequest = BinaryData.fromObject(registerMosaicsSearchRequestObj); + return registerMosaicsSearchWithResponse(registerMosaicsSearchRequest, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerMosaicSearchRegistrationResponse.class)); + } + + /** + * Tileset List + * + * Return a list of available tilesets for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTilesets(String collectionId, String itemId, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTilesetsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetList.class)); + } + + /** + * Tileset List + * + * Return a list of available tilesets for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTilesets(String collectionId, String itemId) { + // Generated convenience method for getTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTilesetsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetList.class)); + } + + /** + * Tileset Metadata + * + * Return metadata for a specific tileset of a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTilesetMetadata(String collectionId, String itemId, String tileMatrixSetId, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod) { + // Generated convenience method for getTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTilesetMetadataWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetMetadata.class)); + } + + /** + * Tileset Metadata + * + * Return metadata for a specific tileset of a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTilesetMetadata(String collectionId, String itemId, String tileMatrixSetId) { + // Generated convenience method for getTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTilesetMetadataWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetMetadata.class)); + } + + /** + * Tile Tilematrixsetid Plain + * + * Create map tile from a dataset (without scale or format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTile(String collectionId, String itemId, String tileMatrixSetId, double z, double x, + double y, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, TilerImageFormat format, Integer scale, Double buffer, String colorFormula, + Resampling resampling, List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, + Integer padding, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod) { + // Generated convenience method for getTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Tile Tilematrixsetid Plain + * + * Create map tile from a dataset (without scale or format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTile(String collectionId, String itemId, String tileMatrixSetId, double z, double x, + double y) { + // Generated convenience method for getTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Tile Tilematrixsetid Format + * + * Create map tile from a dataset (with format in path, without scale). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileByFormat(String collectionId, String itemId, String tileMatrixSetId, double z, + double x, double y, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, Integer scale, + Double buffer, String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, + String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileByFormatWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Tile Tilematrixsetid Format + * + * Create map tile from a dataset (with format in path, without scale). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileByFormat(String collectionId, String itemId, String tileMatrixSetId, double z, + double x, double y, String format) { + // Generated convenience method for getTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileByFormatWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Tile Tilematrixsetid Scale + * + * Create map tile from a dataset (with scale in path, without format). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileByScale(String collectionId, String itemId, String tileMatrixSetId, double z, + double x, double y, double scale, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, TilerImageFormat format, + Double buffer, String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, + String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getTileByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileByScaleWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Tile Tilematrixsetid Scale + * + * Create map tile from a dataset (with scale in path, without format). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileByScale(String collectionId, String itemId, String tileMatrixSetId, double z, + double x, double y, double scale) { + // Generated convenience method for getTileByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileByScaleWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Tile Tilematrixsetid + * + * Create map tile from a dataset (with TileMatrixSetId, scale, and format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileByScaleAndFormat(String collectionId, String itemId, String tileMatrixSetId, + double z, double x, double y, double scale, String format, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, Double buffer, + String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileByScaleAndFormatWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Tile Tilematrixsetid + * + * Create map tile from a dataset (with TileMatrixSetId, scale, and format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileByScaleAndFormat(String collectionId, String itemId, String tileMatrixSetId, + double z, double x, double y, double scale, String format) { + // Generated convenience method for getTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileByScaleAndFormatWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Tile Plain + * + * Create map tile from a dataset (without TileMatrixSetId, scale or format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileNoTms(String collectionId, String itemId, double z, double x, double y, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, TileMatrixSetId tileMatrixSetId, TilerImageFormat format, Integer scale, Double buffer, + String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileNoTmsWithResponse(collectionId, itemId, z, x, y, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Tile Plain + * + * Create map tile from a dataset (without TileMatrixSetId, scale or format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileNoTms(String collectionId, String itemId, double z, double x, double y) { + // Generated convenience method for getTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileNoTmsWithResponse(collectionId, itemId, z, x, y, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Tile Format + * + * Create map tile from a dataset (with format in path, without TileMatrixSetId or scale). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileNoTmsByFormat(String collectionId, String itemId, double z, double x, double y, + String format, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, TileMatrixSetId tileMatrixSetId, Integer scale, Double buffer, String colorFormula, + Resampling resampling, List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, + Integer padding, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod) { + // Generated convenience method for getTileNoTmsByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileNoTmsByFormatWithResponse(collectionId, itemId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Tile Format + * + * Create map tile from a dataset (with format in path, without TileMatrixSetId or scale). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileNoTmsByFormat(String collectionId, String itemId, double z, double x, double y, + String format) { + // Generated convenience method for getTileNoTmsByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileNoTmsByFormatWithResponse(collectionId, itemId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Tile Scale + * + * Create map tile from a dataset (with scale in path, without TileMatrixSetId or format). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileNoTmsByScale(String collectionId, String itemId, double z, double x, double y, + double scale, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, TileMatrixSetId tileMatrixSetId, TilerImageFormat format, Double buffer, + String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getTileNoTmsByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileNoTmsByScaleWithResponse(collectionId, itemId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Tile Scale + * + * Create map tile from a dataset (with scale in path, without TileMatrixSetId or format). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileNoTmsByScale(String collectionId, String itemId, double z, double x, double y, + double scale) { + // Generated convenience method for getTileNoTmsByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileNoTmsByScaleWithResponse(collectionId, itemId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Tile + * + * Create map tile from a dataset (with scale and format in path, without TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileNoTmsByScaleAndFormat(String collectionId, String itemId, double z, double x, + double y, double scale, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, Double buffer, String colorFormula, Resampling resampling, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod) { + // Generated convenience method for getTileNoTmsByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileNoTmsByScaleAndFormatWithResponse(collectionId, itemId, z, x, y, scale, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Tile + * + * Create map tile from a dataset (with scale and format in path, without TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getTileNoTmsByScaleAndFormat(String collectionId, String itemId, double z, double x, + double y, double scale, String format) { + // Generated convenience method for getTileNoTmsByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileNoTmsByScaleAndFormatWithResponse(collectionId, itemId, z, x, y, scale, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Geojson Feature + * + * Create image from a geojson feature (without format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param format Output image format. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropFeature(String collectionId, String itemId, Feature body, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, + String colorFormula, String coordinateReferenceSystem, Resampling resampling, Integer maxSize, Integer height, + Integer width, List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, + String destinationCrs, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, TilerImageFormat format) { + // Generated convenience method for cropFeatureWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + return cropFeatureWithResponse(collectionId, itemId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Geojson Feature + * + * Create image from a geojson feature (without format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropFeature(String collectionId, String itemId, Feature body) { + // Generated convenience method for cropFeatureWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropFeatureWithResponse(collectionId, itemId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropFeatureByFormat(String collectionId, String itemId, String format, Feature body, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, String colorFormula, String coordinateReferenceSystem, Resampling resampling, + Integer maxSize, Integer height, Integer width, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, String destinationCrs, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for cropFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return cropFeatureByFormatWithResponse(collectionId, itemId, format, BinaryData.fromObject(body), + requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropFeatureByFormat(String collectionId, String itemId, String format, Feature body) { + // Generated convenience method for cropFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropFeatureByFormatWithResponse(collectionId, itemId, format, BinaryData.fromObject(body), + requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropFeatureWidthByHeight(String collectionId, String itemId, int width, int height, + String format, Feature body, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, String colorFormula, + String coordinateReferenceSystem, Resampling resampling, Integer maxSize, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, String destinationCrs, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for cropFeatureWidthByHeightWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return cropFeatureWidthByHeightWithResponse(collectionId, itemId, width, height, format, + BinaryData.fromObject(body), requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropFeatureWidthByHeight(String collectionId, String itemId, int width, int height, + String format, Feature body) { + // Generated convenience method for cropFeatureWidthByHeightWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropFeatureWidthByHeightWithResponse(collectionId, itemId, width, height, format, + BinaryData.fromObject(body), requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Item Bounds + * + * Return the bounds for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return geographic extent of a dataset expressed as a bounding box on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemBounds(String collectionId, String itemId, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemBoundsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemBoundsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(StacItemBounds.class)); + } + + /** + * Item Bounds + * + * Return the bounds for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return geographic extent of a dataset expressed as a bounding box on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemBounds(String collectionId, String itemId) { + // Generated convenience method for getItemBoundsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemBoundsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(StacItemBounds.class)); + } + + /** + * Item Info + * + * Return dataset's basic info for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param assets Asset's names. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's basic info on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemInfo(String collectionId, String itemId, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + List assets) { + // Generated convenience method for getItemInfoWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + return getItemInfoWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerInfoMapResponse.class)); + } + + /** + * Item Info + * + * Return dataset's basic info for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's basic info on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemInfo(String collectionId, String itemId) { + // Generated convenience method for getItemInfoWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemInfoWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerInfoMapResponse.class)); + } + + /** + * Item Info Geojson + * + * Return info as GeoJSON for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param assets Asset's names. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return geoJSON Feature object containing rio-tiler model information on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemInfoGeoJson(String collectionId, String itemId, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + List assets) { + // Generated convenience method for getItemInfoGeoJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + return getItemInfoGeoJsonWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerInfoGeoJsonFeature.class)); + } + + /** + * Item Info Geojson + * + * Return info as GeoJSON for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return geoJSON Feature object containing rio-tiler model information on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemInfoGeoJson(String collectionId, String itemId) { + // Generated convenience method for getItemInfoGeoJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemInfoGeoJsonWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerInfoGeoJsonFeature.class)); + } + + /** + * Item Available Assets + * + * Return a list of supported assets for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemAvailableAssets(String collectionId, String itemId, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemAvailableAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemAvailableAssetsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STRING)); + } + + /** + * Item Available Assets + * + * Return a list of supported assets for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemAvailableAssets(String collectionId, String itemId) { + // Generated convenience method for getItemAvailableAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemAvailableAssetsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STRING)); + } + + /** + * Item Asset Statistics + * + * Per asset statistics for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param resampling Resampling method. + * @param maxSize Maximum dimension in pixels for the source data used to calculate statistics. + * @param categorical Return statistics for categorical dataset. + * @param categoriesPixels List of pixel categorical values for which to report counts. + * @param percentiles List of percentile values (default to [2, 98]). + * @param histogramBins Defines the number of equal-width bins in the given range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param histogramRange Comma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param assetExpression Per asset band expression. + * @param height Force output image height. + * @param width Force output image width. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's statistics on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemAssetStatistics(String collectionId, String itemId, List bidx, + List assets, List assetBandIndices, String noData, Boolean unscale, + WarpKernelResampling reproject, Resampling resampling, Integer maxSize, Boolean categorical, + List categoriesPixels, List percentiles, String histogramBins, String histogramRange, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, List assetExpression, Integer height, Integer width) { + // Generated convenience method for getItemAssetStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (categorical != null) { + requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); + } + if (categoriesPixels != null) { + requestOptions.addQueryParam("c", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(categoriesPixels, CollectionFormat.CSV), false); + } + if (percentiles != null) { + requestOptions.addQueryParam("p", + JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), + false); + } + if (histogramBins != null) { + requestOptions.addQueryParam("histogram_bins", histogramBins, false); + } + if (histogramRange != null) { + requestOptions.addQueryParam("histogram_range", histogramRange, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (assetExpression != null) { + requestOptions.addQueryParam("asset_expression", + assetExpression.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + return getItemAssetStatisticsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AssetStatisticsResponse.class)); + } + + /** + * Item Asset Statistics + * + * Per asset statistics for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's statistics on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemAssetStatistics(String collectionId, String itemId) { + // Generated convenience method for getItemAssetStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemAssetStatisticsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(AssetStatisticsResponse.class)); + } + + /** + * Item Statistics + * + * Merged assets statistics for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param resampling Resampling method. + * @param maxSize Maximum dimension in pixels for the source data used to calculate statistics. + * @param categorical Return statistics for categorical dataset. + * @param categoriesPixels List of pixel categorical values for which to report counts. + * @param percentiles List of percentile values (default to [2, 98]). + * @param histogramBins Defines the number of equal-width bins in the given range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param histogramRange Comma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Algorithm name. + * @param algorithmParams Algorithm parameter. + * @param height Force output image height. + * @param width Force output image width. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's statistics on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemStatistics(String collectionId, String itemId, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, Resampling resampling, Integer maxSize, Boolean categorical, + List categoriesPixels, List percentiles, String histogramBins, String histogramRange, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, String algorithm, String algorithmParams, Integer height, Integer width) { + // Generated convenience method for getItemStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (categorical != null) { + requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); + } + if (categoriesPixels != null) { + requestOptions.addQueryParam("c", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(categoriesPixels, CollectionFormat.CSV), false); + } + if (percentiles != null) { + requestOptions.addQueryParam("p", + JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), + false); + } + if (histogramBins != null) { + requestOptions.addQueryParam("histogram_bins", histogramBins, false); + } + if (histogramRange != null) { + requestOptions.addQueryParam("histogram_range", histogramRange, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm, false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + return getItemStatisticsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerStacItemStatistics.class)); + } + + /** + * Item Statistics + * + * Merged assets statistics for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's statistics on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemStatistics(String collectionId, String itemId) { + // Generated convenience method for getItemStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemStatisticsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerStacItemStatistics.class)); + } + + /** + * Item Geojson Statistics + * + * Get statistics from a GeoJSON feature for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @param maxSize Maximum dimension in pixels for the source data used to calculate statistics. + * @param categorical Return statistics for categorical dataset. + * @param categoriesPixels List of pixel categorical values for which to report counts. + * @param percentiles List of percentile values (default to [2, 98]). + * @param histogramBins Defines the number of equal-width bins in the given range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param histogramRange Comma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param destinationCrs Output Coordinate Reference System. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Algorithm name. + * @param algorithmParams Algorithm parameter. + * @param height Force output image height. + * @param width Force output image width. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return sTAC Item representing a spatiotemporal asset with statistical information on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemFeatureStatistics(String collectionId, String itemId, Feature body, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, String coordinateReferenceSystem, + Resampling resampling, Integer maxSize, Boolean categorical, List categoriesPixels, + List percentiles, String histogramBins, String histogramRange, String destinationCrs, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, String algorithm, String algorithmParams, Integer height, Integer width) { + // Generated convenience method for getItemFeatureStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (categorical != null) { + requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); + } + if (categoriesPixels != null) { + requestOptions.addQueryParam("c", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(categoriesPixels, CollectionFormat.CSV), false); + } + if (percentiles != null) { + requestOptions.addQueryParam("p", + JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), + false); + } + if (histogramBins != null) { + requestOptions.addQueryParam("histogram_bins", histogramBins, false); + } + if (histogramRange != null) { + requestOptions.addQueryParam("histogram_range", histogramRange, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm, false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + return getItemFeatureStatisticsWithResponse(collectionId, itemId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(StacItemStatisticsGeoJson.class)); + } + + /** + * Item Geojson Statistics + * + * Get statistics from a GeoJSON feature for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return sTAC Item representing a spatiotemporal asset with statistical information on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemFeatureStatistics(String collectionId, String itemId, Feature body) { + // Generated convenience method for getItemFeatureStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemFeatureStatisticsWithResponse(collectionId, itemId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(StacItemStatisticsGeoJson.class)); + } + + /** + * Item TileJson + * + * Return TileJSON document for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemTileJson(String collectionId, String itemId, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, + Integer maxZoom, Double buffer, String colorFormula, Resampling resampling, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemTileJsonWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + } + + /** + * Item TileJson + * + * Return TileJSON document for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemTileJson(String collectionId, String itemId) { + // Generated convenience method for getItemTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemTileJsonWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + } + + /** + * Item TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC item with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemTileJsonByTms(String collectionId, String itemId, String tileMatrixSetId, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, Integer maxZoom, + Double buffer, String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, + String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemTileJsonByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemTileJsonByTmsWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + } + + /** + * Item TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC item with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemTileJsonByTms(String collectionId, String itemId, String tileMatrixSetId) { + // Generated convenience method for getItemTileJsonByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemTileJsonByTmsWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + } + + /** + * Item Wmts + * + * OGC WMTS endpoint for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemWmtsCapabilities(String collectionId, String itemId, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, + Integer maxZoom, Double buffer, String colorFormula, Resampling resampling, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemWmtsCapabilitiesWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemWmtsCapabilitiesWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); + } + + /** + * Item Wmts + * + * OGC WMTS endpoint for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemWmtsCapabilities(String collectionId, String itemId) { + // Generated convenience method for getItemWmtsCapabilitiesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemWmtsCapabilitiesWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); + } + + /** + * Item Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC item with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemWmtsCapabilitiesByTms(String collectionId, String itemId, String tileMatrixSetId, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, Integer maxZoom, + Double buffer, String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, + String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemWmtsCapabilitiesByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemWmtsCapabilitiesByTmsWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); + } + + /** + * Item Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC item with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemWmtsCapabilitiesByTms(String collectionId, String itemId, String tileMatrixSetId) { + // Generated convenience method for getItemWmtsCapabilitiesByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemWmtsCapabilitiesByTmsWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); + } + + /** + * Item Point + * + * Get point value for a STAC item dataset. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemPoint(String collectionId, String itemId, double longitude, + double latitude, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + String coordinateReferenceSystem, Resampling resampling) { + // Generated convenience method for getItemPointWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + return getItemPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerCoreModelsResponsesPoint.class)); + } + + /** + * Item Point + * + * Get point value for a STAC item dataset. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemPoint(String collectionId, String itemId, double longitude, + double latitude) { + // Generated convenience method for getItemPointWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerCoreModelsResponsesPoint.class)); + } + + /** + * Item Preview + * + * Create preview of a STAC item dataset. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param dstCrs Output Coordinate Reference System. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemPreview(String collectionId, String itemId, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, TilerImageFormat format, + String colorFormula, String dstCrs, Resampling resampling, Integer maxSize, Integer height, Integer width, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemPreviewWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (dstCrs != null) { + requestOptions.addQueryParam("dst_crs", dstCrs, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemPreviewWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Item Preview + * + * Create preview of a STAC item dataset. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemPreview(String collectionId, String itemId) { + // Generated convenience method for getItemPreviewWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemPreviewWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Item Preview With Format + * + * Create preview of a STAC item dataset with format. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param dstCrs Output Coordinate Reference System. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemPreviewWithFormat(String collectionId, String itemId, String format, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, String colorFormula, String dstCrs, Resampling resampling, Integer maxSize, + Integer height, Integer width, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod) { + // Generated convenience method for getItemPreviewWithFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (dstCrs != null) { + requestOptions.addQueryParam("dst_crs", dstCrs, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemPreviewWithFormatWithResponse(collectionId, itemId, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Item Preview With Format + * + * Create preview of a STAC item dataset with format. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemPreviewWithFormat(String collectionId, String itemId, String format) { + // Generated convenience method for getItemPreviewWithFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemPreviewWithFormatWithResponse(collectionId, itemId, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Item Bbox + * + * Create an image from part of a STAC item dataset (bounding box crop). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemBboxCrop(String collectionId, String itemId, double minx, double miny, double maxx, + double maxy, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, String colorFormula, + String coordinateReferenceSystem, String destinationCrs, Resampling resampling, Integer maxSize, Integer height, + Integer width, List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod) { + // Generated convenience method for getItemBboxCropWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemBboxCropWithResponse(collectionId, itemId, minx, miny, maxx, maxy, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Item Bbox + * + * Create an image from part of a STAC item dataset (bounding box crop). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemBboxCrop(String collectionId, String itemId, double minx, double miny, double maxx, + double maxy, String format) { + // Generated convenience method for getItemBboxCropWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemBboxCropWithResponse(collectionId, itemId, minx, miny, maxx, maxy, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Item Bbox With Dimensions + * + * Create an image from part of a STAC item dataset (bounding box crop with dimensions). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemBboxCropWithDimensions(String collectionId, String itemId, double minx, double miny, + double maxx, double maxy, int width, int height, String format, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, String colorFormula, + String coordinateReferenceSystem, String destinationCrs, Resampling resampling, Integer maxSize, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemBboxCropWithDimensionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemBboxCropWithDimensionsWithResponse(collectionId, itemId, minx, miny, maxx, maxy, width, height, + format, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Item Bbox With Dimensions + * + * Create an image from part of a STAC item dataset (bounding box crop with dimensions). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItemBboxCropWithDimensions(String collectionId, String itemId, double minx, double miny, + double maxx, double maxy, int width, int height, String format) { + // Generated convenience method for getItemBboxCropWithDimensionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemBboxCropWithDimensionsWithResponse(collectionId, itemId, minx, miny, maxx, maxy, width, height, + format, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Collection Tileset List + * + * Return a list of available tilesets for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTilesets(String collectionId, String ids, String bbox, String query, + String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod) { + // Generated convenience method for getCollectionTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getCollectionTilesetsWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetList.class)); + } + + /** + * Collection Tileset List + * + * Return a list of available tilesets for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTilesets(String collectionId) { + // Generated convenience method for getCollectionTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTilesetsWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetList.class)); + } + + /** + * Collection Tileset Metadata + * + * Return metadata for a specific tileset of a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTilesetMetadata(String collectionId, String tileMatrixSetId, String ids, + String bbox, String query, String sortby, String datetime, String subdatasetName, List subdatasetBands, + String crs, List sel, SelMethod selMethod) { + // Generated convenience method for getCollectionTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getCollectionTilesetMetadataWithResponse(collectionId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetMetadata.class)); + } + + /** + * Collection Tileset Metadata + * + * Return metadata for a specific tileset of a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTilesetMetadata(String collectionId, String tileMatrixSetId) { + // Generated convenience method for getCollectionTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTilesetMetadataWithResponse(collectionId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetMetadata.class)); + } + + /** + * Collection Tile Tilematrixsetid + * + * Create map tile for a STAC collection (with TileMatrixSetId, scale, and format in path). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileByScaleAndFormat(String collectionId, String tileMatrixSetId, double z, + double x, double y, double scale, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, Double buffer, String colorFormula, String collection, + Resampling resampling, PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileByScaleAndFormatWithResponse(collectionId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Tilematrixsetid + * + * Create map tile for a STAC collection (with TileMatrixSetId, scale, and format in path). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileByScaleAndFormat(String collectionId, String tileMatrixSetId, double z, + double x, double y, double scale, String format) { + // Generated convenience method for getCollectionTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileByScaleAndFormatWithResponse(collectionId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Tilematrixsetid Plain + * + * Create map tile for a STAC collection (with TileMatrixSetId, without scale or format). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTile(String collectionId, String tileMatrixSetId, double z, double x, double y, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, String query, + String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + TilerImageFormat format, Integer scale, Double buffer, String colorFormula, String collection, + Resampling resampling, PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileWithResponse(collectionId, tileMatrixSetId, z, x, y, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Tilematrixsetid Plain + * + * Create map tile for a STAC collection (with TileMatrixSetId, without scale or format). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTile(String collectionId, String tileMatrixSetId, double z, double x, + double y) { + // Generated convenience method for getCollectionTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileWithResponse(collectionId, tileMatrixSetId, z, x, y, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Tilematrixsetid Format + * + * Create map tile for a STAC collection (with TileMatrixSetId and format, without scale). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileByFormat(String collectionId, String tileMatrixSetId, double z, double x, + double y, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, Integer scale, Double buffer, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileByFormatWithResponse(collectionId, tileMatrixSetId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Tilematrixsetid Format + * + * Create map tile for a STAC collection (with TileMatrixSetId and format, without scale). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileByFormat(String collectionId, String tileMatrixSetId, double z, double x, + double y, String format) { + // Generated convenience method for getCollectionTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileByFormatWithResponse(collectionId, tileMatrixSetId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Tilematrixsetid Scale + * + * Create map tile for a STAC collection (with TileMatrixSetId and scale, without format). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileByScale(String collectionId, String tileMatrixSetId, double z, double x, + double y, double scale, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TilerImageFormat format, Double buffer, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileByScaleWithResponse(collectionId, tileMatrixSetId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Tilematrixsetid Scale + * + * Create map tile for a STAC collection (with TileMatrixSetId and scale, without format). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileByScale(String collectionId, String tileMatrixSetId, double z, double x, + double y, double scale) { + // Generated convenience method for getCollectionTileByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileByScaleWithResponse(collectionId, tileMatrixSetId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile + * + * Create map tile for a STAC collection (without TileMatrixSetId, with scale and format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles (default: "1"). + * @param format Output format for the tile or image (e.g., png, jpeg, webp) (default: "png"). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileNoTmsByScaleAndFormat(String collectionId, double z, double x, double y, + double scale, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TileMatrixSetId tileMatrixSetId, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileNoTmsByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileNoTmsByScaleAndFormatWithResponse(collectionId, z, x, y, scale, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile + * + * Create map tile for a STAC collection (without TileMatrixSetId, with scale and format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles (default: "1"). + * @param format Output format for the tile or image (e.g., png, jpeg, webp) (default: "png"). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileNoTmsByScaleAndFormat(String collectionId, double z, double x, double y, + double scale, String format) { + // Generated convenience method for getCollectionTileNoTmsByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileNoTmsByScaleAndFormatWithResponse(collectionId, z, x, y, scale, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Plain + * + * Create map tile for a STAC collection (without TileMatrixSetId, scale, or format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileNoTms(String collectionId, double z, double x, double y, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, String query, + String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, TilerImageFormat format, Integer scale, Double buffer, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileNoTmsWithResponse(collectionId, z, x, y, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Plain + * + * Create map tile for a STAC collection (without TileMatrixSetId, scale, or format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileNoTms(String collectionId, double z, double x, double y) { + // Generated convenience method for getCollectionTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileNoTmsWithResponse(collectionId, z, x, y, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Format + * + * Create map tile for a STAC collection (with format, without TileMatrixSetId or scale). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileNoTmsByFormat(String collectionId, double z, double x, double y, + String format, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, + String query, String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, Integer scale, Double buffer, String colorFormula, String collection, + Resampling resampling, PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileNoTmsByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileNoTmsByFormatWithResponse(collectionId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Format + * + * Create map tile for a STAC collection (with format, without TileMatrixSetId or scale). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileNoTmsByFormat(String collectionId, double z, double x, double y, + String format) { + // Generated convenience method for getCollectionTileNoTmsByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileNoTmsByFormatWithResponse(collectionId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Scale + * + * Create map tile for a STAC collection (with scale, without TileMatrixSetId or format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileNoTmsByScale(String collectionId, double z, double x, double y, + double scale, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, + String query, String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, TilerImageFormat format, Double buffer, String colorFormula, String collection, + Resampling resampling, PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileNoTmsByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileNoTmsByScaleWithResponse(collectionId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Tile Scale + * + * Create map tile for a STAC collection (with scale, without TileMatrixSetId or format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileNoTmsByScale(String collectionId, double z, double x, double y, + double scale) { + // Generated convenience method for getCollectionTileNoTmsByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileNoTmsByScaleWithResponse(collectionId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection TileJson + * + * Return TileJSON document for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileJson(String collectionId, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TileMatrixSetId tileMatrixSetId, + TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, Integer maxZoom, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileJsonWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + } + + /** + * Collection TileJson + * + * Return TileJSON document for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileJson(String collectionId) { + // Generated convenience method for getCollectionTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileJsonWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + } + + /** + * Collection TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC collection with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileJsonByTms(String collectionId, String tileMatrixSetId, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, String query, + String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, Integer maxZoom, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileJsonByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileJsonByTmsWithResponse(collectionId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + } + + /** + * Collection TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC collection with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionTileJsonByTms(String collectionId, String tileMatrixSetId) { + // Generated convenience method for getCollectionTileJsonByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileJsonByTmsWithResponse(collectionId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + } + + /** + * Collection Wmts + * + * OGC WMTS endpoint for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionWmtsCapabilities(String collectionId, String ids, String bbox, String query, + String sortby, String datetime, TileMatrixSetId tileMatrixSetId, TilerImageFormat tileFormat, Integer tileScale, + Integer minZoom, Integer maxZoom, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject) { + // Generated convenience method for getCollectionWmtsCapabilitiesWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + return getCollectionWmtsCapabilitiesWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); + } + + /** + * Collection Wmts + * + * OGC WMTS endpoint for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionWmtsCapabilities(String collectionId) { + // Generated convenience method for getCollectionWmtsCapabilitiesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionWmtsCapabilitiesWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); + } + + /** + * Collection Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC collection with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionWmtsCapabilitiesByTms(String collectionId, String tileMatrixSetId, String ids, + String bbox, String query, String sortby, String datetime, TilerImageFormat tileFormat, Integer tileScale, + Integer minZoom, Integer maxZoom, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject) { + // Generated convenience method for getCollectionWmtsCapabilitiesByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + return getCollectionWmtsCapabilitiesByTmsWithResponse(collectionId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); + } + + /** + * Collection Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC collection with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionWmtsCapabilitiesByTms(String collectionId, String tileMatrixSetId) { + // Generated convenience method for getCollectionWmtsCapabilitiesByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionWmtsCapabilitiesByTmsWithResponse(collectionId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); + } + + /** + * Collection Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile for a STAC collection (with TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionAssetsForTile(String collectionId, String tileMatrixSetId, + double z, double x, double y, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod) { + // Generated convenience method for getCollectionAssetsForTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getCollectionAssetsForTileWithResponse(collectionId, tileMatrixSetId, z, x, y, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON)); + } + + /** + * Collection Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile for a STAC collection (with TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionAssetsForTile(String collectionId, String tileMatrixSetId, + double z, double x, double y) { + // Generated convenience method for getCollectionAssetsForTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionAssetsForTileWithResponse(collectionId, tileMatrixSetId, z, x, y, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON)); + } + + /** + * Collection Assets For Tile + * + * Return a list of assets which overlap a given tile for a STAC collection (without TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionAssetsForTileNoTms(String collectionId, double z, double x, double y, + Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, + String bbox, String query, String sortby, String datetime, String subdatasetName, List subdatasetBands, + String crs, List sel, SelMethod selMethod, TileMatrixSetId tileMatrixSetId) { + // Generated convenience method for getCollectionAssetsForTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + return getCollectionAssetsForTileNoTmsWithResponse(collectionId, z, x, y, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_BINARY_DATA)); + } + + /** + * Collection Assets For Tile + * + * Return a list of assets which overlap a given tile for a STAC collection (without TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionAssetsForTileNoTms(String collectionId, double z, double x, double y) { + // Generated convenience method for getCollectionAssetsForTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionAssetsForTileNoTmsWithResponse(collectionId, z, x, y, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_BINARY_DATA)); + } + + /** + * Collection Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionAssetsForBbox(String collectionId, double minx, double miny, double maxx, + double maxy, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + String coordinateReferenceSystem) { + // Generated convenience method for getCollectionAssetsForBboxWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + return getCollectionAssetsForBboxWithResponse(collectionId, minx, miny, maxx, maxy, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_BINARY_DATA)); + } + + /** + * Collection Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionAssetsForBbox(String collectionId, double minx, double miny, double maxx, + double maxy) { + // Generated convenience method for getCollectionAssetsForBboxWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionAssetsForBboxWithResponse(collectionId, minx, miny, maxx, maxy, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_BINARY_DATA)); + } + + /** + * Collection Info + * + * Return search query info from a STAC collection identifier. + * + * @param collectionId STAC Collection Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return information about a registered STAC search query on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionInfo(String collectionId) { + // Generated convenience method for getCollectionInfoWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionInfoWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerStacSearchRegistration.class)); + } + + /** + * Collection Bbox + * + * Create an image from part of a STAC collection dataset (bounding box crop). + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionBboxCrop(String collectionId, double minx, double miny, double maxx, + double maxy, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, String coordinateReferenceSystem, String destinationCrs, + Integer maxSize, Integer height, Integer width, String colorFormula, String collection, Resampling resampling, + PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask) { + // Generated convenience method for getCollectionBboxCropWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + return getCollectionBboxCropWithResponse(collectionId, minx, miny, maxx, maxy, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Bbox + * + * Create an image from part of a STAC collection dataset (bounding box crop). + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionBboxCrop(String collectionId, double minx, double miny, double maxx, + double maxy, String format) { + // Generated convenience method for getCollectionBboxCropWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionBboxCropWithResponse(collectionId, minx, miny, maxx, maxy, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Bbox With Dimensions + * + * Create an image from part of a STAC collection dataset (bounding box crop with dimensions). + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param maxSize Image output size limit if width and height limits are not set. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionBboxCropWithDimensions(String collectionId, double minx, double miny, + double maxx, double maxy, int width, int height, String format, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, String coordinateReferenceSystem, String destinationCrs, + Integer maxSize, String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask) { + // Generated convenience method for getCollectionBboxCropWithDimensionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + return getCollectionBboxCropWithDimensionsWithResponse(collectionId, minx, miny, maxx, maxy, width, height, + format, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Collection Bbox With Dimensions + * + * Create an image from part of a STAC collection dataset (bounding box crop with dimensions). + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionBboxCropWithDimensions(String collectionId, double minx, double miny, + double maxx, double maxy, int width, int height, String format) { + // Generated convenience method for getCollectionBboxCropWithDimensionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionBboxCropWithDimensionsWithResponse(collectionId, minx, miny, maxx, maxy, width, height, + format, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Collection Geojson Feature + * + * Create image from a geojson feature (without format in path). + * + * @param collectionId STAC Collection Identifier. + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @param format Output image format. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropCollectionFeature(String collectionId, Feature body, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, + Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, String query, String sortby, + String datetime, String subdatasetName, List subdatasetBands, String crs, List sel, + SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, String coordinateReferenceSystem, + Integer maxSize, Integer height, Integer width, String colorFormula, String collection, Resampling resampling, + PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask, String destinationCrs, TilerImageFormat format) { + // Generated convenience method for cropCollectionFeatureWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + return cropCollectionFeatureWithResponse(collectionId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Geojson Feature + * + * Create image from a geojson feature (without format in path). + * + * @param collectionId STAC Collection Identifier. + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropCollectionFeature(String collectionId, Feature body) { + // Generated convenience method for cropCollectionFeatureWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropCollectionFeatureWithResponse(collectionId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Collection Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + * + * @param collectionId STAC Collection Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropCollectionFeatureByFormat(String collectionId, String format, Feature body, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, String query, + String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + String coordinateReferenceSystem, Integer maxSize, Integer height, Integer width, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, String destinationCrs) { + // Generated convenience method for cropCollectionFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + return cropCollectionFeatureByFormatWithResponse(collectionId, format, BinaryData.fromObject(body), + requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Collection Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + * + * @param collectionId STAC Collection Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropCollectionFeatureByFormat(String collectionId, String format, Feature body) { + // Generated convenience method for cropCollectionFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropCollectionFeatureByFormatWithResponse(collectionId, format, BinaryData.fromObject(body), + requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Collection Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + * + * @param collectionId STAC Collection Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropCollectionFeatureWidthByHeight(String collectionId, int width, int height, + String format, Feature body, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, String coordinateReferenceSystem, Integer maxSize, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, String destinationCrs) { + // Generated convenience method for cropCollectionFeatureWidthByHeightWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + return cropCollectionFeatureWidthByHeightWithResponse(collectionId, width, height, format, + BinaryData.fromObject(body), requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Collection Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + * + * @param collectionId STAC Collection Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropCollectionFeatureWidthByHeight(String collectionId, int width, int height, + String format, Feature body) { + // Generated convenience method for cropCollectionFeatureWidthByHeightWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropCollectionFeatureWidthByHeightWithResponse(collectionId, width, height, format, + BinaryData.fromObject(body), requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Collection Point + * + * Get Point value for a collection dataset. + * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionPoint(String collectionId, double longitude, + double latitude, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, String coordinateReferenceSystem, + Resampling resampling) { + // Generated convenience method for getCollectionPointWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + return getCollectionPointWithResponse(collectionId, longitude, latitude, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerCoreModelsResponsesPoint.class)); + } + + /** + * Collection Point + * + * Get Point value for a collection dataset. + * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getCollectionPoint(String collectionId, double longitude, + double latitude) { + // Generated convenience method for getCollectionPointWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionPointWithResponse(collectionId, longitude, latitude, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerCoreModelsResponsesPoint.class)); + } + + /** + * Collection Point Assets + * + * Return a list of assets for a given point in a collection. + * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionPointAssets(String collectionId, double longitude, + double latitude, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + String coordinateReferenceSystem) { + // Generated convenience method for getCollectionPointAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + return getCollectionPointAssetsWithResponse(collectionId, longitude, latitude, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET)); + } + + /** + * Collection Point Assets + * + * Return a list of assets for a given point in a collection. + * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionPointAssets(String collectionId, double longitude, + double latitude) { + // Generated convenience method for getCollectionPointAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionPointAssetsWithResponse(collectionId, longitude, latitude, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET)); + } + + /** + * Searches Tileset List + * + * Return a list of available tilesets for a mosaic search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTilesets(String searchId, String subdatasetName, List subdatasetBands, + String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getSearchTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getSearchTilesetsWithResponse(searchId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetList.class)); + } + + /** + * Searches Tileset List + * + * Return a list of available tilesets for a mosaic search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTilesets(String searchId) { + // Generated convenience method for getSearchTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTilesetsWithResponse(searchId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetList.class)); + } + + /** + * Searches Tileset Metadata + * + * Return metadata for a specific tileset of a mosaic search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTilesetMetadata(String searchId, String tileMatrixSetId, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod) { + // Generated convenience method for getSearchTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getSearchTilesetMetadataWithResponse(searchId, tileMatrixSetId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetMetadata.class)); + } + + /** + * Searches Tileset Metadata + * + * Return metadata for a specific tileset of a mosaic search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTilesetMetadata(String searchId, String tileMatrixSetId) { + // Generated convenience method for getSearchTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTilesetMetadataWithResponse(searchId, tileMatrixSetId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileSetMetadata.class)); + } + + /** + * Searches Tile Tilematrixsetid + * + * Create map tile (with TileMatrixSetId, scale, and format in path). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTileByScaleAndFormat(String searchId, String tileMatrixSetId, double z, double x, + double y, double scale, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileByScaleAndFormatWithResponse(searchId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Searches Tile Tilematrixsetid + * + * Create map tile (with TileMatrixSetId, scale, and format in path). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTileByScaleAndFormat(String searchId, String tileMatrixSetId, double z, double x, + double y, double scale, String format) { + // Generated convenience method for getSearchTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTileByScaleAndFormatWithResponse(searchId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Searches Tile Tilematrixsetid Plain + * + * Create map tile (with TileMatrixSetId, without scale or format). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTile(String searchId, String tileMatrixSetId, double z, double x, double y, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TilerImageFormat format, Integer scale, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileWithResponse(searchId, tileMatrixSetId, z, x, y, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Searches Tile Tilematrixsetid Plain + * + * Create map tile (with TileMatrixSetId, without scale or format). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTile(String searchId, String tileMatrixSetId, double z, double x, double y) { + // Generated convenience method for getSearchTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTileWithResponse(searchId, tileMatrixSetId, z, x, y, requestOptions).flatMap(FluxUtil::toMono); + } + + /** + * Searches Tile Tilematrixsetid Format + * + * Create map tile (with TileMatrixSetId and format, without scale). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTileByFormat(String searchId, String tileMatrixSetId, double z, double x, double y, + String format, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, Integer scale, Double buffer, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileByFormatWithResponse(searchId, tileMatrixSetId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Searches Tile Tilematrixsetid Format + * + * Create map tile (with TileMatrixSetId and format, without scale). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTileByFormat(String searchId, String tileMatrixSetId, double z, double x, double y, + String format) { + // Generated convenience method for getSearchTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTileByFormatWithResponse(searchId, tileMatrixSetId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Searches Tile Tilematrixsetid Scale + * + * Create map tile (with TileMatrixSetId and scale, without format). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTileByScale(String searchId, String tileMatrixSetId, double z, double x, double y, + double scale, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TilerImageFormat format, Double buffer, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileByScaleWithResponse(searchId, tileMatrixSetId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Searches Tile Tilematrixsetid Scale + * + * Create map tile (with TileMatrixSetId and scale, without format). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTileByScale(String searchId, String tileMatrixSetId, double z, double x, double y, + double scale) { + // Generated convenience method for getSearchTileByScaleWithResponse RequestOptions requestOptions = new RequestOptions(); - return getTileMatrixDefinitionsWithResponse(tileMatrixSetId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TileMatrixSet.class)); + return getSearchTileByScaleWithResponse(searchId, tileMatrixSetId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Matrix List + * Searches Assets For Tile Tilematrixsetid As Path * - * Return Matrix List. + * Return a list of assets which overlap a given tile. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. @@ -2671,48 +22224,178 @@ public Mono getTileMatrixDefinitions(String tileMatrixSetId) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listTileMatrices() { - // Generated convenience method for listTileMatricesWithResponse + public Mono> getSearchAssetsForTile(String searchId, String tileMatrixSetId, + String collectionId, double z, double x, double y, Integer scanLimit, Integer itemsLimit, Integer timeLimit, + Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getSearchAssetsForTileWithResponse RequestOptions requestOptions = new RequestOptions(); - return listTileMatricesWithResponse(requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STRING)); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getSearchAssetsForTileWithResponse(searchId, tileMatrixSetId, collectionId, z, x, y, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON)); } /** - * Asset Statistics + * Searches Assets For Tile Tilematrixsetid As Path * - * Per Asset statistics. + * Return a list of assets which overlap a given tile. * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param options Options for asset statistics including asset selection and statistical calculation parameters. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return return dataset's statistics on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchAssetsForTile(String searchId, String tileMatrixSetId, + String collectionId, double z, double x, double y) { + // Generated convenience method for getSearchAssetsForTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchAssetsForTileWithResponse(searchId, tileMatrixSetId, collectionId, z, x, y, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON)); + } + + /** + * Searches TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a search with TileMatrixSetId as path. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getAssetStatistics(String collectionId, String itemId, - GetAssetStatisticsOptions options) { - // Generated convenience method for getAssetStatisticsWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - Boolean categorical = options.isCategorical(); - List categoriesPixels = options.getCategoriesPixels(); - List percentiles = options.getPercentiles(); - String histogramBins = options.getHistogramBins(); - String histogramRange = options.getHistogramRange(); + public Mono getSearchTileJsonByTms(String searchId, String tileMatrixSetId, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, + Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + Integer minZoom, Integer maxZoom, TilerImageFormat tileFormat, Integer tileScale, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileJsonByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -2724,106 +22407,341 @@ public Mono getAssetStatistics(String collectionId, Str requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } if (resampling != null) { requestOptions.addQueryParam("resampling", resampling.toString(), false); } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); } - if (categorical != null) { - requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileJsonByTmsWithResponse(searchId, tileMatrixSetId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + } + + /** + * Searches TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a search with TileMatrixSetId as path. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTileJsonByTms(String searchId, String tileMatrixSetId) { + // Generated convenience method for getSearchTileJsonByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTileJsonByTmsWithResponse(searchId, tileMatrixSetId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + } + + /** + * Searches Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint with TileMatrixSetId as path. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchWmtsCapabilitiesByTms(String searchId, String tileMatrixSetId, + TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, Integer maxZoom, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject) { + // Generated convenience method for getSearchWmtsCapabilitiesByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } } - if (categoriesPixels != null) { - requestOptions.addQueryParam("c", - categoriesPixels.stream() + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() .map(paramItemValue -> Objects.toString(paramItemValue, "")) .collect(Collectors.joining(",")), false); } - if (percentiles != null) { - requestOptions.addQueryParam("p", - JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), - false); + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } - if (histogramBins != null) { - requestOptions.addQueryParam("histogram_bins", histogramBins, false); + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); } - if (histogramRange != null) { - requestOptions.addQueryParam("histogram_range", histogramRange, false); + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - return getAssetStatisticsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(AssetStatisticsResponse.class)); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + return getSearchWmtsCapabilitiesByTmsWithResponse(searchId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); } /** - * Available Assets + * Searches Wmts Tilematrixsetid As Path * - * Return a list of supported assets. + * OGC WMTS endpoint with TileMatrixSetId as path. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. + * @return represent a byte array on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listAvailableAssets(String collectionId, String itemId) { - // Generated convenience method for listAvailableAssetsWithResponse + public Mono getSearchWmtsCapabilitiesByTms(String searchId, String tileMatrixSetId) { + // Generated convenience method for getSearchWmtsCapabilitiesByTmsWithResponse RequestOptions requestOptions = new RequestOptions(); - return listAvailableAssetsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STRING)); + return getSearchWmtsCapabilitiesByTmsWithResponse(searchId, tileMatrixSetId, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); } /** - * Bounds + * Searches Info * - * Return all Bounds. + * Get Search query metadata. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return geographic extent of a dataset expressed as a bounding box on successful completion of {@link Mono}. + * @return information about a registered STAC search query on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getBounds(String collectionId, String itemId) { - // Generated convenience method for getBoundsWithResponse + public Mono getSearchInfo(String searchId) { + // Generated convenience method for getSearchInfoWithResponse RequestOptions requestOptions = new RequestOptions(); - return getBoundsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(StacItemBounds.class)); + return getSearchInfoWithResponse(searchId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerStacSearchRegistration.class)); } /** - * Geojson Crop + * Searches Bbox * - * Create image from a geojson feature. + * Create an image from part of a dataset (bounding box crop). * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for GeoJSON cropping including asset selection, terrain algorithms, and visual rendering. - * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2834,26 +22752,22 @@ public Mono getBounds(String collectionId, String itemId) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono cropGeoJson(String collectionId, String itemId, String format, CropGeoJsonOptions options, - Feature body) { - // Generated convenience method for cropGeoJsonWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String coordinateReferenceSystem = options.getCoordinateReferenceSystem(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); + public Mono getSearchBboxCrop(String searchId, double minx, double miny, double maxx, double maxy, + String format, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, String coordinateReferenceSystem, String destinationCrs, + Integer maxSize, Integer height, Integer width, String colorFormula, String collection, Resampling resampling, + PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask) { + // Generated convenience method for getSearchBboxCropWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -2865,118 +22779,61 @@ public Mono cropGeoJson(String collectionId, String itemId, String f requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); } - if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - if (rescale != null) { - for (String paramItemValue : rescale) { - if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); - } - } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); } - return cropGeoJsonWithResponse(collectionId, itemId, format, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono); - } - - /** - * Geojson Crop - * - * Create image from a geojson feature. - * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param width Width in pixels for the output image. - * @param height Height in pixels for the output image. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for GeoJSON cropping including asset selection, terrain algorithms, and visual rendering. - * @param body Request GeoJson body. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response body on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono cropGeoJsonWithDimensions(String collectionId, String itemId, int width, int height, - String format, CropGeoJsonOptions options, Feature body) { - // Generated convenience method for cropGeoJsonWithDimensionsWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String coordinateReferenceSystem = options.getCoordinateReferenceSystem(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - if (assets != null) { - for (String paramItemValue : assets) { + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); - } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); } if (algorithm != null) { requestOptions.addQueryParam("algorithm", algorithm.toString(), false); @@ -2984,206 +22841,169 @@ public Mono cropGeoJsonWithDimensions(String collectionId, String it if (algorithmParams != null) { requestOptions.addQueryParam("algorithm_params", algorithmParams, false); } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); - } if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); - } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); - } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); - } - if (rescale != null) { - for (String paramItemValue : rescale) { - if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); - } - } - } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); - } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); - } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); - } - return cropGeoJsonWithDimensionsWithResponse(collectionId, itemId, width, height, format, - BinaryData.fromObject(body), requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * Geojson Statistics - * - * Get Statistics from a geojson feature. - * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param options Options for GeoJSON statistics including asset selection and statistical calculation parameters. - * @param body Request GeoJson body. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return sTAC Item representing a spatiotemporal asset with statistical information on successful completion of - * {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getGeoJsonStatistics(String collectionId, String itemId, - GetGeoJsonStatisticsOptions options, Feature body) { - // Generated convenience method for getGeoJsonStatisticsWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - Boolean categorical = options.isCategorical(); - List categoriesPixels = options.getCategoriesPixels(); - List percentiles = options.getPercentiles(); - String histogramBins = options.getHistogramBins(); - String histogramRange = options.getHistogramRange(); - if (assets != null) { - for (String paramItemValue : assets) { - if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); - } - } - } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); - } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); } if (maxSize != null) { requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); } - if (categorical != null) { - requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); - } - if (categoriesPixels != null) { - requestOptions.addQueryParam("c", - categoriesPixels.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); } - if (percentiles != null) { - requestOptions.addQueryParam("p", - JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), - false); + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); } - if (histogramBins != null) { - requestOptions.addQueryParam("histogram_bins", histogramBins, false); + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); } - if (histogramRange != null) { - requestOptions.addQueryParam("histogram_range", histogramRange, false); + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); } - return getGeoJsonStatisticsWithResponse(collectionId, itemId, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(StacItemStatisticsGeoJson.class)); - } - - /** - * Info Geojson - * - * Return Info Geojson. - * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param assets Asset's names. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return geoJSON Feature object containing rio-tiler model information on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getInfoGeoJson(String collectionId, String itemId, List assets) { - // Generated convenience method for getInfoGeoJsonWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (assets != null) { - for (String paramItemValue : assets) { + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); + requestOptions.addQueryParam("rescale", paramItemValue, false); } } } - return getInfoGeoJsonWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TilerInfoGeoJsonFeature.class)); + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + return getSearchBboxCropWithResponse(searchId, minx, miny, maxx, maxy, format, requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Info Geojson + * Searches Bbox * - * Return Info Geojson. + * Create an image from part of a dataset (bounding box crop). * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return geoJSON Feature object containing rio-tiler model information on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getInfoGeoJson(String collectionId, String itemId) { - // Generated convenience method for getInfoGeoJsonWithResponse + public Mono getSearchBboxCrop(String searchId, double minx, double miny, double maxx, double maxy, + String format) { + // Generated convenience method for getSearchBboxCropWithResponse RequestOptions requestOptions = new RequestOptions(); - return getInfoGeoJsonWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TilerInfoGeoJsonFeature.class)); + return getSearchBboxCropWithResponse(searchId, minx, miny, maxx, maxy, format, requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Info + * Searches Bbox With Dimensions * - * Return dataset's basic info. + * Create an image from part of a dataset (bounding box crop with dimensions). * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param maxSize Image output size limit if width and height limits are not set. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return return dataset's basic info on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getItemAssetDetails(String collectionId, String itemId, List assets) { - // Generated convenience method for getItemAssetDetailsWithResponse + public Mono getSearchBboxCropWithDimensions(String searchId, double minx, double miny, double maxx, + double maxy, int width, int height, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + String coordinateReferenceSystem, String destinationCrs, Integer maxSize, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask) { + // Generated convenience method for getSearchBboxCropWithDimensionsWithResponse RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3191,47 +23011,181 @@ public Mono getItemAssetDetails(String collectionId, Strin } } } - return getItemAssetDetailsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TilerInfoMapResponse.class)); + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + return getSearchBboxCropWithDimensionsWithResponse(searchId, minx, miny, maxx, maxy, width, height, format, + requestOptions).flatMap(FluxUtil::toMono); } /** - * Info + * Searches Bbox With Dimensions * - * Return dataset's basic info. + * Create an image from part of a dataset (bounding box crop with dimensions). * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return return dataset's basic info on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getItemAssetDetails(String collectionId, String itemId) { - // Generated convenience method for getItemAssetDetailsWithResponse + public Mono getSearchBboxCropWithDimensions(String searchId, double minx, double miny, double maxx, + double maxy, int width, int height, String format) { + // Generated convenience method for getSearchBboxCropWithDimensionsWithResponse RequestOptions requestOptions = new RequestOptions(); - return getItemAssetDetailsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TilerInfoMapResponse.class)); + return getSearchBboxCropWithDimensionsWithResponse(searchId, minx, miny, maxx, maxy, width, height, format, + requestOptions).flatMap(FluxUtil::toMono); } /** - * Part + * Searches Assets For Bbox * - * Create image from part of a dataset. + * Return a list of assets which overlap a given bounding box for a search. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). * @param minx Bounding box min X. * @param miny Bounding box min Y. * @param maxx Bounding box max X. * @param maxy Bounding box max Y. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for part generation including asset selection, terrain algorithms, and visual rendering. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3242,105 +23196,145 @@ public Mono getItemAssetDetails(String collectionId, Strin */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getPart(String collectionId, String itemId, double minx, double miny, double maxx, - double maxy, String format, GetPartOptions options) { - // Generated convenience method for getPartWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String coordinateReferenceSystem = options.getCoordinateReferenceSystem(); - String dstCrs = options.getDstCrs(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - if (assets != null) { - for (String paramItemValue : assets) { - if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); - } - } - } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + public Mono> getSearchBboxAssets(String searchId, double minx, double miny, double maxx, + double maxy, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, String coordinateReferenceSystem) { + // Generated convenience method for getSearchBboxAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } - if (dstCrs != null) { - requestOptions.addQueryParam("dst-crs", dstCrs, false); + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); } - if (rescale != null) { - for (String paramItemValue : rescale) { + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); - } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); } - return getPartWithResponse(collectionId, itemId, minx, miny, maxx, maxy, format, requestOptions) - .flatMap(FluxUtil::toMono); + return getSearchBboxAssetsWithResponse(searchId, minx, miny, maxx, maxy, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_BINARY_DATA)); + } + + /** + * Searches Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchBboxAssets(String searchId, double minx, double miny, double maxx, + double maxy) { + // Generated convenience method for getSearchBboxAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchBboxAssetsWithResponse(searchId, minx, miny, maxx, maxy, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_BINARY_DATA)); } /** - * Part + * Searches Geojson Feature + * + * Create image from a geojson feature (without format in path). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - * Create image from part of a dataset. + * Examples: * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param minx Bounding box min X. - * @param miny Bounding box min Y. - * @param maxx Bounding box max X. - * @param maxy Bounding box max Y. - * @param width Width in pixels for the output image. + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. * @param height Height in pixels for the output image. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for part generation including asset selection, terrain algorithms, and visual rendering. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @param format Output image format. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3351,27 +23345,22 @@ public Mono getPart(String collectionId, String itemId, double minx, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getPartWithDimensions(String collectionId, String itemId, double minx, double miny, - double maxx, double maxy, int width, int height, String format, GetPartOptions options) { - // Generated convenience method for getPartWithDimensionsWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String coordinateReferenceSystem = options.getCoordinateReferenceSystem(); - String dstCrs = options.getDstCrs(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); + public Mono cropSearchFeature(String searchId, Feature body, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + String coordinateReferenceSystem, Integer maxSize, Integer height, Integer width, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, String destinationCrs, + TilerImageFormat format) { + // Generated convenience method for cropSearchFeatureWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3383,37 +23372,91 @@ public Mono getPartWithDimensions(String collectionId, String itemId requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } if (algorithm != null) { requestOptions.addQueryParam("algorithm", algorithm.toString(), false); } if (algorithmParams != null) { requestOptions.addQueryParam("algorithm_params", algorithmParams, false); } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } if (colorFormula != null) { requestOptions.addQueryParam("color_formula", colorFormula, false); } - if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); - } - if (dstCrs != null) { - requestOptions.addQueryParam("dst-crs", dstCrs, false); + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); } if (resampling != null) { requestOptions.addQueryParam("resampling", resampling.toString(), false); } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); } if (rescale != null) { for (String paramItemValue : rescale) { @@ -3431,113 +23474,98 @@ public Mono getPartWithDimensions(String collectionId, String itemId if (returnMask != null) { requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - return getPartWithDimensionsWithResponse(collectionId, itemId, minx, miny, maxx, maxy, width, height, format, - requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * Point - * - * Get Point value for a dataset. - * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param longitude Longitude. - * @param latitude Latitude. - * @param assets Asset's names. - * @param expression Band math expression between assets. - * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, - * 2, and 3 from the asset named "image"). - * @param assetAsBand Asset as Band. - * @param noData Overwrite internal Nodata value. - * @param unscale Apply internal Scale or Offset. - * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. - * @param resampling Resampling method. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response model for point query operations providing values at a specific location on successful - * completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getPoint(String collectionId, String itemId, double longitude, - double latitude, List assets, String expression, String assetBandIndices, Boolean assetAsBand, - Double noData, Boolean unscale, String coordinateReferenceSystem, Resampling resampling) { - // Generated convenience method for getPointWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (assets != null) { - for (String paramItemValue : assets) { - if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); - } - } - } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); - } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); - } - if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); } - return getPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TilerCoreModelsResponsesPoint.class)); + return cropSearchFeatureWithResponse(searchId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Point + * Searches Geojson Feature * - * Get Point value for a dataset. + * Create image from a geojson feature (without format in path). * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param longitude Longitude. - * @param latitude Latitude. + * @param searchId Search Id (pgSTAC Search Hash). + * @param body Request GeoJson body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response model for point query operations providing values at a specific location on successful - * completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getPoint(String collectionId, String itemId, double longitude, - double latitude) { - // Generated convenience method for getPointWithResponse + public Mono cropSearchFeature(String searchId, Feature body) { + // Generated convenience method for cropSearchFeatureWithResponse RequestOptions requestOptions = new RequestOptions(); - return getPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TilerCoreModelsResponsesPoint.class)); + return cropSearchFeatureWithResponse(searchId, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Preview + * Searches Geojson Feature Crop With Format * - * Create preview of a dataset. + * Create image from a geojson feature with format. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param options Options for preview generation including asset selection, terrain algorithms, and visual - * rendering. + * @param searchId Search Id (pgSTAC Search Hash). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3548,27 +23576,21 @@ public Mono getPoint(String collectionId, String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getPreview(String collectionId, String itemId, GetPreviewOptions options) { - // Generated convenience method for getPreviewWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String dstCrs = options.getDstCrs(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - Integer height = options.getHeight(); - Integer width = options.getWidth(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); + public Mono cropSearchFeatureByFormat(String searchId, String format, Feature body, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, + Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + String coordinateReferenceSystem, Integer maxSize, Integer height, Integer width, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, String destinationCrs) { + // Generated convenience method for cropSearchFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3580,31 +23602,70 @@ public Mono getPreview(String collectionId, String itemId, GetPrevie requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } if (algorithm != null) { requestOptions.addQueryParam("algorithm", algorithm.toString(), false); } if (algorithmParams != null) { requestOptions.addQueryParam("algorithm_params", algorithmParams, false); } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); - } - if (dstCrs != null) { - requestOptions.addQueryParam("dst-crs", dstCrs, false); - } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); } if (maxSize != null) { requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); @@ -3615,6 +23676,18 @@ public Mono getPreview(String collectionId, String itemId, GetPrevie if (width != null) { requestOptions.addQueryParam("width", String.valueOf(width), false); } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } if (rescale != null) { for (String paramItemValue : rescale) { if (paramItemValue != null) { @@ -3631,19 +23704,96 @@ public Mono getPreview(String collectionId, String itemId, GetPrevie if (returnMask != null) { requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - return getPreviewWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono); + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + return cropSearchFeatureByFormatWithResponse(searchId, format, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Preview + * Searches Geojson Feature Crop With Format * - * Create preview of a dataset. + * Create image from a geojson feature with format. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono cropSearchFeatureByFormat(String searchId, String format, Feature body) { + // Generated convenience method for cropSearchFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropSearchFeatureByFormatWithResponse(searchId, format, BinaryData.fromObject(body), requestOptions) + .flatMap(FluxUtil::toMono); + } + + /** + * Searches Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for preview generation including asset selection, terrain algorithms, and visual - * rendering. + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3654,28 +23804,21 @@ public Mono getPreview(String collectionId, String itemId, GetPrevie */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getPreviewWithFormat(String collectionId, String itemId, String format, - GetPreviewOptions options) { - // Generated convenience method for getPreviewWithFormatWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String dstCrs = options.getDstCrs(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - Integer height = options.getHeight(); - Integer width = options.getWidth(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); + public Mono cropSearchFeatureWidthByHeight(String searchId, int width, int height, String format, + Feature body, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, String coordinateReferenceSystem, Integer maxSize, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, String destinationCrs) { + // Generated convenience method for cropSearchFeatureWidthByHeightWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3687,40 +23830,85 @@ public Mono getPreviewWithFormat(String collectionId, String itemId, requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } if (algorithm != null) { requestOptions.addQueryParam("algorithm", algorithm.toString(), false); } if (algorithmParams != null) { requestOptions.addQueryParam("algorithm_params", algorithmParams, false); } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } if (colorFormula != null) { requestOptions.addQueryParam("color_formula", colorFormula, false); } - if (dstCrs != null) { - requestOptions.addQueryParam("dst-crs", dstCrs, false); + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); } if (resampling != null) { requestOptions.addQueryParam("resampling", resampling.toString(), false); } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); - } - if (height != null) { - requestOptions.addQueryParam("height", String.valueOf(height), false); - } - if (width != null) { - requestOptions.addQueryParam("width", String.valueOf(width), false); + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); } if (rescale != null) { for (String paramItemValue : rescale) { @@ -3738,94 +23926,99 @@ public Mono getPreviewWithFormat(String collectionId, String itemId, if (returnMask != null) { requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - return getPreviewWithFormatWithResponse(collectionId, itemId, format, requestOptions).flatMap(FluxUtil::toMono); + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + return cropSearchFeatureWidthByHeightWithResponse(searchId, width, height, format, BinaryData.fromObject(body), + requestOptions).flatMap(FluxUtil::toMono); } /** - * Create Static Image + * Searches Geojson Feature Crop With Dimensions * - * Create a new image export. + * Create image from a geojson feature with dimensions. * - * @param collectionId STAC Collection ID. - * @param body Image request body. + * @param searchId Search Id (pgSTAC Search Hash). + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response model for image exports on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createStaticImage(String collectionId, ImageParameters body) { - // Generated convenience method for createStaticImageWithResponse + public Mono cropSearchFeatureWidthByHeight(String searchId, int width, int height, String format, + Feature body) { + // Generated convenience method for cropSearchFeatureWidthByHeightWithResponse RequestOptions requestOptions = new RequestOptions(); - return createStaticImageWithResponse(collectionId, BinaryData.fromObject(body), requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(ImageResponse.class)); + return cropSearchFeatureWidthByHeightWithResponse(searchId, width, height, format, BinaryData.fromObject(body), + requestOptions).flatMap(FluxUtil::toMono); } /** - * Get Static Image + * Searches Wmts * - * Fetch an existing image export by ID. + * OGC WMTS endpoint. * - * @param collectionId STAC Collection ID. - * @param id Image export ID. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return static Image - * - * Fetch an existing image export by ID on successful completion of {@link Mono}. + * @return represent a byte array on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getStaticImage(String collectionId, String id) { - // Generated convenience method for getStaticImageWithResponse + public Mono getSearchWmtsCapabilities(String searchId, TileMatrixSetId tileMatrixSetId, + TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, Integer maxZoom, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject) { + // Generated convenience method for getSearchWmtsCapabilitiesWithResponse RequestOptions requestOptions = new RequestOptions(); - return getStaticImageWithResponse(collectionId, id, requestOptions).flatMap(FluxUtil::toMono); - } - - /** - * Statistics - * - * Merged assets statistics. - * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param options Options for statistics including asset selection and statistical calculation parameters. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return return dataset's statistics on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listStatistics(String collectionId, String itemId, - GetStatisticsOptions options) { - // Generated convenience method for listStatisticsWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - Boolean categorical = options.isCategorical(); - List categoriesPixels = options.getCategoriesPixels(); - List percentiles = options.getPercentiles(); - String histogramBins = options.getHistogramBins(); - String histogramRange = options.getHistogramRange(); + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3837,58 +24030,114 @@ public Mono listStatistics(String collectionId, String requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); - } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); - } - if (categorical != null) { - requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); - } - if (categoriesPixels != null) { - requestOptions.addQueryParam("c", - categoriesPixels.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); - } - if (percentiles != null) { - requestOptions.addQueryParam("p", - JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), - false); - } - if (histogramBins != null) { - requestOptions.addQueryParam("histogram_bins", histogramBins, false); - } - if (histogramRange != null) { - requestOptions.addQueryParam("histogram_range", histogramRange, false); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); } - return listStatisticsWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TilerStacItemStatistics.class)); + return getSearchWmtsCapabilitiesWithResponse(searchId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); } /** - * TileJson Tilematrixsetid As Path + * Searches Wmts * - * Return the TileJson Tilematrixsetid As a path. + * OGC WMTS endpoint. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param options Options for TileJSON generation including asset selection, terrain algorithms, and tile - * formatting. + * @param searchId Search Id (pgSTAC Search Hash). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchWmtsCapabilities(String searchId) { + // Generated convenience method for getSearchWmtsCapabilitiesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchWmtsCapabilitiesWithResponse(searchId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); + } + + /** + * Searches TileJson + * + * Return TileJSON document for a search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collectionId STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colormapName Colormap name. + * @param colormap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3901,29 +24150,21 @@ public Mono listStatistics(String collectionId, String */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getTileJson(String collectionId, String itemId, String tileMatrixSetId, - GetTileJsonOptions options) { - // Generated convenience method for getTileJsonWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - TilerImageFormat tileFormat = options.getTileFormat(); - Integer tileScale = options.getTileScale(); - Integer minZoom = options.getMinZoom(); - Integer maxZoom = options.getMaxZoom(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - Resampling resampling = options.getResampling(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); + public Mono getSearchTileJson(String searchId, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, TileMatrixSetId tileMatrixSetId, TilerImageFormat tileFormat, + Integer tileScale, Integer minZoom, Integer maxZoom, Integer padding, Double buffer, String colorFormula, + String collectionId, Resampling resampling, PixelSelection pixelSelection, TerrainAlgorithm algorithm, + String algorithmParams, List rescale, ColorMapNames colormapName, String colormap, Boolean returnMask) { + // Generated convenience method for getSearchTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3935,22 +24176,64 @@ public Mono getTileJson(String collectionId, String itemId, St requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); } if (tileFormat != null) { requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); @@ -3964,15 +24247,30 @@ public Mono getTileJson(String collectionId, String itemId, St if (maxZoom != null) { requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); } if (colorFormula != null) { requestOptions.addQueryParam("color_formula", colorFormula, false); } + if (collectionId != null) { + requestOptions.addQueryParam("collection", collectionId, false); + } if (resampling != null) { requestOptions.addQueryParam("resampling", resampling.toString(), false); } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } if (rescale != null) { for (String paramItemValue : rescale) { if (paramItemValue != null) { @@ -3980,36 +24278,109 @@ public Mono getTileJson(String collectionId, String itemId, St } } } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + if (colormapName != null) { + requestOptions.addQueryParam("colormap_name", colormapName.toString(), false); } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (colormap != null) { + requestOptions.addQueryParam("colormap", colormap, false); } if (returnMask != null) { requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - return getTileJsonWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions).flatMap(FluxUtil::toMono) + return getSearchTileJsonWithResponse(searchId, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); } /** - * Tile Tilematrixsetid As Path + * Searches TileJson * - * Create map tile from a dataset. + * Return TileJSON document for a search. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param searchId Search Id (pgSTAC Search Hash). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchTileJson(String searchId) { + // Generated convenience method for getSearchTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTileJsonWithResponse(searchId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + } + + /** + * Searches Tile Plain + * + * Create a map tile for a mosaic search. + * + * @param searchId Search Id (pgSTAC Search Hash). * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and * representing the scaleDenominator the tile. * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixHeight-1 for the selected TileMatrix. * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixWidth-1 for the selected TileMatrix. - * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for tile generation including asset selection, terrain algorithms, and visual rendering. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4020,27 +24391,21 @@ public Mono getTileJson(String collectionId, String itemId, St */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getTile(String collectionId, String itemId, String tileMatrixSetId, double z, double x, - double y, double scale, String format, GetTileOptions options) { - // Generated convenience method for getTileWithResponse + public Mono getSearchTileNoTms(String searchId, double z, double x, double y, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, + Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, TilerImageFormat format, Integer scale, Double buffer, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileNoTmsWithResponse RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - Resampling resampling = options.getResampling(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - String subdatasetName = options.getSubdatasetName(); - List subdatasetBands = options.getSubdatasetBands(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -4052,125 +24417,61 @@ public Mono getTile(String collectionId, String itemId, String tileM requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); - } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); - } - if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); - } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } - if (rescale != null) { - for (String paramItemValue : rescale) { - if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); - } - } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } if (subdatasetName != null) { requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } if (subdatasetBands != null) { - requestOptions.addQueryParam("subdataset_bands", - subdatasetBands.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); } - return getTileWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, format, requestOptions) - .flatMap(FluxUtil::toMono); - } - - /** - * Wmts Tilematrixsetid As Path - * - * OGC WMTS endpoint. - * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param options Options for WMTS capabilities including asset selection, terrain algorithms, and tile formatting. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return represent a byte array on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getWmtsCapabilities(String collectionId, String itemId, String tileMatrixSetId, - GetWmtsCapabilitiesOptions options) { - // Generated convenience method for getWmtsCapabilitiesWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - TilerImageFormat tileFormat = options.getTileFormat(); - Integer tileScale = options.getTileScale(); - Integer minZoom = options.getMinZoom(); - Integer maxZoom = options.getMaxZoom(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - Resampling resampling = options.getResampling(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - if (assets != null) { - for (String paramItemValue : assets) { + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); - } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); } if (algorithm != null) { requestOptions.addQueryParam("algorithm", algorithm.toString(), false); @@ -4178,27 +24479,30 @@ public Mono getWmtsCapabilities(String collectionId, String itemId, Stri if (algorithmParams != null) { requestOptions.addQueryParam("algorithm_params", algorithmParams, false); } - if (tileFormat != null) { - requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); - } - if (tileScale != null) { - requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); } - if (minZoom != null) { - requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); } - if (maxZoom != null) { - requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); } if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); } if (colorFormula != null) { requestOptions.addQueryParam("color_formula", colorFormula, false); } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } if (resampling != null) { requestOptions.addQueryParam("resampling", resampling.toString(), false); } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } if (rescale != null) { for (String paramItemValue : rescale) { if (paramItemValue != null) { @@ -4215,317 +24519,342 @@ public Mono getWmtsCapabilities(String collectionId, String itemId, Stri if (returnMask != null) { requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - return getWmtsCapabilitiesWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); - } - - /** - * Get ClassMap Legend - * - * Generate values and color swatches mapping for a given classmap. - * - * @param classmapName classmap name. - * @param trimStart Number of items to trim from the start of the cmap. - * @param trimEnd Number of items to trim from the end of the cmap. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return classMap Legend - * - * Generate values and color swatches mapping for a given classmap on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getClassMapLegend(String classmapName, Integer trimStart, Integer trimEnd) { - // Generated convenience method for getClassMapLegendWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (trimStart != null) { - requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); - } - if (trimEnd != null) { - requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); } - return getClassMapLegendWithResponse(classmapName, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(ClassMapLegendResponse.class)); - } - - /** - * Get ClassMap Legend - * - * Generate values and color swatches mapping for a given classmap. - * - * @param classmapName classmap name. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return classMap Legend - * - * Generate values and color swatches mapping for a given classmap on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getClassMapLegend(String classmapName) { - // Generated convenience method for getClassMapLegendWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getClassMapLegendWithResponse(classmapName, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(ClassMapLegendResponse.class)); + return getSearchTileNoTmsWithResponse(searchId, z, x, y, requestOptions).flatMap(FluxUtil::toMono); } /** - * Get Interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. + * Searches Tile Plain * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow). + * Create a map tile for a mosaic search. * - * @param classmapName classmap name. - * @param trimStart Number of items to trim from the start of the cmap. - * @param trimEnd Number of items to trim from the end of the cmap. + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow) on successful completion - * of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>>> getIntervalLegend(String classmapName, Integer trimStart, Integer trimEnd) { - // Generated convenience method for getIntervalLegendWithResponse + public Mono getSearchTileNoTms(String searchId, double z, double x, double y) { + // Generated convenience method for getSearchTileNoTmsWithResponse RequestOptions requestOptions = new RequestOptions(); - if (trimStart != null) { - requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); - } - if (trimEnd != null) { - requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); - } - return getIntervalLegendWithResponse(classmapName, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_LIST_LIST_LONG)); + return getSearchTileNoTmsWithResponse(searchId, z, x, y, requestOptions).flatMap(FluxUtil::toMono); } /** - * Get Interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow). - * - * @param classmapName classmap name. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. + * Searches Tile Format * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. + * Create a map tile for a mosaic search with specified format. * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow) on successful completion - * of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>>> getIntervalLegend(String classmapName) { - // Generated convenience method for getIntervalLegendWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getIntervalLegendWithResponse(classmapName, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_LIST_LIST_LONG)); - } - - /** - * Get Legend + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - * Generate a legend image for a given colormap. + * Examples: * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim. + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" * - * @param colorMapName The name of the registered colormap to generate a legend for. - * @param height The output height of the legend image. - * @param width The output width of the legend image. - * @param trimStart Number of items to trim from the start of the cmap. - * @param trimEnd Number of items to trim from the end of the cmap. + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return legend - * - * Generate a legend image for a given colormap. - * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getLegend(String colorMapName, Double height, Double width, Integer trimStart, - Integer trimEnd) { - // Generated convenience method for getLegendWithResponse + public Mono getSearchTileNoTmsByFormat(String searchId, double z, double x, double y, String format, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TileMatrixSetId tileMatrixSetId, Integer scale, + Double buffer, String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileNoTmsByFormatWithResponse RequestOptions requestOptions = new RequestOptions(); - if (height != null) { - requestOptions.addQueryParam("height", String.valueOf(height), false); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } } - if (width != null) { - requestOptions.addQueryParam("width", String.valueOf(width), false); + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } } - if (trimStart != null) { - requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); } - if (trimEnd != null) { - requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } - return getLegendWithResponse(colorMapName, requestOptions).flatMap(FluxUtil::toMono); + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileNoTmsByFormatWithResponse(searchId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Get Legend - * - * Generate a legend image for a given colormap. + * Searches Tile Format * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim. + * Create a map tile for a mosaic search with specified format. * - * @param colorMapName The name of the registered colormap to generate a legend for. + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return legend - * - * Generate a legend image for a given colormap. - * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getLegend(String colorMapName) { - // Generated convenience method for getLegendWithResponse + public Mono getSearchTileNoTmsByFormat(String searchId, double z, double x, double y, String format) { + // Generated convenience method for getSearchTileNoTmsByFormatWithResponse RequestOptions requestOptions = new RequestOptions(); - return getLegendWithResponse(colorMapName, requestOptions).flatMap(FluxUtil::toMono); + return getSearchTileNoTmsByFormatWithResponse(searchId, z, x, y, format, requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Assets For Point + * Searches Tile Scale * - * Return a list of assets for a given point. + * Create a map tile for a mosaic search with specified scale. * * @param searchId Search Id (pgSTAC Search Hash). - * @param longitude Longitude. - * @param latitude Latitude. - * @param scanLimit Return as soon as we scan N items (defaults to 10000 in PgSTAC). - * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). - * @param timeLimit Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). - * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True in PgSTAC). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). * @param skipCovered Skip any items that would show up completely under the previous items (defaults - * to True in PgSTAC). - * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4536,42 +24865,151 @@ public Mono getLegend(String colorMapName) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsAssetsForPoint(String searchId, double longitude, double latitude, - Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, - String coordinateReferenceSystem) { - // Generated convenience method for getMosaicsAssetsForPointWithResponse + public Mono getSearchTileNoTmsByScale(String searchId, double z, double x, double y, double scale, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TileMatrixSetId tileMatrixSetId, TilerImageFormat format, + Double buffer, String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileNoTmsByScaleWithResponse RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } if (scanLimit != null) { requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } - if (itemsLimit != null) { - requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } } - if (timeLimit != null) { - requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); } - if (exitWhenFull != null) { - requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); } - if (skipCovered != null) { - requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); } - return getMosaicsAssetsForPointWithResponse(searchId, longitude, latitude, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET)); + return getSearchTileNoTmsByScaleWithResponse(searchId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Assets For Point + * Searches Tile Scale * - * Return a list of assets for a given point. + * Create a map tile for a mosaic search with specified scale. * * @param searchId Search Id (pgSTAC Search Hash). - * @param longitude Longitude. - * @param latitude Latitude. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4582,34 +25020,78 @@ public Mono> getMosaicsAssetsForPoint(String searchId, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsAssetsForPoint(String searchId, double longitude, double latitude) { - // Generated convenience method for getMosaicsAssetsForPointWithResponse + public Mono getSearchTileNoTmsByScale(String searchId, double z, double x, double y, double scale) { + // Generated convenience method for getSearchTileNoTmsByScaleWithResponse RequestOptions requestOptions = new RequestOptions(); - return getMosaicsAssetsForPointWithResponse(searchId, longitude, latitude, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET)); + return getSearchTileNoTmsByScaleWithResponse(searchId, z, x, y, scale, requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Assets For Tile Tilematrixsetid As Path + * Searches Tile * - * Return a list of assets which overlap a given tile. + * Create a map tile for a mosaic search with specified scale and format. * * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param collectionId STAC Collection Identifier. * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and * representing the scaleDenominator the tile. * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixHeight-1 for the selected TileMatrix. * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixWidth-1 for the selected TileMatrix. - * @param scanLimit Return as soon as we scan N items (defaults to 10000 in PgSTAC). - * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). - * @param timeLimit Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). - * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True in PgSTAC). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). * @param skipCovered Skip any items that would show up completely under the previous items (defaults - * to True in PgSTAC). + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4620,11 +25102,51 @@ public Mono> getMosaicsAssetsForPoint(String searchId, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsAssetsForTile(String searchId, String tileMatrixSetId, - String collectionId, double z, double x, double y, Integer scanLimit, Integer itemsLimit, Integer timeLimit, - Boolean exitWhenFull, Boolean skipCovered) { - // Generated convenience method for getMosaicsAssetsForTileWithResponse + public Mono getSearchTileNoTmsByScaleAndFormat(String searchId, double z, double x, double y, + double scale, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, Double buffer, String colorFormula, String collection, Resampling resampling, + PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileNoTmsByScaleAndFormatWithResponse RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } if (scanLimit != null) { requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } @@ -4640,25 +25162,90 @@ public Mono> getMosaicsAssetsForTile(String searchId, St if (skipCovered != null) { requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - return getMosaicsAssetsForTileWithResponse(searchId, tileMatrixSetId, collectionId, z, x, y, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON)); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileNoTmsByScaleAndFormatWithResponse(searchId, z, x, y, scale, format, requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Assets For Tile Tilematrixsetid As Path + * Searches Tile * - * Return a list of assets which overlap a given tile. + * Create a map tile for a mosaic search with specified scale and format. * * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param collectionId STAC Collection Identifier. * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and * representing the scaleDenominator the tile. * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixHeight-1 for the selected TileMatrix. * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4669,147 +25256,69 @@ public Mono> getMosaicsAssetsForTile(String searchId, St */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsAssetsForTile(String searchId, String tileMatrixSetId, - String collectionId, double z, double x, double y) { - // Generated convenience method for getMosaicsAssetsForTileWithResponse + public Mono getSearchTileNoTmsByScaleAndFormat(String searchId, double z, double x, double y, + double scale, String format) { + // Generated convenience method for getSearchTileNoTmsByScaleAndFormatWithResponse RequestOptions requestOptions = new RequestOptions(); - return getMosaicsAssetsForTileWithResponse(searchId, tileMatrixSetId, collectionId, z, x, y, requestOptions) - .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON)); + return getSearchTileNoTmsByScaleAndFormatWithResponse(searchId, z, x, y, scale, format, requestOptions) + .flatMap(FluxUtil::toMono); } /** - * Info Search + * Searches Assets For Tile * - * Get Search query metadata. + * Return a list of assets which overlap a given tile for a mosaic search. * * @param searchId Search Id (pgSTAC Search Hash). - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return information about a registered STAC search query on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getMosaicsSearchInfo(String searchId) { - // Generated convenience method for getMosaicsSearchInfoWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getMosaicsSearchInfoWithResponse(searchId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TilerStacSearchRegistration.class)); - } - - /** - * Register Search + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - * Register a Search query. + * Examples: * - * @param options Options for registerMosaicsSearch API. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from a successful mosaic registration with search ID and related links on successful completion - * of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono registerMosaicsSearch(RegisterMosaicsSearchOptions options) { - // Generated convenience method for registerMosaicsSearchWithResponse - RequestOptions requestOptions = new RequestOptions(); - RegisterMosaicsSearchRequest registerMosaicsSearchRequestObj - = new RegisterMosaicsSearchRequest().setCollections(options.getCollections()) - .setIds(options.getIds()) - .setBoundingBox(options.getBoundingBox()) - .setIntersects(options.getIntersects()) - .setQuery(options.getQuery()) - .setFilter(options.getFilter()) - .setDatetime(options.getDatetime()) - .setSortBy(options.getSortBy()) - .setFilterLanguage(options.getFilterLanguage()) - .setMetadata(options.getMetadata()); - BinaryData registerMosaicsSearchRequest = BinaryData.fromObject(registerMosaicsSearchRequestObj); - return registerMosaicsSearchWithResponse(registerMosaicsSearchRequest, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TilerMosaicSearchRegistrationResponse.class)); - } - - /** - * TileJson Tilematrixsetid As Path + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" * - * Return TileJSON document for a searchId. + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. * - * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param options Options for mosaic TileJSON generation including asset selection, terrain algorithms, and tile - * formatting. + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return tileJSON metadata describing a tile set according to the TileJSON specification - * - * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 on successful completion of {@link Mono}. + * @return the response body on successful completion of {@link Mono}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getMosaicsTileJson(String searchId, String tileMatrixSetId, - GetMosaicTileJsonOptions options) { - // Generated convenience method for getMosaicsTileJsonWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - Integer scanLimit = options.getScanLimit(); - Integer itemsLimit = options.getItemsLimit(); - Integer timeLimit = options.getTimeLimit(); - Boolean exitWhenFull = options.isExitWhenFull(); - Boolean skipCovered = options.isSkipCovered(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - Integer minZoom = options.getMinZoom(); - Integer maxZoom = options.getMaxZoom(); - TilerImageFormat tileFormat = options.getTileFormat(); - Integer tileScale = options.getTileScale(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - String collection = options.getCollection(); - Resampling resampling = options.getResampling(); - PixelSelection pixelSelection = options.getPixelSelection(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - if (assets != null) { - for (String paramItemValue : assets) { - if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); - } - } - } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); - } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); - } + public Mono> getSearchAssetsForTileNoTms(String searchId, double z, double x, double y, + Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, TileMatrixSetId tileMatrixSetId) { + // Generated convenience method for getSearchAssetsForTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); if (scanLimit != null) { requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } @@ -4825,76 +25334,48 @@ public Mono getMosaicsTileJson(String searchId, String tileMat if (skipCovered != null) { requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); - } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); - } - if (minZoom != null) { - requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); - } - if (maxZoom != null) { - requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); - } - if (tileFormat != null) { - requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); - } - if (tileScale != null) { - requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); - } - if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); - } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } - if (collection != null) { - requestOptions.addQueryParam("collection", collection, false); + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); } - if (pixelSelection != null) { - requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); } - if (rescale != null) { - for (String paramItemValue : rescale) { + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); - } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); } - return getMosaicsTileJsonWithResponse(searchId, tileMatrixSetId, requestOptions).flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(TileJsonMetadata.class)); + return getSearchAssetsForTileNoTmsWithResponse(searchId, z, x, y, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_BINARY_DATA)); } /** - * Tile Tilematrixsetid As Path + * Searches Assets For Tile * - * Create map tile. + * Return a list of assets which overlap a given tile for a mosaic search. * * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and * representing the scaleDenominator the tile. * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixHeight-1 for the selected TileMatrix. * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixWidth-1 for the selected TileMatrix. - * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for mosaic tile generation including asset selection, terrain algorithms, and visual - * rendering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4905,54 +25386,77 @@ public Mono getMosaicsTileJson(String searchId, String tileMat */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getMosaicsTile(String searchId, String tileMatrixSetId, double z, double x, double y, - double scale, String format, GetMosaicTileOptions options) { - // Generated convenience method for getMosaicsTileWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - Integer scanLimit = options.getScanLimit(); - Integer itemsLimit = options.getItemsLimit(); - Integer timeLimit = options.getTimeLimit(); - Boolean exitWhenFull = options.isExitWhenFull(); - Boolean skipCovered = options.isSkipCovered(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - String collection = options.getCollection(); - Resampling resampling = options.getResampling(); - PixelSelection pixelSelection = options.getPixelSelection(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - if (assets != null) { - for (String paramItemValue : assets) { - if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); - } - } - } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); - } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); - } + public Mono> getSearchAssetsForTileNoTms(String searchId, double z, double x, double y) { + // Generated convenience method for getSearchAssetsForTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchAssetsForTileNoTmsWithResponse(searchId, z, x, y, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_BINARY_DATA)); + } + + /** + * Searches Point + * + * Get Point value for a search dataset. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchPoint(String searchId, double longitude, double latitude, + Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, + String coordinateReferenceSystem, Resampling resampling) { + // Generated convenience method for getSearchPointWithResponse + RequestOptions requestOptions = new RequestOptions(); if (scanLimit != null) { requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } @@ -4968,89 +25472,34 @@ public Mono getMosaicsTile(String searchId, String tileMatrixSetId, if (skipCovered != null) { requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); - } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); - } - if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); - } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } - if (collection != null) { - requestOptions.addQueryParam("collection", collection, false); + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); } - if (pixelSelection != null) { - requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); } - if (rescale != null) { - for (String paramItemValue : rescale) { + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); - } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } } - return getMosaicsTileWithResponse(searchId, tileMatrixSetId, z, x, y, scale, format, requestOptions) - .flatMap(FluxUtil::toMono); - } - - /** - * Wmts Tilematrixsetid As Path - * - * OGC WMTS endpoint. - * - * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param options Options for mosaic WMTS capabilities including asset selection, terrain algorithms, and tile - * formatting. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return represent a byte array on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getMosaicsWmtsCapabilities(String searchId, String tileMatrixSetId, - GetMosaicWmtsCapabilitiesOptions options) { - // Generated convenience method for getMosaicsWmtsCapabilitiesWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - TilerImageFormat tileFormat = options.getTileFormat(); - Integer tileScale = options.getTileScale(); - Integer minZoom = options.getMinZoom(); - Integer maxZoom = options.getMaxZoom(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - Resampling resampling = options.getResampling(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -5062,63 +25511,181 @@ public Mono getMosaicsWmtsCapabilities(String searchId, String tileMatri requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); } - if (tileFormat != null) { - requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); } - if (tileScale != null) { - requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + return getSearchPointWithResponse(searchId, longitude, latitude, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerCoreModelsResponsesPoint.class)); + } + + /** + * Searches Point + * + * Get Point value for a search dataset. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getSearchPoint(String searchId, double longitude, double latitude) { + // Generated convenience method for getSearchPointWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchPointWithResponse(searchId, longitude, latitude, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TilerCoreModelsResponsesPoint.class)); + } + + /** + * Searches Point Assets + * + * Return a list of assets for a given point in a search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchPointWithAssets(String searchId, double longitude, double latitude, + Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, String coordinateReferenceSystem) { + // Generated convenience method for getSearchPointWithAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } - if (minZoom != null) { - requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); } - if (maxZoom != null) { - requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); } - if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } - if (rescale != null) { - for (String paramItemValue : rescale) { + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); - } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); } - return getMosaicsWmtsCapabilitiesWithResponse(searchId, tileMatrixSetId, requestOptions) + return getSearchPointWithAssetsWithResponse(searchId, longitude, latitude, requestOptions) .flatMap(FluxUtil::toMono) - .map(protocolMethodData -> protocolMethodData.toObject(byte[].class)); + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET)); + } + + /** + * Searches Point Assets + * + * Return a list of assets for a given point in a search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchPointWithAssets(String searchId, double longitude, double latitude) { + // Generated convenience method for getSearchPointWithAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchPointWithAssetsWithResponse(searchId, longitude, latitude, requestOptions) + .flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET)); } @Generated @@ -5131,12 +25698,17 @@ public Mono getMosaicsWmtsCapabilities(String searchId, String tileMatri }; @Generated - private static final TypeReference> TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET - = new TypeReference>() { + private static final TypeReference> TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON + = new TypeReference>() { }; @Generated - private static final TypeReference> TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON - = new TypeReference>() { + private static final TypeReference> TYPE_REFERENCE_LIST_BINARY_DATA + = new TypeReference>() { + }; + + @Generated + private static final TypeReference> TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET + = new TypeReference>() { }; } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/DataClient.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/DataClient.java index 527d6e873add..b3b4645ac5cd 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/DataClient.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/DataClient.java @@ -9,30 +9,20 @@ import com.azure.analytics.planetarycomputer.models.AssetStatisticsResponse; import com.azure.analytics.planetarycomputer.models.ClassMapLegendResponse; import com.azure.analytics.planetarycomputer.models.ColorMapNames; -import com.azure.analytics.planetarycomputer.models.CropGeoJsonOptions; import com.azure.analytics.planetarycomputer.models.Feature; -import com.azure.analytics.planetarycomputer.models.GetAssetStatisticsOptions; -import com.azure.analytics.planetarycomputer.models.GetGeoJsonStatisticsOptions; -import com.azure.analytics.planetarycomputer.models.GetMosaicTileJsonOptions; -import com.azure.analytics.planetarycomputer.models.GetMosaicTileOptions; -import com.azure.analytics.planetarycomputer.models.GetMosaicWmtsCapabilitiesOptions; -import com.azure.analytics.planetarycomputer.models.GetPartOptions; -import com.azure.analytics.planetarycomputer.models.GetPreviewOptions; -import com.azure.analytics.planetarycomputer.models.GetStatisticsOptions; -import com.azure.analytics.planetarycomputer.models.GetTileJsonOptions; -import com.azure.analytics.planetarycomputer.models.GetTileOptions; -import com.azure.analytics.planetarycomputer.models.GetWmtsCapabilitiesOptions; -import com.azure.analytics.planetarycomputer.models.ImageParameters; -import com.azure.analytics.planetarycomputer.models.ImageResponse; import com.azure.analytics.planetarycomputer.models.PixelSelection; import com.azure.analytics.planetarycomputer.models.RegisterMosaicsSearchOptions; import com.azure.analytics.planetarycomputer.models.Resampling; +import com.azure.analytics.planetarycomputer.models.SelMethod; import com.azure.analytics.planetarycomputer.models.StacItemBounds; import com.azure.analytics.planetarycomputer.models.StacItemPointAsset; import com.azure.analytics.planetarycomputer.models.StacItemStatisticsGeoJson; import com.azure.analytics.planetarycomputer.models.TerrainAlgorithm; import com.azure.analytics.planetarycomputer.models.TileJsonMetadata; import com.azure.analytics.planetarycomputer.models.TileMatrixSet; +import com.azure.analytics.planetarycomputer.models.TileMatrixSetId; +import com.azure.analytics.planetarycomputer.models.TileSetList; +import com.azure.analytics.planetarycomputer.models.TileSetMetadata; import com.azure.analytics.planetarycomputer.models.TilerAssetGeoJson; import com.azure.analytics.planetarycomputer.models.TilerCoreModelsResponsesPoint; import com.azure.analytics.planetarycomputer.models.TilerImageFormat; @@ -41,6 +31,7 @@ import com.azure.analytics.planetarycomputer.models.TilerMosaicSearchRegistrationResponse; import com.azure.analytics.planetarycomputer.models.TilerStacItemStatistics; import com.azure.analytics.planetarycomputer.models.TilerStacSearchRegistration; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; @@ -185,53 +176,21 @@ public Response getTileMatrixDefinitionsWithResponse(String tileMatr */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response listTileMatricesWithResponse(RequestOptions requestOptions) { - return this.serviceClient.listTileMatricesWithResponse(requestOptions); + public Response getTileMatricesWithResponse(RequestOptions requestOptions) { + return this.serviceClient.getTileMatricesWithResponse(requestOptions); } /** - * Asset Statistics + * Get ClassMap Legend * - * Per Asset statistics. + * Generate values and color swatches mapping for a given classmap. *

Query Parameters

* * * - * - * - * - * - * - * - * - * - * - * - * - * - * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -240,190 +199,191 @@ public Response listTileMatricesWithResponse(RequestOptions requestO * {@code * { * (Optional): { - * String (Required): { - * (Optional): { - * String (Required): { - * min: double (Required) - * max: double (Required) - * mean: double (Required) - * count: double (Required) - * sum: double (Required) - * std: double (Required) - * median: double (Required) - * majority: double (Required) - * minority: double (Required) - * unique: double (Required) - * histogram (Required): [ - * (Required)[ - * double (Required) - * ] - * ] - * valid_percent: double (Required) - * masked_pixels: double (Required) - * valid_pixels: double (Required) - * percentile_2: double (Required) - * percentile_98: double (Required) - * } - * } - * } + * String: BinaryData (Required) * } * } * } *
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param classmapName classmap name. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's statistics along with {@link Response}. + * @return classMap Legend + * + * Generate values and color swatches mapping for a given classmap along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getAssetStatisticsWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.getAssetStatisticsWithResponse(collectionId, itemId, requestOptions); + public Response getClassMapLegendWithResponse(String classmapName, RequestOptions requestOptions) { + return this.serviceClient.getClassMapLegendWithResponse(classmapName, requestOptions); } /** - * Available Assets + * Get Interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. * - * Return a list of supported assets. + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow. + *

Query Parameters

+ * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
      * [
-     *     String (Required)
+     *      (Required)[
+     *          (Required)[
+     *             long (Required)
+     *         ]
+     *     ]
      * ]
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param classmapName classmap name. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @return interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow along with + * {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response listAvailableAssetsWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.listAvailableAssetsWithResponse(collectionId, itemId, requestOptions); + public Response getIntervalLegendWithResponse(String classmapName, RequestOptions requestOptions) { + return this.serviceClient.getIntervalLegendWithResponse(classmapName, requestOptions); } /** - * Bounds + * Get Legend + * + * Generate a legend image for a given colormap. * - * Return all Bounds. + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
heightDoubleNoThe output height of the legend image
widthDoubleNoThe output width of the legend image
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *     bounds (Required): [
-     *         double (Required)
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param colorMapName The name of the registered colormap to generate a legend for. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return geographic extent of a dataset expressed as a bounding box along with {@link Response}. + * @return legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getBoundsWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.getBoundsWithResponse(collectionId, itemId, requestOptions); + public Response getLegendWithResponse(String colorMapName, RequestOptions requestOptions) { + return this.serviceClient.getLegendWithResponse(colorMapName, requestOptions); } /** - * Geojson Crop + * Register Search * - * Create image from a geojson feature. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: - * https://github.com/mapbox/rio-color)
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set - * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", - * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", - * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", - * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", - * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", - * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", - * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", - * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", - * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", - * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", - * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", - * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", - * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", - * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", - * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", - * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", - * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", - * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", - * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", - * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", - * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", - * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", - * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", - * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", - * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * Register a Search query. *

Request Body Schema

* *
      * {@code
      * {
-     *     geometry (Required): {
+     *     collections (Optional): [
+     *         String (Optional)
+     *     ]
+     *     ids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     bbox (Optional): [
+     *         double (Optional)
+     *     ]
+     *     intersects (Optional): {
      *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
      *         bbox (Optional): [
      *             double (Optional)
      *         ]
      *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         String: Object (Required)
+     *     query (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     *     filter (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     *     datetime: String (Optional)
+     *     sortby (Optional): [
+     *          (Optional){
+     *             field: String (Required)
+     *             direction: String(asc/desc) (Required)
+     *         }
+     *     ]
+     *     filter-lang: String(cql-json/cql2-json/cql2-text) (Optional)
+     *     metadata (Optional): {
+     *         type: String(mosaic/search) (Optional)
+     *         bounds: String (Optional)
+     *         minzoom: Integer (Optional)
+     *         maxzoom: Integer (Optional)
+     *         name: String (Optional)
+     *         assets (Optional): [
+     *             String (Optional)
+     *         ]
+     *         defaults (Optional): {
+     *             String: String (Required)
+     *         }
      *     }
      * }
      * }
@@ -433,55 +393,258 @@ public Response getBoundsWithResponse(String collectionId, String it
      * 
      * 
      * {@code
-     * BinaryData
+     * {
+     *     searchid: String (Required)
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param registerMosaicsSearchRequest The registerMosaicsSearchRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response from a successful mosaic registration with search ID and related links along with + * {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response registerMosaicsSearchWithResponse(BinaryData registerMosaicsSearchRequest, + RequestOptions requestOptions) { + return this.serviceClient.registerMosaicsSearchWithResponse(registerMosaicsSearchRequest, requestOptions); + } + + /** + * Tileset List + * + * Return a list of available tilesets for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
+     *             ]
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 upperRight (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 crs: String (Optional)
+     *             }
+     *             accessConstraints: String (Optional)
+     *         }
+     *     ]
+     * }
      * }
      * 
* * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @return response containing a list of available tilesets along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response cropGeoJsonWithResponse(String collectionId, String itemId, String format, - BinaryData body, RequestOptions requestOptions) { - return this.serviceClient.cropGeoJsonWithResponse(collectionId, itemId, format, body, requestOptions); + public Response getTilesetsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getTilesetsWithResponse(collectionId, itemId, requestOptions); + } + + /** + * Tileset Metadata + * + * Return metadata for a specific tileset of a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
+     *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
+     *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTilesetMetadataWithResponse(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + return this.serviceClient.getTilesetMetadataWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions); } /** - * Geojson Crop + * Tile Tilematrixsetid Plain * - * Create image from a geojson feature. + * Create map tile from a dataset (without scale or format in path). *

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * + * * - * * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * - *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -509,30 +672,41 @@ public Response cropGeoJsonWithResponse(String collectionId, String * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

+ * paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`. + * subdataset_nameStringNoThe name of a subdataset within the asset. + * subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string. + * crsStringNoCoordinate Reference System. + * datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - *
-     * {@code
-     * {
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         String: Object (Required)
-     *     }
-     * }
-     * }
-     * 
+ * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array. + * sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode". + * + * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -543,10 +717,13 @@ public Response cropGeoJsonWithResponse(String collectionId, String
      * 
      * @param collectionId STAC Collection Identifier.
      * @param itemId STAC Item Identifier.
-     * @param width Width in pixels for the output image.
-     * @param height Height in pixels for the output image.
-     * @param format Output format for the tile or image (e.g., png, jpeg, webp).
-     * @param body Request GeoJson body.
+     * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported.
+     * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and
+     * representing the scaleDenominator the tile.
+     * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the
+     * MatrixHeight-1 for the selected TileMatrix.
+     * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the
+     * MatrixWidth-1 for the selected TileMatrix.
      * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
      * @throws HttpResponseException thrown if the request is rejected by server.
      * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
@@ -556,341 +733,178 @@ public Response cropGeoJsonWithResponse(String collectionId, String
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Response cropGeoJsonWithDimensionsWithResponse(String collectionId, String itemId, int width,
-        int height, String format, BinaryData body, RequestOptions requestOptions) {
-        return this.serviceClient.cropGeoJsonWithDimensionsWithResponse(collectionId, itemId, width, height, format,
-            body, requestOptions);
+    public Response getTileWithResponse(String collectionId, String itemId, String tileMatrixSetId,
+        double z, double x, double y, RequestOptions requestOptions) {
+        return this.serviceClient.getTileWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, requestOptions);
     }
 
     /**
-     * Geojson Statistics
+     * Tile Tilematrixsetid Format
      * 
-     * Get Statistics from a geojson feature.
+     * Create map tile from a dataset (with format in path, without scale).
      * 

Query Parameters

* * * + * * * - * + * * - * + * * - * + * + * + * + * + * + * * - * - * - * - * - * + * + * + * + * + * + * + * + * - * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. + *
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * Examples: * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

+ *

Response Body Schema

* *
      * {@code
-     * {
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         String: Object (Required)
-     *     }
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         statistics (Required): {
-     *             String (Required): {
-     *                 min: double (Required)
-     *                 max: double (Required)
-     *                 mean: double (Required)
-     *                 count: double (Required)
-     *                 sum: double (Required)
-     *                 std: double (Required)
-     *                 median: double (Required)
-     *                 majority: double (Required)
-     *                 minority: double (Required)
-     *                 unique: double (Required)
-     *                 histogram (Required): [
-     *                      (Required)[
-     *                         double (Required)
-     *                     ]
-     *                 ]
-     *                 valid_percent: double (Required)
-     *                 masked_pixels: double (Required)
-     *                 valid_pixels: double (Required)
-     *                 percentile_2: double (Required)
-     *                 percentile_98: double (Required)
-     *             }
-     *         }
-     *          (Optional): {
-     *             String: Object (Required)
-     *         }
-     *     }
-     * }
-     * }
-     * 
- * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param body Request GeoJson body. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return sTAC Item representing a spatiotemporal asset with statistical information along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGeoJsonStatisticsWithResponse(String collectionId, String itemId, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.getGeoJsonStatisticsWithResponse(collectionId, itemId, body, requestOptions); - } - - /** - * Info Geojson - * - * Return Info Geojson. - *

Query Parameters

- * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(Feature) (Required)
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     properties (Required): {
-     *         String (Required): {
-     *             bounds (Required): [
-     *                 double (Required)
-     *             ]
-     *             band_metadata (Optional): [
-     *                  (Optional)[
-     *                     BinaryData (Optional)
-     *                 ]
-     *             ]
-     *             band_descriptions (Optional): [
-     *                  (Optional)[
-     *                     String (Optional)
-     *                 ]
-     *             ]
-     *             dtype: String (Required)
-     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
-     *             colorinterp (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             driver: String (Optional)
-     *             count: Integer (Optional)
-     *             width: Integer (Optional)
-     *             height: Integer (Optional)
-     *             overviews (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             scales (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             offsets (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             colormap (Optional): {
-     *                 String (Required): [
-     *                     String (Required)
-     *                 ]
-     *             }
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             crs: String (Optional)
-     *         }
-     *     }
-     *     id: String (Optional)
-     *     bbox (Optional): [
-     *         double (Optional)
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return geoJSON Feature object containing rio-tiler model information along with {@link Response}. + * @return the response body along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getInfoGeoJsonWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.getInfoGeoJsonWithResponse(collectionId, itemId, requestOptions); + public Response getTileByFormatWithResponse(String collectionId, String itemId, String tileMatrixSetId, + double z, double x, double y, String format, RequestOptions requestOptions) { + return this.serviceClient.getTileByFormatWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, format, + requestOptions); } /** - * Info + * Tile Tilematrixsetid Scale * - * Return dataset's basic info. + * Create map tile from a dataset (with scale in path, without format). *

Query Parameters

* * * - * - *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call + *
bidxList<Integer>NoDataset band indexes. Call * {@link RequestOptions#addQueryParam} to add string to array.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *      (Optional): {
-     *         String (Required): {
-     *             bounds (Required): [
-     *                 double (Required)
-     *             ]
-     *             band_metadata (Optional): [
-     *                  (Optional)[
-     *                     BinaryData (Optional)
-     *                 ]
-     *             ]
-     *             band_descriptions (Optional): [
-     *                  (Optional)[
-     *                     String (Optional)
-     *                 ]
-     *             ]
-     *             dtype: String (Required)
-     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
-     *             colorinterp (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             driver: String (Optional)
-     *             count: Integer (Optional)
-     *             width: Integer (Optional)
-     *             height: Integer (Optional)
-     *             overviews (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             scales (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             offsets (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             colormap (Optional): {
-     *                 String (Required): [
-     *                     String (Required)
-     *                 ]
-     *             }
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             crs: String (Optional)
-     *         }
-     *     }
-     * }
-     * }
-     * 
- * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's basic info along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getItemAssetDetailsWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.getItemAssetDetailsWithResponse(collectionId, itemId, requestOptions); - } - - /** - * Part - * - * Create image from part of a dataset. - *

Query Parameters

- * - * - * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * * - * - * * - * - * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -918,9 +932,39 @@ public Response getItemAssetDetailsWithResponse(String collectionId, * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -933,11 +977,14 @@ public Response getItemAssetDetailsWithResponse(String collectionId, * * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param minx Bounding box min X. - * @param miny Bounding box min Y. - * @param maxx Bounding box max X. - * @param maxy Bounding box max Y. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -947,40 +994,46 @@ public Response getItemAssetDetailsWithResponse(String collectionId, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getPartWithResponse(String collectionId, String itemId, double minx, double miny, - double maxx, double maxy, String format, RequestOptions requestOptions) { - return this.serviceClient.getPartWithResponse(collectionId, itemId, minx, miny, maxx, maxy, format, + public Response getTileByScaleWithResponse(String collectionId, String itemId, String tileMatrixSetId, + double z, double x, double y, double scale, RequestOptions requestOptions) { + return this.serviceClient.getTileByScaleWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, requestOptions); } /** - * Part + * Tile Tilematrixsetid * - * Create image from part of a dataset. + * Create map tile from a dataset (with TileMatrixSetId, scale, and format in path). *

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * * - * - * * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1008,9 +1061,39 @@ public Response getPartWithResponse(String collectionId, String item * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1023,12 +1106,14 @@ public Response getPartWithResponse(String collectionId, String item * * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param minx Bounding box min X. - * @param miny Bounding box min Y. - * @param maxx Bounding box max X. - * @param maxy Bounding box max Y. - * @param width Width in pixels for the output image. - * @param height Height in pixels for the output image. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1039,101 +1124,189 @@ public Response getPartWithResponse(String collectionId, String item */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getPartWithDimensionsWithResponse(String collectionId, String itemId, double minx, - double miny, double maxx, double maxy, int width, int height, String format, RequestOptions requestOptions) { - return this.serviceClient.getPartWithDimensionsWithResponse(collectionId, itemId, minx, miny, maxx, maxy, width, - height, format, requestOptions); + public Response getTileByScaleAndFormatWithResponse(String collectionId, String itemId, + String tileMatrixSetId, double z, double x, double y, double scale, String format, + RequestOptions requestOptions) { + return this.serviceClient.getTileByScaleAndFormatWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, + scale, format, requestOptions); } /** - * Point + * Tile Plain * - * Get Point value for a dataset. + * Create map tile from a dataset (without TileMatrixSetId, scale or format in path). *

Query Parameters

* * * + * * * - * + * * - * + * * - * + * + * + * + * + * + * + * + * * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *     coordinates (Required): [
-     *         double (Required)
-     *     ]
-     *     values (Required): [
-     *         double (Required)
-     *     ]
-     *     band_names (Required): [
-     *         String (Required)
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param longitude Longitude. - * @param latitude Latitude. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response model for point query operations providing values at a specific location along with - * {@link Response}. + * @return the response body along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getPointWithResponse(String collectionId, String itemId, double longitude, - double latitude, RequestOptions requestOptions) { - return this.serviceClient.getPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions); + public Response getTileNoTmsWithResponse(String collectionId, String itemId, double z, double x, + double y, RequestOptions requestOptions) { + return this.serviceClient.getTileNoTmsWithResponse(collectionId, itemId, z, x, y, requestOptions); } /** - * Preview + * Tile Format * - * Create preview of a dataset. + * Create map tile from a dataset (with format in path, without TileMatrixSetId or scale). *

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * + * + * + * * - * * - * - * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). - * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1161,9 +1334,39 @@ public Response getPointWithResponse(String collectionId, String ite * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1176,6 +1379,13 @@ public Response getPointWithResponse(String collectionId, String ite * * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1185,39 +1395,53 @@ public Response getPointWithResponse(String collectionId, String ite */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getPreviewWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.getPreviewWithResponse(collectionId, itemId, requestOptions); + public Response getTileNoTmsByFormatWithResponse(String collectionId, String itemId, double z, double x, + double y, String format, RequestOptions requestOptions) { + return this.serviceClient.getTileNoTmsByFormatWithResponse(collectionId, itemId, z, x, y, format, + requestOptions); } /** - * Preview + * Tile Scale * - * Create preview of a dataset. + * Create map tile from a dataset (with scale in path, without TileMatrixSetId or format). *

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * + * * - * * - * - * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1245,9 +1469,39 @@ public Response getPreviewWithResponse(String collectionId, String i * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1260,7 +1514,13 @@ public Response getPreviewWithResponse(String collectionId, String i * * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1270,69 +1530,112 @@ public Response getPreviewWithResponse(String collectionId, String i */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getPreviewWithFormatWithResponse(String collectionId, String itemId, String format, - RequestOptions requestOptions) { - return this.serviceClient.getPreviewWithFormatWithResponse(collectionId, itemId, format, requestOptions); + public Response getTileNoTmsByScaleWithResponse(String collectionId, String itemId, double z, double x, + double y, double scale, RequestOptions requestOptions) { + return this.serviceClient.getTileNoTmsByScaleWithResponse(collectionId, itemId, z, x, y, scale, requestOptions); } /** - * Create Static Image + * Tile * - * Create a new image export. - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     cql (Required): {
-     *         String: Object (Required)
-     *     }
-     *     zoom: Double (Optional)
-     *     geometry (Optional): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     render_params: String (Required)
-     *     cols: int (Required)
-     *     rows: int (Required)
-     *     showBranding: Boolean (Optional)
-     *     imageSize: String (Optional)
-     * }
-     * }
-     * 
+ * Create map tile from a dataset (with scale and format in path, without TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - *

Response Body Schema

+ * Examples: * - *
-     * {@code
-     * {
-     *     url: String (Required)
-     * }
-     * }
-     * 
+ * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" * - * @param collectionId STAC Collection ID. - * @param body Image request body. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response model for image exports along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response createStaticImageWithResponse(String collectionId, BinaryData body, - RequestOptions requestOptions) { - return this.serviceClient.createStaticImageWithResponse(collectionId, body, requestOptions); - } - - /** - * Get Static Image + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. * - * Fetch an existing image export by ID. + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -1341,152 +1644,67 @@ public Response createStaticImageWithResponse(String collectionId, B
      * }
      * 
* - * @param collectionId STAC Collection ID. - * @param id Image export ID. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return static Image - * - * Fetch an existing image export by ID along with {@link Response}. + * @return the response body along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getStaticImageWithResponse(String collectionId, String id, - RequestOptions requestOptions) { - return this.serviceClient.getStaticImageWithResponse(collectionId, id, requestOptions); + public Response getTileNoTmsByScaleAndFormatWithResponse(String collectionId, String itemId, double z, + double x, double y, double scale, String format, RequestOptions requestOptions) { + return this.serviceClient.getTileNoTmsByScaleAndFormatWithResponse(collectionId, itemId, z, x, y, scale, format, + requestOptions); } /** - * Statistics + * Geojson Feature * - * Merged assets statistics. + * Create image from a geojson feature (without format in path). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *      (Optional): {
-     *         String (Required): {
-     *             min: double (Required)
-     *             max: double (Required)
-     *             mean: double (Required)
-     *             count: double (Required)
-     *             sum: double (Required)
-     *             std: double (Required)
-     *             median: double (Required)
-     *             majority: double (Required)
-     *             minority: double (Required)
-     *             unique: double (Required)
-     *             histogram (Required): [
-     *                  (Required)[
-     *                     double (Required)
-     *                 ]
-     *             ]
-     *             valid_percent: double (Required)
-     *             masked_pixels: double (Required)
-     *             valid_pixels: double (Required)
-     *             percentile_2: double (Required)
-     *             percentile_98: double (Required)
-     *         }
-     *     }
-     * }
-     * }
-     * 
- * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's statistics along with {@link Response}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Response listStatisticsWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - return this.serviceClient.listStatisticsWithResponse(collectionId, itemId, requestOptions); - } - - /** - * TileJson Tilematrixsetid As Path - * - * Return the TileJson Tilematrixsetid As a path. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * + * + * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoDefault will be automatically defined if the output image - * needs a mask (png) or - * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: - * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1514,91 +1732,122 @@ public Response listStatisticsWithResponse(String collectionId, Stri * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
* You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

+ *

Request Body Schema

* *
      * {@code
      * {
-     *     tilejson: String (Optional)
-     *     name: String (Optional)
-     *     description: String (Optional)
-     *     version: String (Optional)
-     *     attribution: String (Optional)
-     *     template: String (Optional)
-     *     legend: String (Optional)
-     *     scheme: String(xyz/tms) (Optional)
-     *     tiles (Required): [
-     *         String (Required)
-     *     ]
-     *     grids (Optional): [
-     *         String (Optional)
-     *     ]
-     *     data (Optional): [
-     *         String (Optional)
-     *     ]
-     *     minzoom: Integer (Optional)
-     *     maxzoom: Integer (Optional)
-     *     bounds (Optional): [
-     *         double (Optional)
-     *     ]
-     *     center (Optional): [
-     *         double (Optional)
-     *     ]
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
      * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return tileJSON metadata describing a tile set according to the TileJSON specification - * - * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + * @return the response body along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getTileJsonWithResponse(String collectionId, String itemId, String tileMatrixSetId, + public Response cropFeatureWithResponse(String collectionId, String itemId, BinaryData body, RequestOptions requestOptions) { - return this.serviceClient.getTileJsonWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions); + return this.serviceClient.cropFeatureWithResponse(collectionId, itemId, body, requestOptions); } /** - * Tile Tilematrixsetid As Path + * Geojson Feature Crop With Format * - * Create map tile from a dataset. + * Create image from a geojson feature with format. *

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * * + * * + * + * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * * - * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1626,14 +1875,59 @@ public Response getTileJsonWithResponse(String collectionId, String * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<String>NoThe index of a subdataset band within the + *
subdataset_bandsList<Integer>NoThe index of a subdataset band within the * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
@@ -1644,15 +1938,8 @@ public Response getTileJsonWithResponse(String collectionId, String
      * 
      * @param collectionId STAC Collection Identifier.
      * @param itemId STAC Item Identifier.
-     * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported.
-     * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and
-     * representing the scaleDenominator the tile.
-     * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the
-     * MatrixHeight-1 for the selected TileMatrix.
-     * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the
-     * MatrixWidth-1 for the selected TileMatrix.
-     * @param scale Numeric scale factor for the tile. Higher values produce larger tiles.
      * @param format Output format for the tile or image (e.g., png, jpeg, webp).
+     * @param body Request GeoJson body.
      * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
      * @throws HttpResponseException thrown if the request is rejected by server.
      * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
@@ -1662,45 +1949,45 @@ public Response getTileJsonWithResponse(String collectionId, String
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Response getTileWithResponse(String collectionId, String itemId, String tileMatrixSetId,
-        double z, double x, double y, double scale, String format, RequestOptions requestOptions) {
-        return this.serviceClient.getTileWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, format,
-            requestOptions);
+    public Response cropFeatureByFormatWithResponse(String collectionId, String itemId, String format,
+        BinaryData body, RequestOptions requestOptions) {
+        return this.serviceClient.cropFeatureByFormatWithResponse(collectionId, itemId, format, body, requestOptions);
     }
 
     /**
-     * Wmts Tilematrixsetid As Path
+     * Geojson Feature Crop With Dimensions
      * 
-     * OGC WMTS endpoint.
+     * Create image from a geojson feature with dimensions.
      * 

Query Parameters

* * * + * * * - * + * * - * + * * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * - * - * - * - * * + * * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", - * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1728,48 +2015,120 @@ public Response getTileWithResponse(String collectionId, String item * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
      * {@code
-     * byte[]
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represent a byte array along with {@link Response}. + * @return the response body along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWmtsCapabilitiesWithResponse(String collectionId, String itemId, - String tileMatrixSetId, RequestOptions requestOptions) { - return this.serviceClient.getWmtsCapabilitiesWithResponse(collectionId, itemId, tileMatrixSetId, - requestOptions); + public Response cropFeatureWidthByHeightWithResponse(String collectionId, String itemId, int width, + int height, String format, BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.cropFeatureWidthByHeightWithResponse(collectionId, itemId, width, height, format, + body, requestOptions); } /** - * Get ClassMap Legend + * Item Bounds * - * Generate values and color swatches mapping for a given classmap. + * Return the bounds for a STAC item. *

Query Parameters

* * * - * - * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1777,187 +2136,280 @@ public Response getWmtsCapabilitiesWithResponse(String collectionId, *
      * {@code
      * {
-     *      (Optional): {
-     *         String: Object (Required)
-     *     }
+     *     bounds (Required): [
+     *         double (Required)
+     *     ]
      * }
      * }
      * 
* - * @param classmapName classmap name. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return classMap Legend - * - * Generate values and color swatches mapping for a given classmap along with {@link Response}. + * @return geographic extent of a dataset expressed as a bounding box along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getClassMapLegendWithResponse(String classmapName, RequestOptions requestOptions) { - return this.serviceClient.getClassMapLegendWithResponse(classmapName, requestOptions); + public Response getItemBoundsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemBoundsWithResponse(collectionId, itemId, requestOptions); } /** - * Get Interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. + * Item Info * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow). + * Return dataset's basic info for a STAC item. *

Query Parameters

* * * - * - * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * [
-     *      (Required)[
-     *          (Required)[
-     *             long (Required)
-     *         ]
-     *     ]
-     * ]
+     * {
+     *      (Optional): {
+     *         String (Required): {
+     *             bounds (Required): [
+     *                 double (Required)
+     *             ]
+     *             band_metadata (Optional): [
+     *                  (Optional)[
+     *                     BinaryData (Optional)
+     *                 ]
+     *             ]
+     *             band_descriptions (Optional): [
+     *                  (Optional)[
+     *                     String (Optional)
+     *                 ]
+     *             ]
+     *             dtype: String (Required)
+     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
+     *             colorinterp (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             driver: String (Optional)
+     *             count: Integer (Optional)
+     *             width: Integer (Optional)
+     *             height: Integer (Optional)
+     *             overviews (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             scales (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             offsets (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             colormap (Optional): {
+     *                 String (Required): [
+     *                     String (Required)
+     *                 ]
+     *             }
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             crs: String (Optional)
+     *         }
+     *     }
+     * }
      * }
      * 
* - * @param classmapName classmap name. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow) along with - * {@link Response}. + * @return return dataset's basic info along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getIntervalLegendWithResponse(String classmapName, RequestOptions requestOptions) { - return this.serviceClient.getIntervalLegendWithResponse(classmapName, requestOptions); + public Response getItemInfoWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemInfoWithResponse(collectionId, itemId, requestOptions); } /** - * Get Legend - * - * Generate a legend image for a given colormap. + * Item Info Geojson * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim. + * Return info as GeoJSON for a STAC item. *

Query Parameters

* * * - * - * - * - * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
heightDoubleNoThe output height of the legend image
widthDoubleNoThe output width of the legend image
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * BinaryData
+     * {
+     *     type: String(Feature) (Required)
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     properties (Required): {
+     *         String (Required): {
+     *             bounds (Required): [
+     *                 double (Required)
+     *             ]
+     *             band_metadata (Optional): [
+     *                  (Optional)[
+     *                     BinaryData (Optional)
+     *                 ]
+     *             ]
+     *             band_descriptions (Optional): [
+     *                  (Optional)[
+     *                     String (Optional)
+     *                 ]
+     *             ]
+     *             dtype: String (Required)
+     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
+     *             colorinterp (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             driver: String (Optional)
+     *             count: Integer (Optional)
+     *             width: Integer (Optional)
+     *             height: Integer (Optional)
+     *             overviews (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             scales (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             offsets (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             colormap (Optional): {
+     *                 String (Required): [
+     *                     String (Required)
+     *                 ]
+     *             }
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             crs: String (Optional)
+     *         }
+     *     }
+     *     id: String (Optional)
+     *     bbox (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
      * }
      * 
* - * @param colorMapName The name of the registered colormap to generate a legend for. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return legend - * - * Generate a legend image for a given colormap. - * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim along with {@link Response}. + * @return geoJSON Feature object containing rio-tiler model information along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getLegendWithResponse(String colorMapName, RequestOptions requestOptions) { - return this.serviceClient.getLegendWithResponse(colorMapName, requestOptions); + public Response getItemInfoGeoJsonWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemInfoGeoJsonWithResponse(collectionId, itemId, requestOptions); } /** - * Assets For Point + * Item Available Assets * - * Return a list of assets for a given point. + * Return a list of supported assets for a STAC item. *

Query Parameters

* * * - * - * - * - * - * - * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the - * previous items (defaults - * to True in PgSTAC).
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -1965,53 +2417,13 @@ public Response getLegendWithResponse(String colorMapName, RequestOp *
      * {@code
      * [
-     *      (Required){
-     *         id: String (Required)
-     *         bbox (Required): [
-     *             double (Required)
-     *         ]
-     *         assets (Required): {
-     *             String (Required): {
-     *                 platform: String (Optional)
-     *                 instruments (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                 constellation: String (Optional)
-     *                 mission: String (Optional)
-     *                 providers (Optional): [
-     *                      (Optional){
-     *                         name: String (Optional, Required on create)
-     *                         description: String (Optional)
-     *                         roles (Optional): [
-     *                             String (Optional)
-     *                         ]
-     *                         url: String (Optional)
-     *                     }
-     *                 ]
-     *                 gsd: Double (Optional)
-     *                 created: OffsetDateTime (Optional)
-     *                 updated: OffsetDateTime (Optional)
-     *                 title: String (Optional)
-     *                 description: String (Optional)
-     *                 href: String (Optional, Required on create)
-     *                 type: String (Optional)
-     *                 roles (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                  (Optional): {
-     *                     String: Object (Required)
-     *                 }
-     *             }
-     *         }
-     *         collection: String (Required)
-     *     }
+     *     String (Required)
      * ]
      * }
      * 
* - * @param searchId Search Id (pgSTAC Search Hash). - * @param longitude Longitude. - * @param latitude Latitude. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2021,223 +2433,365 @@ public Response getLegendWithResponse(String colorMapName, RequestOp */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsAssetsForPointWithResponse(String searchId, double longitude, double latitude, + public Response getItemAvailableAssetsWithResponse(String collectionId, String itemId, RequestOptions requestOptions) { - return this.serviceClient.getMosaicsAssetsForPointWithResponse(searchId, longitude, latitude, requestOptions); + return this.serviceClient.getItemAvailableAssetsWithResponse(collectionId, itemId, requestOptions); } /** - * Assets For Tile Tilematrixsetid As Path + * Item Asset Statistics * - * Return a list of assets which overlap a given tile. + * Per asset statistics for a STAC item. *

Query Parameters

* * * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the - * previous items (defaults - * to True in PgSTAC).
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * [
-     *      (Required){
-     *         id: String (Required)
-     *         collection: String (Optional)
-     *         bbox (Required): [
-     *             double (Required)
-     *         ]
-     *         assets (Required): {
-     *             String (Required): {
-     *                 platform: String (Optional)
-     *                 instruments (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                 constellation: String (Optional)
-     *                 mission: String (Optional)
-     *                 providers (Optional): [
-     *                      (Optional){
-     *                         name: String (Optional, Required on create)
-     *                         description: String (Optional)
-     *                         roles (Optional): [
-     *                             String (Optional)
+     * bidxList<Integer>NoDataset band indexes. Call
+     * {@link RequestOptions#addQueryParam} to add string to array.
+     * assetsList<String>NoAsset's names. Call
+     * {@link RequestOptions#addQueryParam} to add string to array.
+     * asset_bidxList<String>NoPer asset band indexes (coma separated indexes,
+     * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated
+     * string.
+     * nodataStringNoOverwrite internal Nodata value
+     * unscaleBooleanNoApply internal Scale or Offset
+     * reprojectStringNoWarpKernel resampling algorithm (only used when doing
+     * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos",
+     * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+     * resamplingStringNoResampling method. Allowed values: "nearest", "bilinear",
+     * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
+     * max_sizeIntegerNoMaximum dimension in pixels for the source data used to
+     * calculate statistics
+     * categoricalBooleanNoReturn statistics for categorical dataset.
+     * cList<Integer>NoList of pixel categorical values for which to report
+     * counts. In the form of "," separated string.
+     * pList<Integer>NoList of percentile values (default to [2, 98]). In the
+     * form of "," separated string.
+     * histogram_binsStringNoDefines the number of equal-width bins in the given
+     * range (10, by default).
+     * 
+     * If bins is a sequence (comma `,` delimited values), it defines a monotonically
+     * increasing array of bin edges, including the rightmost edge, allowing for
+     * non-uniform bin widths.
+     * 
+     * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
+     * histogram_rangeStringNoComma `,` delimited range of the bins.
+     * 
+     * The lower and upper range of the bins. If not provided, range is simply
+     * (a.min(), a.max()).
+     * 
+     * Values outside the range are ignored. The first element of the range must be
+     * less than or equal to the second.
+     * range affects the automatic bin computation as well.
+     * 
+     * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
+     * subdataset_nameStringNoThe name of a subdataset within the asset.
+     * subdataset_bandsList<Integer>NoThe index of a subdataset band within the
+     * asset. In the form of "," separated string.
+     * crsStringNoCoordinate Reference System.
+     * datetimeStringNoEither a date-time or an interval, open or closed. Date and
+     * time expressions
+     * adhere to RFC 3339. Open intervals are expressed using double-dots.
+     * 
+     * Examples:
+     * 
+     * - A date-time: "2018-02-12T23:20:50Z"
+     * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z"
+     * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z"
+     * 
+     * Only features that have a temporal property that intersects the value of
+     * `datetime` are selected.
+     * 
+     * If a feature has multiple temporal properties, it is the decision of the
+     * server whether only a single temporal property is used to determine
+     * the extent or all relevant temporal properties.
+     * selList<String>NoXarray Indexing using dimension names
+     * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
+     * sel_methodStringNoXarray indexing method to use for inexact matches. Allowed
+     * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+     * asset_expressionList<String>NoPer asset band expression. In the form of
+     * "," separated string.
+     * heightIntegerNoForce output image height.
+     * widthIntegerNoForce output image width.
+     * 
+     * You can add these to a request with {@link RequestOptions#addQueryParam}
+     * 

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *      (Optional): {
+     *         String (Required): {
+     *              (Optional): {
+     *                 String (Required): {
+     *                     min: double (Required)
+     *                     max: double (Required)
+     *                     mean: double (Required)
+     *                     count: double (Required)
+     *                     sum: double (Required)
+     *                     std: double (Required)
+     *                     median: double (Required)
+     *                     majority: double (Required)
+     *                     minority: double (Required)
+     *                     unique: double (Required)
+     *                     histogram (Required): [
+     *                          (Required)[
+     *                             double (Required)
      *                         ]
-     *                         url: String (Optional)
-     *                     }
-     *                 ]
-     *                 gsd: Double (Optional)
-     *                 created: OffsetDateTime (Optional)
-     *                 updated: OffsetDateTime (Optional)
-     *                 title: String (Optional)
-     *                 description: String (Optional)
-     *                 href: String (Optional, Required on create)
-     *                 type: String (Optional)
-     *                 roles (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                  (Optional): {
-     *                     String: Object (Required)
+     *                     ]
+     *                     valid_percent: double (Required)
+     *                     masked_pixels: double (Required)
+     *                     valid_pixels: double (Required)
+     *                     percentile_2: double (Required)
+     *                     percentile_98: double (Required)
      *                 }
      *             }
      *         }
      *     }
-     * ]
+     * }
      * }
      * 
* - * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param collectionId STAC Collection Identifier. - * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and - * representing the scaleDenominator the tile. - * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixHeight-1 for the selected TileMatrix. - * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixWidth-1 for the selected TileMatrix. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @return return dataset's statistics along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsAssetsForTileWithResponse(String searchId, String tileMatrixSetId, - String collectionId, double z, double x, double y, RequestOptions requestOptions) { - return this.serviceClient.getMosaicsAssetsForTileWithResponse(searchId, tileMatrixSetId, collectionId, z, x, y, - requestOptions); + public Response getItemAssetStatisticsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemAssetStatisticsWithResponse(collectionId, itemId, requestOptions); } /** - * Info Search + * Item Statistics * - * Get Search query metadata. + * Merged assets statistics for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to + * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<Integer>NoList of pixel categorical values for which to report + * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the + * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given + * range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoAlgorithm name.
algorithm_paramsStringNoAlgorithm parameter.
heightIntegerNoForce output image height.
widthIntegerNoForce output image width.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
      * {
-     *     search (Required): {
-     *         hash: String (Required)
-     *         search (Required): {
-     *             String: Object (Required)
-     *         }
-     *         _where: String (Required)
-     *         orderby: String (Required)
-     *         lastused: OffsetDateTime (Required)
-     *         usecount: int (Required)
-     *         metadata (Required): {
-     *             type: String(mosaic/search) (Optional)
-     *             bounds: String (Optional)
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             name: String (Optional)
-     *             assets (Optional): [
-     *                 String (Optional)
+     *      (Optional): {
+     *         String (Required): {
+     *             min: double (Required)
+     *             max: double (Required)
+     *             mean: double (Required)
+     *             count: double (Required)
+     *             sum: double (Required)
+     *             std: double (Required)
+     *             median: double (Required)
+     *             majority: double (Required)
+     *             minority: double (Required)
+     *             unique: double (Required)
+     *             histogram (Required): [
+     *                  (Required)[
+     *                     double (Required)
+     *                 ]
      *             ]
-     *             defaults (Optional): {
-     *                 String: String (Required)
-     *             }
+     *             valid_percent: double (Required)
+     *             masked_pixels: double (Required)
+     *             valid_pixels: double (Required)
+     *             percentile_2: double (Required)
+     *             percentile_98: double (Required)
      *         }
      *     }
-     *     links (Optional): [
-     *          (Optional){
-     *             rel: String (Optional)
-     *             title: String (Optional)
-     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
-     *             href: String (Optional, Required on create)
-     *             hreflang: String (Optional)
-     *             length: Integer (Optional)
-     *             method: String(GET/POST) (Optional)
-     *             headers (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             body (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *             merge: Boolean (Optional)
-     *         }
-     *     ]
      * }
      * }
      * 
* - * @param searchId Search Id (pgSTAC Search Hash). + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return information about a registered STAC search query along with {@link Response}. + * @return return dataset's statistics along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsSearchInfoWithResponse(String searchId, RequestOptions requestOptions) { - return this.serviceClient.getMosaicsSearchInfoWithResponse(searchId, requestOptions); + public Response getItemStatisticsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemStatisticsWithResponse(collectionId, itemId, requestOptions); } /** - * Register Search + * Item Geojson Statistics * - * Register a Search query. - *

Request Body Schema

+ * Get statistics from a GeoJSON feature for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to + * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<Integer>NoList of pixel categorical values for which to report + * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the + * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given + * range (10, by default). * - *
-     * {@code
-     * {
-     *     collections (Optional): [
-     *         String (Optional)
-     *     ]
-     *     ids (Optional): [
-     *         String (Optional)
-     *     ]
-     *     bbox (Optional): [
-     *         double (Optional)
-     *     ]
-     *     intersects (Optional): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
+     * If bins is a sequence (comma `,` delimited values), it defines a monotonically
+     * increasing array of bin edges, including the rightmost edge, allowing for
+     * non-uniform bin widths.
+     * 
+     * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoAlgorithm name.
algorithm_paramsStringNoAlgorithm parameter.
heightIntegerNoForce output image height.
widthIntegerNoForce output image width.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
      *         ]
      *     }
-     *     query (Optional): {
-     *         String: Object (Required)
-     *     }
-     *     filter (Optional): {
-     *         String: Object (Required)
-     *     }
-     *     datetime: String (Optional)
-     *     sortby (Optional): [
-     *          (Optional){
-     *             field: String (Required)
-     *             direction: String(asc/desc) (Required)
-     *         }
-     *     ]
-     *     filter-lang: String(cql-json/cql2-json/cql2-text) (Optional)
-     *     metadata (Optional): {
-     *         type: String(mosaic/search) (Optional)
-     *         bounds: String (Optional)
-     *         minzoom: Integer (Optional)
-     *         maxzoom: Integer (Optional)
-     *         name: String (Optional)
-     *         assets (Optional): [
-     *             String (Optional)
-     *         ]
-     *         defaults (Optional): {
-     *             String: String (Required)
-     *         }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -2248,93 +2802,109 @@ public Response getMosaicsSearchInfoWithResponse(String searchId, Re
      * 
      * {@code
      * {
-     *     searchid: String (Required)
-     *     links (Optional): [
-     *          (Optional){
-     *             rel: String (Optional)
-     *             title: String (Optional)
-     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
-     *             href: String (Optional, Required on create)
-     *             hreflang: String (Optional)
-     *             length: Integer (Optional)
-     *             method: String(GET/POST) (Optional)
-     *             headers (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             body (Optional): {
-     *                 String: Object (Required)
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         statistics (Required): {
+     *             String (Required): {
+     *                 min: double (Required)
+     *                 max: double (Required)
+     *                 mean: double (Required)
+     *                 count: double (Required)
+     *                 sum: double (Required)
+     *                 std: double (Required)
+     *                 median: double (Required)
+     *                 majority: double (Required)
+     *                 minority: double (Required)
+     *                 unique: double (Required)
+     *                 histogram (Required): [
+     *                      (Required)[
+     *                         double (Required)
+     *                     ]
+     *                 ]
+     *                 valid_percent: double (Required)
+     *                 masked_pixels: double (Required)
+     *                 valid_pixels: double (Required)
+     *                 percentile_2: double (Required)
+     *                 percentile_98: double (Required)
      *             }
-     *             merge: Boolean (Optional)
      *         }
-     *     ]
+     *          (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
      * }
      * }
      * 
* - * @param registerMosaicsSearchRequest The registerMosaicsSearchRequest parameter. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from a successful mosaic registration with search ID and related links along with - * {@link Response}. + * @return sTAC Item representing a spatiotemporal asset with statistical information along with {@link Response}. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response registerMosaicsSearchWithResponse(BinaryData registerMosaicsSearchRequest, - RequestOptions requestOptions) { - return this.serviceClient.registerMosaicsSearchWithResponse(registerMosaicsSearchRequest, requestOptions); + public Response getItemFeatureStatisticsWithResponse(String collectionId, String itemId, + BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.getItemFeatureStatisticsWithResponse(collectionId, itemId, body, requestOptions); } /** - * TileJson Tilematrixsetid As Path + * Item TileJson * - * Return TileJSON document for a searchId. + * Return TileJSON document for a STAC item. *

Query Parameters

* * * + * * * - * + * * - * + * * - * - * - * - * - * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * - * + * * * - * + * + * * - * * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the - * previous items (defaults - * to True in PgSTAC).
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image * needs a mask (png) or * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 * produce larger tiles (e.g., 1=256x256, 2=512x512).
bufferStringNoBuffer on each side of the given tile. It must be a multiple of + *
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of * `0.5`. Output * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", - * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -2362,9 +2932,39 @@ public Response registerMosaicsSearchWithResponse(BinaryData registe * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2401,8 +3001,8 @@ public Response registerMosaicsSearchWithResponse(BinaryData registe * } *
* - * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2414,52 +3014,52 @@ public Response registerMosaicsSearchWithResponse(BinaryData registe */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsTileJsonWithResponse(String searchId, String tileMatrixSetId, + public Response getItemTileJsonWithResponse(String collectionId, String itemId, RequestOptions requestOptions) { - return this.serviceClient.getMosaicsTileJsonWithResponse(searchId, tileMatrixSetId, requestOptions); + return this.serviceClient.getItemTileJsonWithResponse(collectionId, itemId, requestOptions); } /** - * Tile Tilematrixsetid As Path + * Item TileJson Tilematrixsetid As Path * - * Create map tile. + * Return TileJSON document for a STAC item with TileMatrixSetId as path. *

Query Parameters

* * * + * * * - * + * * - * + * * - * - * - * - * - * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * + * + * + * + * * - * * - * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the - * previous items (defaults - * to True in PgSTAC).
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
bufferStringNoBuffer on each side of the given tile. It must be a multiple of + *
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of * `0.5`. Output * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", - * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -2487,217 +3087,19399 @@ public Response getMosaicsTileJsonWithResponse(String searchId, Stri * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* - *
-     * {@code
-     * BinaryData
-     * }
-     * 
+ *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemTileJsonByTmsWithResponse(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + return this.serviceClient.getItemTileJsonByTmsWithResponse(collectionId, itemId, tileMatrixSetId, + requestOptions); + } + + /** + * Item Wmts + * + * OGC WMTS endpoint for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemWmtsCapabilitiesWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemWmtsCapabilitiesWithResponse(collectionId, itemId, requestOptions); + } + + /** + * Item Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC item with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemWmtsCapabilitiesByTmsWithResponse(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + return this.serviceClient.getItemWmtsCapabilitiesByTmsWithResponse(collectionId, itemId, tileMatrixSetId, + requestOptions); + } + + /** + * Item Point + * + * Get point value for a STAC item dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response model for point query operations providing values at a specific location along with + * {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemPointWithResponse(String collectionId, String itemId, double longitude, + double latitude, RequestOptions requestOptions) { + return this.serviceClient.getItemPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions); + } + + /** + * Item Preview + * + * Create preview of a STAC item dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemPreviewWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + return this.serviceClient.getItemPreviewWithResponse(collectionId, itemId, requestOptions); + } + + /** + * Item Preview With Format + * + * Create preview of a STAC item dataset with format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemPreviewWithFormatWithResponse(String collectionId, String itemId, String format, + RequestOptions requestOptions) { + return this.serviceClient.getItemPreviewWithFormatWithResponse(collectionId, itemId, format, requestOptions); + } + + /** + * Item Bbox + * + * Create an image from part of a STAC item dataset (bounding box crop). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemBboxCropWithResponse(String collectionId, String itemId, double minx, + double miny, double maxx, double maxy, String format, RequestOptions requestOptions) { + return this.serviceClient.getItemBboxCropWithResponse(collectionId, itemId, minx, miny, maxx, maxy, format, + requestOptions); + } + + /** + * Item Bbox With Dimensions + * + * Create an image from part of a STAC item dataset (bounding box crop with dimensions). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemBboxCropWithDimensionsWithResponse(String collectionId, String itemId, + double minx, double miny, double maxx, double maxy, int width, int height, String format, + RequestOptions requestOptions) { + return this.serviceClient.getItemBboxCropWithDimensionsWithResponse(collectionId, itemId, minx, miny, maxx, + maxy, width, height, format, requestOptions); + } + + /** + * Collection Tileset List + * + * Return a list of available tilesets for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
+     *             ]
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 upperRight (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 crs: String (Optional)
+     *             }
+     *             accessConstraints: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response containing a list of available tilesets along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTilesetsWithResponse(String collectionId, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTilesetsWithResponse(collectionId, requestOptions); + } + + /** + * Collection Tileset Metadata + * + * Return metadata for a specific tileset of a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
+     *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
+     *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTilesetMetadataWithResponse(String collectionId, String tileMatrixSetId, + RequestOptions requestOptions) { + return this.serviceClient.getCollectionTilesetMetadataWithResponse(collectionId, tileMatrixSetId, + requestOptions); + } + + /** + * Collection Tile Tilematrixsetid + * + * Create map tile for a STAC collection (with TileMatrixSetId, scale, and format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileByScaleAndFormatWithResponse(String collectionId, + String tileMatrixSetId, double z, double x, double y, double scale, String format, + RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileByScaleAndFormatWithResponse(collectionId, tileMatrixSetId, z, x, y, + scale, format, requestOptions); + } + + /** + * Collection Tile Tilematrixsetid Plain + * + * Create map tile for a STAC collection (with TileMatrixSetId, without scale or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileWithResponse(String collectionId, String tileMatrixSetId, double z, + double x, double y, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileWithResponse(collectionId, tileMatrixSetId, z, x, y, requestOptions); + } + + /** + * Collection Tile Tilematrixsetid Format + * + * Create map tile for a STAC collection (with TileMatrixSetId and format, without scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileByFormatWithResponse(String collectionId, String tileMatrixSetId, + double z, double x, double y, String format, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileByFormatWithResponse(collectionId, tileMatrixSetId, z, x, y, format, + requestOptions); + } + + /** + * Collection Tile Tilematrixsetid Scale + * + * Create map tile for a STAC collection (with TileMatrixSetId and scale, without format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileByScaleWithResponse(String collectionId, String tileMatrixSetId, + double z, double x, double y, double scale, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileByScaleWithResponse(collectionId, tileMatrixSetId, z, x, y, scale, + requestOptions); + } + + /** + * Collection Tile + * + * Create map tile for a STAC collection (without TileMatrixSetId, with scale and format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles (default: "1"). + * @param format Output format for the tile or image (e.g., png, jpeg, webp) (default: "png"). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileNoTmsByScaleAndFormatWithResponse(String collectionId, double z, + double x, double y, double scale, String format, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileNoTmsByScaleAndFormatWithResponse(collectionId, z, x, y, scale, + format, requestOptions); + } + + /** + * Collection Tile Plain + * + * Create map tile for a STAC collection (without TileMatrixSetId, scale, or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileNoTmsWithResponse(String collectionId, double z, double x, double y, + RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileNoTmsWithResponse(collectionId, z, x, y, requestOptions); + } + + /** + * Collection Tile Format + * + * Create map tile for a STAC collection (with format, without TileMatrixSetId or scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileNoTmsByFormatWithResponse(String collectionId, double z, double x, + double y, String format, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileNoTmsByFormatWithResponse(collectionId, z, x, y, format, + requestOptions); + } + + /** + * Collection Tile Scale + * + * Create map tile for a STAC collection (with scale, without TileMatrixSetId or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileNoTmsByScaleWithResponse(String collectionId, double z, double x, + double y, double scale, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileNoTmsByScaleWithResponse(collectionId, z, x, y, scale, + requestOptions); + } + + /** + * Collection TileJson + * + * Return TileJSON document for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileJsonWithResponse(String collectionId, RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileJsonWithResponse(collectionId, requestOptions); + } + + /** + * Collection TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC collection with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileJsonByTmsWithResponse(String collectionId, String tileMatrixSetId, + RequestOptions requestOptions) { + return this.serviceClient.getCollectionTileJsonByTmsWithResponse(collectionId, tileMatrixSetId, requestOptions); + } + + /** + * Collection Wmts + * + * OGC WMTS endpoint for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionWmtsCapabilitiesWithResponse(String collectionId, + RequestOptions requestOptions) { + return this.serviceClient.getCollectionWmtsCapabilitiesWithResponse(collectionId, requestOptions); + } + + /** + * Collection Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC collection with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionWmtsCapabilitiesByTmsWithResponse(String collectionId, + String tileMatrixSetId, RequestOptions requestOptions) { + return this.serviceClient.getCollectionWmtsCapabilitiesByTmsWithResponse(collectionId, tileMatrixSetId, + requestOptions); + } + + /** + * Collection Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile for a STAC collection (with TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         collection: String (Optional)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionAssetsForTileWithResponse(String collectionId, String tileMatrixSetId, + double z, double x, double y, RequestOptions requestOptions) { + return this.serviceClient.getCollectionAssetsForTileWithResponse(collectionId, tileMatrixSetId, z, x, y, + requestOptions); + } + + /** + * Collection Assets For Tile + * + * Return a list of assets which overlap a given tile for a STAC collection (without TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionAssetsForTileNoTmsWithResponse(String collectionId, double z, double x, + double y, RequestOptions requestOptions) { + return this.serviceClient.getCollectionAssetsForTileNoTmsWithResponse(collectionId, z, x, y, requestOptions); + } + + /** + * Collection Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionAssetsForBboxWithResponse(String collectionId, double minx, double miny, + double maxx, double maxy, RequestOptions requestOptions) { + return this.serviceClient.getCollectionAssetsForBboxWithResponse(collectionId, minx, miny, maxx, maxy, + requestOptions); + } + + /** + * Collection Info + * + * Return search query info from a STAC collection identifier. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     search (Required): {
+     *         hash: String (Required)
+     *         search (Required): {
+     *             String: BinaryData (Required)
+     *         }
+     *         lastused: OffsetDateTime (Required)
+     *         usecount: int (Required)
+     *         metadata (Required): {
+     *             type: String(mosaic/search) (Optional)
+     *             bounds: String (Optional)
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             name: String (Optional)
+     *             assets (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             defaults (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return information about a registered STAC search query along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionInfoWithResponse(String collectionId, RequestOptions requestOptions) { + return this.serviceClient.getCollectionInfoWithResponse(collectionId, requestOptions); + } + + /** + * Collection Bbox + * + * Create an image from part of a STAC collection dataset (bounding box crop). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionBboxCropWithResponse(String collectionId, double minx, double miny, + double maxx, double maxy, String format, RequestOptions requestOptions) { + return this.serviceClient.getCollectionBboxCropWithResponse(collectionId, minx, miny, maxx, maxy, format, + requestOptions); + } + + /** + * Collection Bbox With Dimensions + * + * Create an image from part of a STAC collection dataset (bounding box crop with dimensions). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionBboxCropWithDimensionsWithResponse(String collectionId, double minx, + double miny, double maxx, double maxy, int width, int height, String format, RequestOptions requestOptions) { + return this.serviceClient.getCollectionBboxCropWithDimensionsWithResponse(collectionId, minx, miny, maxx, maxy, + width, height, format, requestOptions); + } + + /** + * Collection Geojson Feature + * + * Create image from a geojson feature (without format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cropCollectionFeatureWithResponse(String collectionId, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.cropCollectionFeatureWithResponse(collectionId, body, requestOptions); + } + + /** + * Collection Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cropCollectionFeatureByFormatWithResponse(String collectionId, String format, + BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.cropCollectionFeatureByFormatWithResponse(collectionId, format, body, requestOptions); + } + + /** + * Collection Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cropCollectionFeatureWidthByHeightWithResponse(String collectionId, int width, + int height, String format, BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.cropCollectionFeatureWidthByHeightWithResponse(collectionId, width, height, format, + body, requestOptions); + } + + /** + * Collection Point + * + * Get Point value for a collection dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response model for point query operations providing values at a specific location along with + * {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionPointWithResponse(String collectionId, double longitude, double latitude, + RequestOptions requestOptions) { + return this.serviceClient.getCollectionPointWithResponse(collectionId, longitude, latitude, requestOptions); + } + + /** + * Collection Point Assets + * + * Return a list of assets for a given point in a collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *         collection: String (Required)
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionPointAssetsWithResponse(String collectionId, double longitude, + double latitude, RequestOptions requestOptions) { + return this.serviceClient.getCollectionPointAssetsWithResponse(collectionId, longitude, latitude, + requestOptions); + } + + /** + * Searches Tileset List + * + * Return a list of available tilesets for a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
+     *             ]
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 upperRight (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 crs: String (Optional)
+     *             }
+     *             accessConstraints: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response containing a list of available tilesets along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTilesetsWithResponse(String searchId, RequestOptions requestOptions) { + return this.serviceClient.getSearchTilesetsWithResponse(searchId, requestOptions); + } + + /** + * Searches Tileset Metadata + * + * Return metadata for a specific tileset of a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
+     *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
+     *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTilesetMetadataWithResponse(String searchId, String tileMatrixSetId, + RequestOptions requestOptions) { + return this.serviceClient.getSearchTilesetMetadataWithResponse(searchId, tileMatrixSetId, requestOptions); + } + + /** + * Searches Tile Tilematrixsetid + * + * Create map tile (with TileMatrixSetId, scale, and format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileByScaleAndFormatWithResponse(String searchId, String tileMatrixSetId, + double z, double x, double y, double scale, String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileByScaleAndFormatWithResponse(searchId, tileMatrixSetId, z, x, y, scale, + format, requestOptions); + } + + /** + * Searches Tile Tilematrixsetid Plain + * + * Create map tile (with TileMatrixSetId, without scale or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileWithResponse(String searchId, String tileMatrixSetId, double z, double x, + double y, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileWithResponse(searchId, tileMatrixSetId, z, x, y, requestOptions); + } + + /** + * Searches Tile Tilematrixsetid Format + * + * Create map tile (with TileMatrixSetId and format, without scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileByFormatWithResponse(String searchId, String tileMatrixSetId, double z, + double x, double y, String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileByFormatWithResponse(searchId, tileMatrixSetId, z, x, y, format, + requestOptions); + } + + /** + * Searches Tile Tilematrixsetid Scale + * + * Create map tile (with TileMatrixSetId and scale, without format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileByScaleWithResponse(String searchId, String tileMatrixSetId, double z, + double x, double y, double scale, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileByScaleWithResponse(searchId, tileMatrixSetId, z, x, y, scale, + requestOptions); + } + + /** + * Searches Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         collection: String (Optional)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchAssetsForTileWithResponse(String searchId, String tileMatrixSetId, + String collectionId, double z, double x, double y, RequestOptions requestOptions) { + return this.serviceClient.getSearchAssetsForTileWithResponse(searchId, tileMatrixSetId, collectionId, z, x, y, + requestOptions); + } + + /** + * Searches TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a search with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileJsonByTmsWithResponse(String searchId, String tileMatrixSetId, + RequestOptions requestOptions) { + return this.serviceClient.getSearchTileJsonByTmsWithResponse(searchId, tileMatrixSetId, requestOptions); + } + + /** + * Searches Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchWmtsCapabilitiesByTmsWithResponse(String searchId, String tileMatrixSetId, + RequestOptions requestOptions) { + return this.serviceClient.getSearchWmtsCapabilitiesByTmsWithResponse(searchId, tileMatrixSetId, requestOptions); + } + + /** + * Searches Info + * + * Get Search query metadata. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     search (Required): {
+     *         hash: String (Required)
+     *         search (Required): {
+     *             String: BinaryData (Required)
+     *         }
+     *         lastused: OffsetDateTime (Required)
+     *         usecount: int (Required)
+     *         metadata (Required): {
+     *             type: String(mosaic/search) (Optional)
+     *             bounds: String (Optional)
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             name: String (Optional)
+     *             assets (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             defaults (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return information about a registered STAC search query along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchInfoWithResponse(String searchId, RequestOptions requestOptions) { + return this.serviceClient.getSearchInfoWithResponse(searchId, requestOptions); + } + + /** + * Searches Bbox + * + * Create an image from part of a dataset (bounding box crop). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchBboxCropWithResponse(String searchId, double minx, double miny, double maxx, + double maxy, String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchBboxCropWithResponse(searchId, minx, miny, maxx, maxy, format, + requestOptions); + } + + /** + * Searches Bbox With Dimensions + * + * Create an image from part of a dataset (bounding box crop with dimensions). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchBboxCropWithDimensionsWithResponse(String searchId, double minx, double miny, + double maxx, double maxy, int width, int height, String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchBboxCropWithDimensionsWithResponse(searchId, minx, miny, maxx, maxy, width, + height, format, requestOptions); + } + + /** + * Searches Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchBboxAssetsWithResponse(String searchId, double minx, double miny, double maxx, + double maxy, RequestOptions requestOptions) { + return this.serviceClient.getSearchBboxAssetsWithResponse(searchId, minx, miny, maxx, maxy, requestOptions); + } + + /** + * Searches Geojson Feature + * + * Create image from a geojson feature (without format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cropSearchFeatureWithResponse(String searchId, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.cropSearchFeatureWithResponse(searchId, body, requestOptions); + } + + /** + * Searches Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cropSearchFeatureByFormatWithResponse(String searchId, String format, BinaryData body, + RequestOptions requestOptions) { + return this.serviceClient.cropSearchFeatureByFormatWithResponse(searchId, format, body, requestOptions); + } + + /** + * Searches Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cropSearchFeatureWidthByHeightWithResponse(String searchId, int width, int height, + String format, BinaryData body, RequestOptions requestOptions) { + return this.serviceClient.cropSearchFeatureWidthByHeightWithResponse(searchId, width, height, format, body, + requestOptions); + } + + /** + * Searches Wmts + * + * OGC WMTS endpoint. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchWmtsCapabilitiesWithResponse(String searchId, RequestOptions requestOptions) { + return this.serviceClient.getSearchWmtsCapabilitiesWithResponse(searchId, requestOptions); + } + + /** + * Searches TileJson + * + * Return TileJSON document for a search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileJsonWithResponse(String searchId, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileJsonWithResponse(searchId, requestOptions); + } + + /** + * Searches Tile Plain + * + * Create a map tile for a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileNoTmsWithResponse(String searchId, double z, double x, double y, + RequestOptions requestOptions) { + return this.serviceClient.getSearchTileNoTmsWithResponse(searchId, z, x, y, requestOptions); + } + + /** + * Searches Tile Format + * + * Create a map tile for a mosaic search with specified format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileNoTmsByFormatWithResponse(String searchId, double z, double x, double y, + String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileNoTmsByFormatWithResponse(searchId, z, x, y, format, requestOptions); + } + + /** + * Searches Tile Scale + * + * Create a map tile for a mosaic search with specified scale. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileNoTmsByScaleWithResponse(String searchId, double z, double x, double y, + double scale, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileNoTmsByScaleWithResponse(searchId, z, x, y, scale, requestOptions); + } + + /** + * Searches Tile + * + * Create a map tile for a mosaic search with specified scale and format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileNoTmsByScaleAndFormatWithResponse(String searchId, double z, double x, + double y, double scale, String format, RequestOptions requestOptions) { + return this.serviceClient.getSearchTileNoTmsByScaleAndFormatWithResponse(searchId, z, x, y, scale, format, + requestOptions); + } + + /** + * Searches Assets For Tile + * + * Return a list of assets which overlap a given tile for a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchAssetsForTileNoTmsWithResponse(String searchId, double z, double x, double y, + RequestOptions requestOptions) { + return this.serviceClient.getSearchAssetsForTileNoTmsWithResponse(searchId, z, x, y, requestOptions); + } + + /** + * Searches Point + * + * Get Point value for a search dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response model for point query operations providing values at a specific location along with + * {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchPointWithResponse(String searchId, double longitude, double latitude, + RequestOptions requestOptions) { + return this.serviceClient.getSearchPointWithResponse(searchId, longitude, latitude, requestOptions); + } + + /** + * Searches Point Assets + * + * Return a list of assets for a given point in a search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *         collection: String (Required)
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchPointWithAssetsWithResponse(String searchId, double longitude, double latitude, + RequestOptions requestOptions) { + return this.serviceClient.getSearchPointWithAssetsWithResponse(searchId, longitude, latitude, requestOptions); + } + + /** + * Matrix Definition + * + * Return Matrix Definition. + * + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return https://github.com/opengeospatial/2D-Tile-Matrix-Set/blob/master/schemas/tms/2.0/json/tileMatrixSet.json + * + * A definition of a tile matrix set following the Tile Matrix Set standard. + * For tileset metadata, such a description (in `tileMatrixSet` property) is only + * required for offline use, + * as an alternative to a link with a + * `http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme` relation type. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileMatrixSet getTileMatrixDefinitions(String tileMatrixSetId) { + // Generated convenience method for getTileMatrixDefinitionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileMatrixDefinitionsWithResponse(tileMatrixSetId, requestOptions).getValue() + .toObject(TileMatrixSet.class); + } + + /** + * Matrix List + * + * Return Matrix List. + * + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getTileMatrices() { + // Generated convenience method for getTileMatricesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileMatricesWithResponse(requestOptions).getValue().toObject(TYPE_REFERENCE_LIST_STRING); + } + + /** + * Get ClassMap Legend + * + * Generate values and color swatches mapping for a given classmap. + * + * @param classmapName classmap name. + * @param trimStart Number of items to trim from the start of the cmap. + * @param trimEnd Number of items to trim from the end of the cmap. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return classMap Legend + * + * Generate values and color swatches mapping for a given classmap. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public ClassMapLegendResponse getClassMapLegend(String classmapName, Integer trimStart, Integer trimEnd) { + // Generated convenience method for getClassMapLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (trimStart != null) { + requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); + } + if (trimEnd != null) { + requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); + } + return getClassMapLegendWithResponse(classmapName, requestOptions).getValue() + .toObject(ClassMapLegendResponse.class); + } + + /** + * Get ClassMap Legend + * + * Generate values and color swatches mapping for a given classmap. + * + * @param classmapName classmap name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return classMap Legend + * + * Generate values and color swatches mapping for a given classmap. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public ClassMapLegendResponse getClassMapLegend(String classmapName) { + // Generated convenience method for getClassMapLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getClassMapLegendWithResponse(classmapName, requestOptions).getValue() + .toObject(ClassMapLegendResponse.class); + } + + /** + * Get Interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow. + * + * @param classmapName classmap name. + * @param trimStart Number of items to trim from the start of the cmap. + * @param trimEnd Number of items to trim from the end of the cmap. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List>> getIntervalLegend(String classmapName, Integer trimStart, Integer trimEnd) { + // Generated convenience method for getIntervalLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (trimStart != null) { + requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); + } + if (trimEnd != null) { + requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); + } + return getIntervalLegendWithResponse(classmapName, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_LIST_LIST_LONG); + } + + /** + * Get Interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow. + * + * @param classmapName classmap name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List>> getIntervalLegend(String classmapName) { + // Generated convenience method for getIntervalLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getIntervalLegendWithResponse(classmapName, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_LIST_LIST_LONG); + } + + /** + * Get Legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim. + * + * @param colorMapName The name of the registered colormap to generate a legend for. + * @param height The output height of the legend image. + * @param width The output width of the legend image. + * @param trimStart Number of items to trim from the start of the cmap. + * @param trimEnd Number of items to trim from the end of the cmap. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getLegend(String colorMapName, Double height, Double width, Integer trimStart, Integer trimEnd) { + // Generated convenience method for getLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (trimStart != null) { + requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); + } + if (trimEnd != null) { + requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); + } + return getLegendWithResponse(colorMapName, requestOptions).getValue(); + } + + /** + * Get Legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim. + * + * @param colorMapName The name of the registered colormap to generate a legend for. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getLegend(String colorMapName) { + // Generated convenience method for getLegendWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getLegendWithResponse(colorMapName, requestOptions).getValue(); + } + + /** + * Register Search + * + * Register a Search query. + * + * @param options Options for registerMosaicsSearch API. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response from a successful mosaic registration with search ID and related links. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerMosaicSearchRegistrationResponse registerMosaicsSearch(RegisterMosaicsSearchOptions options) { + // Generated convenience method for registerMosaicsSearchWithResponse + RequestOptions requestOptions = new RequestOptions(); + RegisterMosaicsSearchRequest registerMosaicsSearchRequestObj + = new RegisterMosaicsSearchRequest().setCollections(options.getCollections()) + .setIds(options.getIds()) + .setBoundingBox(options.getBoundingBox()) + .setIntersects(options.getIntersects()) + .setQuery(options.getQuery()) + .setFilter(options.getFilter()) + .setDatetime(options.getDatetime()) + .setSortBy(options.getSortBy()) + .setFilterLanguage(options.getFilterLanguage()) + .setMetadata(options.getMetadata()); + BinaryData registerMosaicsSearchRequest = BinaryData.fromObject(registerMosaicsSearchRequestObj); + return registerMosaicsSearchWithResponse(registerMosaicsSearchRequest, requestOptions).getValue() + .toObject(TilerMosaicSearchRegistrationResponse.class); + } + + /** + * Tileset List + * + * Return a list of available tilesets for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetList getTilesets(String collectionId, String itemId, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTilesetsWithResponse(collectionId, itemId, requestOptions).getValue().toObject(TileSetList.class); + } + + /** + * Tileset List + * + * Return a list of available tilesets for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetList getTilesets(String collectionId, String itemId) { + // Generated convenience method for getTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTilesetsWithResponse(collectionId, itemId, requestOptions).getValue().toObject(TileSetList.class); + } + + /** + * Tileset Metadata + * + * Return metadata for a specific tileset of a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetMetadata getTilesetMetadata(String collectionId, String itemId, String tileMatrixSetId, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod) { + // Generated convenience method for getTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTilesetMetadataWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileSetMetadata.class); + } + + /** + * Tileset Metadata + * + * Return metadata for a specific tileset of a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetMetadata getTilesetMetadata(String collectionId, String itemId, String tileMatrixSetId) { + // Generated convenience method for getTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTilesetMetadataWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileSetMetadata.class); + } + + /** + * Tile Tilematrixsetid Plain + * + * Create map tile from a dataset (without scale or format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTile(String collectionId, String itemId, String tileMatrixSetId, double z, double x, double y, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, TilerImageFormat format, Integer scale, Double buffer, String colorFormula, + Resampling resampling, List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, + Integer padding, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod) { + // Generated convenience method for getTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, requestOptions).getValue(); + } + + /** + * Tile Tilematrixsetid Plain + * + * Create map tile from a dataset (without scale or format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTile(String collectionId, String itemId, String tileMatrixSetId, double z, double x, + double y) { + // Generated convenience method for getTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, requestOptions).getValue(); + } + + /** + * Tile Tilematrixsetid Format + * + * Create map tile from a dataset (with format in path, without scale). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileByFormat(String collectionId, String itemId, String tileMatrixSetId, double z, double x, + double y, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, Integer scale, + Double buffer, String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, + String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileByFormatWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, format, requestOptions) + .getValue(); + } + + /** + * Tile Tilematrixsetid Format + * + * Create map tile from a dataset (with format in path, without scale). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileByFormat(String collectionId, String itemId, String tileMatrixSetId, double z, double x, + double y, String format) { + // Generated convenience method for getTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileByFormatWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, format, requestOptions) + .getValue(); + } + + /** + * Tile Tilematrixsetid Scale + * + * Create map tile from a dataset (with scale in path, without format). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileByScale(String collectionId, String itemId, String tileMatrixSetId, double z, double x, + double y, double scale, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, TilerImageFormat format, + Double buffer, String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, + String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getTileByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileByScaleWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, requestOptions) + .getValue(); + } + + /** + * Tile Tilematrixsetid Scale + * + * Create map tile from a dataset (with scale in path, without format). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileByScale(String collectionId, String itemId, String tileMatrixSetId, double z, double x, + double y, double scale) { + // Generated convenience method for getTileByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileByScaleWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, requestOptions) + .getValue(); + } + + /** + * Tile Tilematrixsetid + * + * Create map tile from a dataset (with TileMatrixSetId, scale, and format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileByScaleAndFormat(String collectionId, String itemId, String tileMatrixSetId, double z, + double x, double y, double scale, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, Double buffer, + String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileByScaleAndFormatWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).getValue(); + } + + /** + * Tile Tilematrixsetid + * + * Create map tile from a dataset (with TileMatrixSetId, scale, and format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileByScaleAndFormat(String collectionId, String itemId, String tileMatrixSetId, double z, + double x, double y, double scale, String format) { + // Generated convenience method for getTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileByScaleAndFormatWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).getValue(); + } + + /** + * Tile Plain + * + * Create map tile from a dataset (without TileMatrixSetId, scale or format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileNoTms(String collectionId, String itemId, double z, double x, double y, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, TilerImageFormat format, Integer scale, Double buffer, String colorFormula, + Resampling resampling, List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, + Integer padding, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod) { + // Generated convenience method for getTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileNoTmsWithResponse(collectionId, itemId, z, x, y, requestOptions).getValue(); + } + + /** + * Tile Plain + * + * Create map tile from a dataset (without TileMatrixSetId, scale or format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileNoTms(String collectionId, String itemId, double z, double x, double y) { + // Generated convenience method for getTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileNoTmsWithResponse(collectionId, itemId, z, x, y, requestOptions).getValue(); + } + + /** + * Tile Format + * + * Create map tile from a dataset (with format in path, without TileMatrixSetId or scale). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileNoTmsByFormat(String collectionId, String itemId, double z, double x, double y, + String format, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, TileMatrixSetId tileMatrixSetId, Integer scale, Double buffer, String colorFormula, + Resampling resampling, List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, + Integer padding, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod) { + // Generated convenience method for getTileNoTmsByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileNoTmsByFormatWithResponse(collectionId, itemId, z, x, y, format, requestOptions).getValue(); + } + + /** + * Tile Format + * + * Create map tile from a dataset (with format in path, without TileMatrixSetId or scale). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileNoTmsByFormat(String collectionId, String itemId, double z, double x, double y, + String format) { + // Generated convenience method for getTileNoTmsByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileNoTmsByFormatWithResponse(collectionId, itemId, z, x, y, format, requestOptions).getValue(); + } + + /** + * Tile Scale + * + * Create map tile from a dataset (with scale in path, without TileMatrixSetId or format). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileNoTmsByScale(String collectionId, String itemId, double z, double x, double y, + double scale, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, TileMatrixSetId tileMatrixSetId, TilerImageFormat format, Double buffer, + String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getTileNoTmsByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileNoTmsByScaleWithResponse(collectionId, itemId, z, x, y, scale, requestOptions).getValue(); + } + + /** + * Tile Scale + * + * Create map tile from a dataset (with scale in path, without TileMatrixSetId or format). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileNoTmsByScale(String collectionId, String itemId, double z, double x, double y, + double scale) { + // Generated convenience method for getTileNoTmsByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileNoTmsByScaleWithResponse(collectionId, itemId, z, x, y, scale, requestOptions).getValue(); + } + + /** + * Tile + * + * Create map tile from a dataset (with scale and format in path, without TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileNoTmsByScaleAndFormat(String collectionId, String itemId, double z, double x, double y, + double scale, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, Double buffer, String colorFormula, Resampling resampling, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod) { + // Generated convenience method for getTileNoTmsByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getTileNoTmsByScaleAndFormatWithResponse(collectionId, itemId, z, x, y, scale, format, requestOptions) + .getValue(); + } + + /** + * Tile + * + * Create map tile from a dataset (with scale and format in path, without TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getTileNoTmsByScaleAndFormat(String collectionId, String itemId, double z, double x, double y, + double scale, String format) { + // Generated convenience method for getTileNoTmsByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getTileNoTmsByScaleAndFormatWithResponse(collectionId, itemId, z, x, y, scale, format, requestOptions) + .getValue(); + } + + /** + * Geojson Feature + * + * Create image from a geojson feature (without format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param format Output image format. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropFeature(String collectionId, String itemId, Feature body, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, + String colorFormula, String coordinateReferenceSystem, Resampling resampling, Integer maxSize, Integer height, + Integer width, List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, + String destinationCrs, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, TilerImageFormat format) { + // Generated convenience method for cropFeatureWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + return cropFeatureWithResponse(collectionId, itemId, BinaryData.fromObject(body), requestOptions).getValue(); + } + + /** + * Geojson Feature + * + * Create image from a geojson feature (without format in path). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropFeature(String collectionId, String itemId, Feature body) { + // Generated convenience method for cropFeatureWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropFeatureWithResponse(collectionId, itemId, BinaryData.fromObject(body), requestOptions).getValue(); + } + + /** + * Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropFeatureByFormat(String collectionId, String itemId, String format, Feature body, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, String colorFormula, String coordinateReferenceSystem, Resampling resampling, + Integer maxSize, Integer height, Integer width, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, String destinationCrs, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for cropFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return cropFeatureByFormatWithResponse(collectionId, itemId, format, BinaryData.fromObject(body), + requestOptions).getValue(); + } + + /** + * Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropFeatureByFormat(String collectionId, String itemId, String format, Feature body) { + // Generated convenience method for cropFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropFeatureByFormatWithResponse(collectionId, itemId, format, BinaryData.fromObject(body), + requestOptions).getValue(); + } + + /** + * Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropFeatureWidthByHeight(String collectionId, String itemId, int width, int height, String format, + Feature body, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, String colorFormula, String coordinateReferenceSystem, Resampling resampling, + Integer maxSize, List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, + String destinationCrs, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod) { + // Generated convenience method for cropFeatureWidthByHeightWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return cropFeatureWidthByHeightWithResponse(collectionId, itemId, width, height, format, + BinaryData.fromObject(body), requestOptions).getValue(); + } + + /** + * Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropFeatureWidthByHeight(String collectionId, String itemId, int width, int height, String format, + Feature body) { + // Generated convenience method for cropFeatureWidthByHeightWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropFeatureWidthByHeightWithResponse(collectionId, itemId, width, height, format, + BinaryData.fromObject(body), requestOptions).getValue(); + } + + /** + * Item Bounds + * + * Return the bounds for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return geographic extent of a dataset expressed as a bounding box. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public StacItemBounds getItemBounds(String collectionId, String itemId, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemBoundsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemBoundsWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(StacItemBounds.class); + } + + /** + * Item Bounds + * + * Return the bounds for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return geographic extent of a dataset expressed as a bounding box. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public StacItemBounds getItemBounds(String collectionId, String itemId) { + // Generated convenience method for getItemBoundsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemBoundsWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(StacItemBounds.class); + } + + /** + * Item Info + * + * Return dataset's basic info for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param assets Asset's names. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's basic info. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerInfoMapResponse getItemInfo(String collectionId, String itemId, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + List assets) { + // Generated convenience method for getItemInfoWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + return getItemInfoWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(TilerInfoMapResponse.class); + } + + /** + * Item Info + * + * Return dataset's basic info for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's basic info. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerInfoMapResponse getItemInfo(String collectionId, String itemId) { + // Generated convenience method for getItemInfoWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemInfoWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(TilerInfoMapResponse.class); + } + + /** + * Item Info Geojson + * + * Return info as GeoJSON for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param assets Asset's names. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return geoJSON Feature object containing rio-tiler model information. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerInfoGeoJsonFeature getItemInfoGeoJson(String collectionId, String itemId, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + List assets) { + // Generated convenience method for getItemInfoGeoJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + return getItemInfoGeoJsonWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(TilerInfoGeoJsonFeature.class); + } + + /** + * Item Info Geojson + * + * Return info as GeoJSON for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return geoJSON Feature object containing rio-tiler model information. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerInfoGeoJsonFeature getItemInfoGeoJson(String collectionId, String itemId) { + // Generated convenience method for getItemInfoGeoJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemInfoGeoJsonWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(TilerInfoGeoJsonFeature.class); + } + + /** + * Item Available Assets + * + * Return a list of supported assets for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getItemAvailableAssets(String collectionId, String itemId, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemAvailableAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemAvailableAssetsWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_STRING); + } + + /** + * Item Available Assets + * + * Return a list of supported assets for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getItemAvailableAssets(String collectionId, String itemId) { + // Generated convenience method for getItemAvailableAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemAvailableAssetsWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_STRING); + } + + /** + * Item Asset Statistics + * + * Per asset statistics for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param resampling Resampling method. + * @param maxSize Maximum dimension in pixels for the source data used to calculate statistics. + * @param categorical Return statistics for categorical dataset. + * @param categoriesPixels List of pixel categorical values for which to report counts. + * @param percentiles List of percentile values (default to [2, 98]). + * @param histogramBins Defines the number of equal-width bins in the given range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param histogramRange Comma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param assetExpression Per asset band expression. + * @param height Force output image height. + * @param width Force output image width. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's statistics. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AssetStatisticsResponse getItemAssetStatistics(String collectionId, String itemId, List bidx, + List assets, List assetBandIndices, String noData, Boolean unscale, + WarpKernelResampling reproject, Resampling resampling, Integer maxSize, Boolean categorical, + List categoriesPixels, List percentiles, String histogramBins, String histogramRange, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, List assetExpression, Integer height, Integer width) { + // Generated convenience method for getItemAssetStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (categorical != null) { + requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); + } + if (categoriesPixels != null) { + requestOptions.addQueryParam("c", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(categoriesPixels, CollectionFormat.CSV), false); + } + if (percentiles != null) { + requestOptions.addQueryParam("p", + JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), + false); + } + if (histogramBins != null) { + requestOptions.addQueryParam("histogram_bins", histogramBins, false); + } + if (histogramRange != null) { + requestOptions.addQueryParam("histogram_range", histogramRange, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (assetExpression != null) { + requestOptions.addQueryParam("asset_expression", + assetExpression.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + return getItemAssetStatisticsWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(AssetStatisticsResponse.class); + } + + /** + * Item Asset Statistics + * + * Per asset statistics for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's statistics. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public AssetStatisticsResponse getItemAssetStatistics(String collectionId, String itemId) { + // Generated convenience method for getItemAssetStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemAssetStatisticsWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(AssetStatisticsResponse.class); + } + + /** + * Item Statistics + * + * Merged assets statistics for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param resampling Resampling method. + * @param maxSize Maximum dimension in pixels for the source data used to calculate statistics. + * @param categorical Return statistics for categorical dataset. + * @param categoriesPixels List of pixel categorical values for which to report counts. + * @param percentiles List of percentile values (default to [2, 98]). + * @param histogramBins Defines the number of equal-width bins in the given range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param histogramRange Comma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Algorithm name. + * @param algorithmParams Algorithm parameter. + * @param height Force output image height. + * @param width Force output image width. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's statistics. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerStacItemStatistics getItemStatistics(String collectionId, String itemId, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, Resampling resampling, Integer maxSize, Boolean categorical, + List categoriesPixels, List percentiles, String histogramBins, String histogramRange, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, String algorithm, String algorithmParams, Integer height, Integer width) { + // Generated convenience method for getItemStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (categorical != null) { + requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); + } + if (categoriesPixels != null) { + requestOptions.addQueryParam("c", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(categoriesPixels, CollectionFormat.CSV), false); + } + if (percentiles != null) { + requestOptions.addQueryParam("p", + JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), + false); + } + if (histogramBins != null) { + requestOptions.addQueryParam("histogram_bins", histogramBins, false); + } + if (histogramRange != null) { + requestOptions.addQueryParam("histogram_range", histogramRange, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm, false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + return getItemStatisticsWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(TilerStacItemStatistics.class); + } + + /** + * Item Statistics + * + * Merged assets statistics for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return return dataset's statistics. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerStacItemStatistics getItemStatistics(String collectionId, String itemId) { + // Generated convenience method for getItemStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemStatisticsWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(TilerStacItemStatistics.class); + } + + /** + * Item Geojson Statistics + * + * Get statistics from a GeoJSON feature for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @param maxSize Maximum dimension in pixels for the source data used to calculate statistics. + * @param categorical Return statistics for categorical dataset. + * @param categoriesPixels List of pixel categorical values for which to report counts. + * @param percentiles List of percentile values (default to [2, 98]). + * @param histogramBins Defines the number of equal-width bins in the given range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param histogramRange Comma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. + * @param destinationCrs Output Coordinate Reference System. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Algorithm name. + * @param algorithmParams Algorithm parameter. + * @param height Force output image height. + * @param width Force output image width. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return sTAC Item representing a spatiotemporal asset with statistical information. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public StacItemStatisticsGeoJson getItemFeatureStatistics(String collectionId, String itemId, Feature body, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, String coordinateReferenceSystem, + Resampling resampling, Integer maxSize, Boolean categorical, List categoriesPixels, + List percentiles, String histogramBins, String histogramRange, String destinationCrs, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, String algorithm, String algorithmParams, Integer height, Integer width) { + // Generated convenience method for getItemFeatureStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (categorical != null) { + requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); + } + if (categoriesPixels != null) { + requestOptions.addQueryParam("c", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(categoriesPixels, CollectionFormat.CSV), false); + } + if (percentiles != null) { + requestOptions.addQueryParam("p", + JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), + false); + } + if (histogramBins != null) { + requestOptions.addQueryParam("histogram_bins", histogramBins, false); + } + if (histogramRange != null) { + requestOptions.addQueryParam("histogram_range", histogramRange, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm, false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + return getItemFeatureStatisticsWithResponse(collectionId, itemId, BinaryData.fromObject(body), requestOptions) + .getValue() + .toObject(StacItemStatisticsGeoJson.class); + } + + /** + * Item Geojson Statistics + * + * Get statistics from a GeoJSON feature for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return sTAC Item representing a spatiotemporal asset with statistical information. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public StacItemStatisticsGeoJson getItemFeatureStatistics(String collectionId, String itemId, Feature body) { + // Generated convenience method for getItemFeatureStatisticsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemFeatureStatisticsWithResponse(collectionId, itemId, BinaryData.fromObject(body), requestOptions) + .getValue() + .toObject(StacItemStatisticsGeoJson.class); + } + + /** + * Item TileJson + * + * Return TileJSON document for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileJsonMetadata getItemTileJson(String collectionId, String itemId, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, + Integer maxZoom, Double buffer, String colorFormula, Resampling resampling, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemTileJsonWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(TileJsonMetadata.class); + } + + /** + * Item TileJson + * + * Return TileJSON document for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileJsonMetadata getItemTileJson(String collectionId, String itemId) { + // Generated convenience method for getItemTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemTileJsonWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(TileJsonMetadata.class); + } + + /** + * Item TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC item with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileJsonMetadata getItemTileJsonByTms(String collectionId, String itemId, String tileMatrixSetId, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, Integer maxZoom, + Double buffer, String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, + String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemTileJsonByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemTileJsonByTmsWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileJsonMetadata.class); + } + + /** + * Item TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC item with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileJsonMetadata getItemTileJsonByTms(String collectionId, String itemId, String tileMatrixSetId) { + // Generated convenience method for getItemTileJsonByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemTileJsonByTmsWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileJsonMetadata.class); + } + + /** + * Item Wmts + * + * OGC WMTS endpoint for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public byte[] getItemWmtsCapabilities(String collectionId, String itemId, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, + Integer maxZoom, Double buffer, String colorFormula, Resampling resampling, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemWmtsCapabilitiesWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemWmtsCapabilitiesWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(byte[].class); + } + + /** + * Item Wmts + * + * OGC WMTS endpoint for a STAC item. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public byte[] getItemWmtsCapabilities(String collectionId, String itemId) { + // Generated convenience method for getItemWmtsCapabilitiesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemWmtsCapabilitiesWithResponse(collectionId, itemId, requestOptions).getValue() + .toObject(byte[].class); + } + + /** + * Item Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC item with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param resampling Resampling method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public byte[] getItemWmtsCapabilitiesByTms(String collectionId, String itemId, String tileMatrixSetId, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, + String algorithmParams, TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, Integer maxZoom, + Double buffer, String colorFormula, Resampling resampling, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding, String subdatasetName, List subdatasetBands, + String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemWmtsCapabilitiesByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemWmtsCapabilitiesByTmsWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions) + .getValue() + .toObject(byte[].class); + } + + /** + * Item Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC item with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public byte[] getItemWmtsCapabilitiesByTms(String collectionId, String itemId, String tileMatrixSetId) { + // Generated convenience method for getItemWmtsCapabilitiesByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemWmtsCapabilitiesByTmsWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions) + .getValue() + .toObject(byte[].class); + } + + /** + * Item Point + * + * Get point value for a STAC item dataset. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerCoreModelsResponsesPoint getItemPoint(String collectionId, String itemId, double longitude, + double latitude, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + String coordinateReferenceSystem, Resampling resampling) { + // Generated convenience method for getItemPointWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + return getItemPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions).getValue() + .toObject(TilerCoreModelsResponsesPoint.class); + } + + /** + * Item Point + * + * Get point value for a STAC item dataset. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerCoreModelsResponsesPoint getItemPoint(String collectionId, String itemId, double longitude, + double latitude) { + // Generated convenience method for getItemPointWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions).getValue() + .toObject(TilerCoreModelsResponsesPoint.class); + } + + /** + * Item Preview + * + * Create preview of a STAC item dataset. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param dstCrs Output Coordinate Reference System. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getItemPreview(String collectionId, String itemId, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, TilerImageFormat format, + String colorFormula, String dstCrs, Resampling resampling, Integer maxSize, Integer height, Integer width, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemPreviewWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (dstCrs != null) { + requestOptions.addQueryParam("dst_crs", dstCrs, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemPreviewWithResponse(collectionId, itemId, requestOptions).getValue(); + } + + /** + * Item Preview + * + * Create preview of a STAC item dataset. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getItemPreview(String collectionId, String itemId) { + // Generated convenience method for getItemPreviewWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemPreviewWithResponse(collectionId, itemId, requestOptions).getValue(); + } + + /** + * Item Preview With Format + * + * Create preview of a STAC item dataset with format. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param dstCrs Output Coordinate Reference System. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getItemPreviewWithFormat(String collectionId, String itemId, String format, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, + String colorFormula, String dstCrs, Resampling resampling, Integer maxSize, Integer height, Integer width, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemPreviewWithFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (dstCrs != null) { + requestOptions.addQueryParam("dst_crs", dstCrs, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemPreviewWithFormatWithResponse(collectionId, itemId, format, requestOptions).getValue(); + } + + /** + * Item Preview With Format + * + * Create preview of a STAC item dataset with format. + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getItemPreviewWithFormat(String collectionId, String itemId, String format) { + // Generated convenience method for getItemPreviewWithFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemPreviewWithFormatWithResponse(collectionId, itemId, format, requestOptions).getValue(); + } + + /** + * Item Bbox + * + * Create an image from part of a STAC item dataset (bounding box crop). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getItemBboxCrop(String collectionId, String itemId, double minx, double miny, double maxx, + double maxy, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, String colorFormula, + String coordinateReferenceSystem, String destinationCrs, Resampling resampling, Integer maxSize, Integer height, + Integer width, List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod) { + // Generated convenience method for getItemBboxCropWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemBboxCropWithResponse(collectionId, itemId, minx, miny, maxx, maxy, format, requestOptions) + .getValue(); + } + + /** + * Item Bbox + * + * Create an image from part of a STAC item dataset (bounding box crop). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getItemBboxCrop(String collectionId, String itemId, double minx, double miny, double maxx, + double maxy, String format) { + // Generated convenience method for getItemBboxCropWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemBboxCropWithResponse(collectionId, itemId, minx, miny, maxx, maxy, format, requestOptions) + .getValue(); + } + + /** + * Item Bbox With Dimensions + * + * Create an image from part of a STAC item dataset (bounding box crop with dimensions). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param resampling Resampling method. + * @param maxSize Image output size limit if width and height limits are not set. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getItemBboxCropWithDimensions(String collectionId, String itemId, double minx, double miny, + double maxx, double maxy, int width, int height, String format, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, TerrainAlgorithm algorithm, String algorithmParams, String colorFormula, + String coordinateReferenceSystem, String destinationCrs, Resampling resampling, Integer maxSize, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getItemBboxCropWithDimensionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getItemBboxCropWithDimensionsWithResponse(collectionId, itemId, minx, miny, maxx, maxy, width, height, + format, requestOptions).getValue(); + } + + /** + * Item Bbox With Dimensions + * + * Create an image from part of a STAC item dataset (bounding box crop with dimensions). + * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getItemBboxCropWithDimensions(String collectionId, String itemId, double minx, double miny, + double maxx, double maxy, int width, int height, String format) { + // Generated convenience method for getItemBboxCropWithDimensionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getItemBboxCropWithDimensionsWithResponse(collectionId, itemId, minx, miny, maxx, maxy, width, height, + format, requestOptions).getValue(); + } + + /** + * Collection Tileset List + * + * Return a list of available tilesets for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetList getCollectionTilesets(String collectionId, String ids, String bbox, String query, String sortby, + String datetime, String subdatasetName, List subdatasetBands, String crs, List sel, + SelMethod selMethod) { + // Generated convenience method for getCollectionTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getCollectionTilesetsWithResponse(collectionId, requestOptions).getValue().toObject(TileSetList.class); + } + + /** + * Collection Tileset List + * + * Return a list of available tilesets for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetList getCollectionTilesets(String collectionId) { + // Generated convenience method for getCollectionTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTilesetsWithResponse(collectionId, requestOptions).getValue().toObject(TileSetList.class); + } + + /** + * Collection Tileset Metadata + * + * Return metadata for a specific tileset of a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetMetadata getCollectionTilesetMetadata(String collectionId, String tileMatrixSetId, String ids, + String bbox, String query, String sortby, String datetime, String subdatasetName, List subdatasetBands, + String crs, List sel, SelMethod selMethod) { + // Generated convenience method for getCollectionTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getCollectionTilesetMetadataWithResponse(collectionId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileSetMetadata.class); + } + + /** + * Collection Tileset Metadata + * + * Return metadata for a specific tileset of a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetMetadata getCollectionTilesetMetadata(String collectionId, String tileMatrixSetId) { + // Generated convenience method for getCollectionTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTilesetMetadataWithResponse(collectionId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileSetMetadata.class); + } + + /** + * Collection Tile Tilematrixsetid + * + * Create map tile for a STAC collection (with TileMatrixSetId, scale, and format in path). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileByScaleAndFormat(String collectionId, String tileMatrixSetId, double z, double x, + double y, double scale, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, Double buffer, String colorFormula, String collection, + Resampling resampling, PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileByScaleAndFormatWithResponse(collectionId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).getValue(); + } + + /** + * Collection Tile Tilematrixsetid + * + * Create map tile for a STAC collection (with TileMatrixSetId, scale, and format in path). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileByScaleAndFormat(String collectionId, String tileMatrixSetId, double z, double x, + double y, double scale, String format) { + // Generated convenience method for getCollectionTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileByScaleAndFormatWithResponse(collectionId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).getValue(); + } + + /** + * Collection Tile Tilematrixsetid Plain + * + * Create map tile for a STAC collection (with TileMatrixSetId, without scale or format). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTile(String collectionId, String tileMatrixSetId, double z, double x, double y, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, String query, + String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + TilerImageFormat format, Integer scale, Double buffer, String colorFormula, String collection, + Resampling resampling, PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileWithResponse(collectionId, tileMatrixSetId, z, x, y, requestOptions).getValue(); + } + + /** + * Collection Tile Tilematrixsetid Plain + * + * Create map tile for a STAC collection (with TileMatrixSetId, without scale or format). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTile(String collectionId, String tileMatrixSetId, double z, double x, double y) { + // Generated convenience method for getCollectionTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileWithResponse(collectionId, tileMatrixSetId, z, x, y, requestOptions).getValue(); + } + + /** + * Collection Tile Tilematrixsetid Format + * + * Create map tile for a STAC collection (with TileMatrixSetId and format, without scale). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileByFormat(String collectionId, String tileMatrixSetId, double z, double x, + double y, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, Integer scale, Double buffer, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileByFormatWithResponse(collectionId, tileMatrixSetId, z, x, y, format, requestOptions) + .getValue(); + } + + /** + * Collection Tile Tilematrixsetid Format + * + * Create map tile for a STAC collection (with TileMatrixSetId and format, without scale). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileByFormat(String collectionId, String tileMatrixSetId, double z, double x, + double y, String format) { + // Generated convenience method for getCollectionTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileByFormatWithResponse(collectionId, tileMatrixSetId, z, x, y, format, requestOptions) + .getValue(); + } + + /** + * Collection Tile Tilematrixsetid Scale + * + * Create map tile for a STAC collection (with TileMatrixSetId and scale, without format). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileByScale(String collectionId, String tileMatrixSetId, double z, double x, + double y, double scale, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TilerImageFormat format, Double buffer, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileByScaleWithResponse(collectionId, tileMatrixSetId, z, x, y, scale, requestOptions) + .getValue(); + } + + /** + * Collection Tile Tilematrixsetid Scale + * + * Create map tile for a STAC collection (with TileMatrixSetId and scale, without format). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileByScale(String collectionId, String tileMatrixSetId, double z, double x, + double y, double scale) { + // Generated convenience method for getCollectionTileByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileByScaleWithResponse(collectionId, tileMatrixSetId, z, x, y, scale, requestOptions) + .getValue(); + } + + /** + * Collection Tile + * + * Create map tile for a STAC collection (without TileMatrixSetId, with scale and format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles (default: "1"). + * @param format Output format for the tile or image (e.g., png, jpeg, webp) (default: "png"). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileNoTmsByScaleAndFormat(String collectionId, double z, double x, double y, + double scale, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TileMatrixSetId tileMatrixSetId, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileNoTmsByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileNoTmsByScaleAndFormatWithResponse(collectionId, z, x, y, scale, format, requestOptions) + .getValue(); + } + + /** + * Collection Tile + * + * Create map tile for a STAC collection (without TileMatrixSetId, with scale and format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles (default: "1"). + * @param format Output format for the tile or image (e.g., png, jpeg, webp) (default: "png"). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileNoTmsByScaleAndFormat(String collectionId, double z, double x, double y, + double scale, String format) { + // Generated convenience method for getCollectionTileNoTmsByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileNoTmsByScaleAndFormatWithResponse(collectionId, z, x, y, scale, format, requestOptions) + .getValue(); + } + + /** + * Collection Tile Plain + * + * Create map tile for a STAC collection (without TileMatrixSetId, scale, or format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileNoTms(String collectionId, double z, double x, double y, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, + Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, String query, String sortby, + String datetime, String subdatasetName, List subdatasetBands, String crs, List sel, + SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, TileMatrixSetId tileMatrixSetId, + TilerImageFormat format, Integer scale, Double buffer, String colorFormula, String collection, + Resampling resampling, PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileNoTmsWithResponse(collectionId, z, x, y, requestOptions).getValue(); + } + + /** + * Collection Tile Plain + * + * Create map tile for a STAC collection (without TileMatrixSetId, scale, or format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileNoTms(String collectionId, double z, double x, double y) { + // Generated convenience method for getCollectionTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileNoTmsWithResponse(collectionId, z, x, y, requestOptions).getValue(); + } + + /** + * Collection Tile Format + * + * Create map tile for a STAC collection (with format, without TileMatrixSetId or scale). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileNoTmsByFormat(String collectionId, double z, double x, double y, String format, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, String query, + String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, Integer scale, Double buffer, String colorFormula, String collection, + Resampling resampling, PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileNoTmsByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileNoTmsByFormatWithResponse(collectionId, z, x, y, format, requestOptions).getValue(); + } + + /** + * Collection Tile Format + * + * Create map tile for a STAC collection (with format, without TileMatrixSetId or scale). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileNoTmsByFormat(String collectionId, double z, double x, double y, String format) { + // Generated convenience method for getCollectionTileNoTmsByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileNoTmsByFormatWithResponse(collectionId, z, x, y, format, requestOptions).getValue(); + } + + /** + * Collection Tile Scale + * + * Create map tile for a STAC collection (with scale, without TileMatrixSetId or format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileNoTmsByScale(String collectionId, double z, double x, double y, double scale, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, String query, + String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, TilerImageFormat format, Double buffer, String colorFormula, String collection, + Resampling resampling, PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileNoTmsByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileNoTmsByScaleWithResponse(collectionId, z, x, y, scale, requestOptions).getValue(); + } + + /** + * Collection Tile Scale + * + * Create map tile for a STAC collection (with scale, without TileMatrixSetId or format). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionTileNoTmsByScale(String collectionId, double z, double x, double y, double scale) { + // Generated convenience method for getCollectionTileNoTmsByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileNoTmsByScaleWithResponse(collectionId, z, x, y, scale, requestOptions).getValue(); + } + + /** + * Collection TileJson + * + * Return TileJSON document for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileJsonMetadata getCollectionTileJson(String collectionId, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TileMatrixSetId tileMatrixSetId, + TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, Integer maxZoom, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileJsonWithResponse(collectionId, requestOptions).getValue() + .toObject(TileJsonMetadata.class); + } + + /** + * Collection TileJson + * + * Return TileJSON document for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileJsonMetadata getCollectionTileJson(String collectionId) { + // Generated convenience method for getCollectionTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileJsonWithResponse(collectionId, requestOptions).getValue() + .toObject(TileJsonMetadata.class); + } + + /** + * Collection TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC collection with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileJsonMetadata getCollectionTileJsonByTms(String collectionId, String tileMatrixSetId, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, + Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, String query, String sortby, + String datetime, String subdatasetName, List subdatasetBands, String crs, List sel, + SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, TilerImageFormat tileFormat, + Integer tileScale, Integer minZoom, Integer maxZoom, Double buffer, String colorFormula, String collection, + Resampling resampling, PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getCollectionTileJsonByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getCollectionTileJsonByTmsWithResponse(collectionId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileJsonMetadata.class); + } + + /** + * Collection TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC collection with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileJsonMetadata getCollectionTileJsonByTms(String collectionId, String tileMatrixSetId) { + // Generated convenience method for getCollectionTileJsonByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionTileJsonByTmsWithResponse(collectionId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileJsonMetadata.class); + } + + /** + * Collection Wmts + * + * OGC WMTS endpoint for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public byte[] getCollectionWmtsCapabilities(String collectionId, String ids, String bbox, String query, + String sortby, String datetime, TileMatrixSetId tileMatrixSetId, TilerImageFormat tileFormat, Integer tileScale, + Integer minZoom, Integer maxZoom, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject) { + // Generated convenience method for getCollectionWmtsCapabilitiesWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + return getCollectionWmtsCapabilitiesWithResponse(collectionId, requestOptions).getValue() + .toObject(byte[].class); + } + + /** + * Collection Wmts + * + * OGC WMTS endpoint for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public byte[] getCollectionWmtsCapabilities(String collectionId) { + // Generated convenience method for getCollectionWmtsCapabilitiesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionWmtsCapabilitiesWithResponse(collectionId, requestOptions).getValue() + .toObject(byte[].class); + } + + /** + * Collection Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC collection with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public byte[] getCollectionWmtsCapabilitiesByTms(String collectionId, String tileMatrixSetId, String ids, + String bbox, String query, String sortby, String datetime, TilerImageFormat tileFormat, Integer tileScale, + Integer minZoom, Integer maxZoom, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject) { + // Generated convenience method for getCollectionWmtsCapabilitiesByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + return getCollectionWmtsCapabilitiesByTmsWithResponse(collectionId, tileMatrixSetId, requestOptions).getValue() + .toObject(byte[].class); + } + + /** + * Collection Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC collection with TileMatrixSetId as path. + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public byte[] getCollectionWmtsCapabilitiesByTms(String collectionId, String tileMatrixSetId) { + // Generated convenience method for getCollectionWmtsCapabilitiesByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionWmtsCapabilitiesByTmsWithResponse(collectionId, tileMatrixSetId, requestOptions).getValue() + .toObject(byte[].class); + } + + /** + * Collection Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile for a STAC collection (with TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getCollectionAssetsForTile(String collectionId, String tileMatrixSetId, double z, + double x, double y, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod) { + // Generated convenience method for getCollectionAssetsForTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getCollectionAssetsForTileWithResponse(collectionId, tileMatrixSetId, z, x, y, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON); + } + + /** + * Collection Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile for a STAC collection (with TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getCollectionAssetsForTile(String collectionId, String tileMatrixSetId, double z, + double x, double y) { + // Generated convenience method for getCollectionAssetsForTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionAssetsForTileWithResponse(collectionId, tileMatrixSetId, z, x, y, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON); + } + + /** + * Collection Assets For Tile + * + * Return a list of assets which overlap a given tile for a STAC collection (without TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getCollectionAssetsForTileNoTms(String collectionId, double z, double x, double y, + Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, + String bbox, String query, String sortby, String datetime, String subdatasetName, List subdatasetBands, + String crs, List sel, SelMethod selMethod, TileMatrixSetId tileMatrixSetId) { + // Generated convenience method for getCollectionAssetsForTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + return getCollectionAssetsForTileNoTmsWithResponse(collectionId, z, x, y, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_BINARY_DATA); + } + + /** + * Collection Assets For Tile + * + * Return a list of assets which overlap a given tile for a STAC collection (without TileMatrixSetId). + * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getCollectionAssetsForTileNoTms(String collectionId, double z, double x, double y) { + // Generated convenience method for getCollectionAssetsForTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionAssetsForTileNoTmsWithResponse(collectionId, z, x, y, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_BINARY_DATA); + } + + /** + * Collection Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getCollectionAssetsForBbox(String collectionId, double minx, double miny, double maxx, + double maxy, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + String coordinateReferenceSystem) { + // Generated convenience method for getCollectionAssetsForBboxWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + return getCollectionAssetsForBboxWithResponse(collectionId, minx, miny, maxx, maxy, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_BINARY_DATA); + } + + /** + * Collection Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a STAC collection. + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getCollectionAssetsForBbox(String collectionId, double minx, double miny, double maxx, + double maxy) { + // Generated convenience method for getCollectionAssetsForBboxWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionAssetsForBboxWithResponse(collectionId, minx, miny, maxx, maxy, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_BINARY_DATA); + } + + /** + * Collection Info + * + * Return search query info from a STAC collection identifier. + * + * @param collectionId STAC Collection Identifier. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return information about a registered STAC search query. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerStacSearchRegistration getCollectionInfo(String collectionId) { + // Generated convenience method for getCollectionInfoWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionInfoWithResponse(collectionId, requestOptions).getValue() + .toObject(TilerStacSearchRegistration.class); + } + + /** + * Collection Bbox + * + * Create an image from part of a STAC collection dataset (bounding box crop). + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionBboxCrop(String collectionId, double minx, double miny, double maxx, double maxy, + String format, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, + String query, String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + String coordinateReferenceSystem, String destinationCrs, Integer maxSize, Integer height, Integer width, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask) { + // Generated convenience method for getCollectionBboxCropWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + return getCollectionBboxCropWithResponse(collectionId, minx, miny, maxx, maxy, format, requestOptions) + .getValue(); + } + + /** + * Collection Bbox + * + * Create an image from part of a STAC collection dataset (bounding box crop). + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionBboxCrop(String collectionId, double minx, double miny, double maxx, double maxy, + String format) { + // Generated convenience method for getCollectionBboxCropWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionBboxCropWithResponse(collectionId, minx, miny, maxx, maxy, format, requestOptions) + .getValue(); + } + + /** + * Collection Bbox With Dimensions + * + * Create an image from part of a STAC collection dataset (bounding box crop with dimensions). + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param maxSize Image output size limit if width and height limits are not set. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionBboxCropWithDimensions(String collectionId, double minx, double miny, double maxx, + double maxy, int width, int height, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, String coordinateReferenceSystem, String destinationCrs, + Integer maxSize, String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask) { + // Generated convenience method for getCollectionBboxCropWithDimensionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + return getCollectionBboxCropWithDimensionsWithResponse(collectionId, minx, miny, maxx, maxy, width, height, + format, requestOptions).getValue(); + } + + /** + * Collection Bbox With Dimensions + * + * Create an image from part of a STAC collection dataset (bounding box crop with dimensions). + * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getCollectionBboxCropWithDimensions(String collectionId, double minx, double miny, double maxx, + double maxy, int width, int height, String format) { + // Generated convenience method for getCollectionBboxCropWithDimensionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionBboxCropWithDimensionsWithResponse(collectionId, minx, miny, maxx, maxy, width, height, + format, requestOptions).getValue(); + } + + /** + * Collection Geojson Feature + * + * Create image from a geojson feature (without format in path). + * + * @param collectionId STAC Collection Identifier. + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @param format Output image format. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropCollectionFeature(String collectionId, Feature body, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String ids, String bbox, String query, String sortby, String datetime, + String subdatasetName, List subdatasetBands, String crs, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, String coordinateReferenceSystem, Integer maxSize, + Integer height, Integer width, String colorFormula, String collection, Resampling resampling, + PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask, String destinationCrs, TilerImageFormat format) { + // Generated convenience method for cropCollectionFeatureWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + return cropCollectionFeatureWithResponse(collectionId, BinaryData.fromObject(body), requestOptions).getValue(); + } + + /** + * Collection Geojson Feature + * + * Create image from a geojson feature (without format in path). + * + * @param collectionId STAC Collection Identifier. + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropCollectionFeature(String collectionId, Feature body) { + // Generated convenience method for cropCollectionFeatureWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropCollectionFeatureWithResponse(collectionId, BinaryData.fromObject(body), requestOptions).getValue(); + } + + /** + * Collection Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + * + * @param collectionId STAC Collection Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropCollectionFeatureByFormat(String collectionId, String format, Feature body, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, String query, + String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + String coordinateReferenceSystem, Integer maxSize, Integer height, Integer width, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, String destinationCrs) { + // Generated convenience method for cropCollectionFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + return cropCollectionFeatureByFormatWithResponse(collectionId, format, BinaryData.fromObject(body), + requestOptions).getValue(); + } + + /** + * Collection Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + * + * @param collectionId STAC Collection Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropCollectionFeatureByFormat(String collectionId, String format, Feature body) { + // Generated convenience method for cropCollectionFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropCollectionFeatureByFormatWithResponse(collectionId, format, BinaryData.fromObject(body), + requestOptions).getValue(); + } + + /** + * Collection Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + * + * @param collectionId STAC Collection Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropCollectionFeatureWidthByHeight(String collectionId, int width, int height, String format, + Feature body, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, String bbox, + String query, String sortby, String datetime, String subdatasetName, List subdatasetBands, String crs, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + String coordinateReferenceSystem, Integer maxSize, String colorFormula, String collection, + Resampling resampling, PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, + String colorMap, Boolean returnMask, String destinationCrs) { + // Generated convenience method for cropCollectionFeatureWidthByHeightWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + return cropCollectionFeatureWidthByHeightWithResponse(collectionId, width, height, format, + BinaryData.fromObject(body), requestOptions).getValue(); + } + + /** + * Collection Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + * + * @param collectionId STAC Collection Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropCollectionFeatureWidthByHeight(String collectionId, int width, int height, String format, + Feature body) { + // Generated convenience method for cropCollectionFeatureWidthByHeightWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropCollectionFeatureWidthByHeightWithResponse(collectionId, width, height, format, + BinaryData.fromObject(body), requestOptions).getValue(); + } + + /** + * Collection Point + * + * Get Point value for a collection dataset. + * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerCoreModelsResponsesPoint getCollectionPoint(String collectionId, double longitude, double latitude, + Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, + String bbox, String query, String sortby, String datetime, String subdatasetName, List subdatasetBands, + String crs, List sel, SelMethod selMethod, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, String coordinateReferenceSystem, Resampling resampling) { + // Generated convenience method for getCollectionPointWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + return getCollectionPointWithResponse(collectionId, longitude, latitude, requestOptions).getValue() + .toObject(TilerCoreModelsResponsesPoint.class); + } + + /** + * Collection Point + * + * Get Point value for a collection dataset. + * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerCoreModelsResponsesPoint getCollectionPoint(String collectionId, double longitude, double latitude) { + // Generated convenience method for getCollectionPointWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionPointWithResponse(collectionId, longitude, latitude, requestOptions).getValue() + .toObject(TilerCoreModelsResponsesPoint.class); + } + + /** + * Collection Point Assets + * + * Return a list of assets for a given point in a collection. + * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param ids Array of Item ids. + * @param bbox Bounding box (west, south, east, north). + * @param query JSON query expression for filtering items. + * @param sortby Sorting expression (e.g. +/-property). + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getCollectionPointAssets(String collectionId, double longitude, double latitude, + Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String ids, + String bbox, String query, String sortby, String datetime, String subdatasetName, List subdatasetBands, + String crs, List sel, SelMethod selMethod, String coordinateReferenceSystem) { + // Generated convenience method for getCollectionPointAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (ids != null) { + requestOptions.addQueryParam("ids", ids, false); + } + if (bbox != null) { + requestOptions.addQueryParam("bbox", bbox, false); + } + if (query != null) { + requestOptions.addQueryParam("query", query, false); + } + if (sortby != null) { + requestOptions.addQueryParam("sortby", sortby, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + return getCollectionPointAssetsWithResponse(collectionId, longitude, latitude, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET); + } + + /** + * Collection Point Assets + * + * Return a list of assets for a given point in a collection. + * + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getCollectionPointAssets(String collectionId, double longitude, double latitude) { + // Generated convenience method for getCollectionPointAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getCollectionPointAssetsWithResponse(collectionId, longitude, latitude, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET); + } + + /** + * Searches Tileset List + * + * Return a list of available tilesets for a mosaic search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetList getSearchTilesets(String searchId, String subdatasetName, List subdatasetBands, + String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getSearchTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getSearchTilesetsWithResponse(searchId, requestOptions).getValue().toObject(TileSetList.class); + } + + /** + * Searches Tileset List + * + * Return a list of available tilesets for a mosaic search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response containing a list of available tilesets. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetList getSearchTilesets(String searchId) { + // Generated convenience method for getSearchTilesetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTilesetsWithResponse(searchId, requestOptions).getValue().toObject(TileSetList.class); + } + + /** + * Searches Tileset Metadata + * + * Return metadata for a specific tileset of a mosaic search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetMetadata getSearchTilesetMetadata(String searchId, String tileMatrixSetId, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod) { + // Generated convenience method for getSearchTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getSearchTilesetMetadataWithResponse(searchId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileSetMetadata.class); + } + + /** + * Searches Tileset Metadata + * + * Return metadata for a specific tileset of a mosaic search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return detailed metadata about a specific tileset, including tile matrix set limits. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileSetMetadata getSearchTilesetMetadata(String searchId, String tileMatrixSetId) { + // Generated convenience method for getSearchTilesetMetadataWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTilesetMetadataWithResponse(searchId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileSetMetadata.class); + } + + /** + * Searches Tile Tilematrixsetid + * + * Create map tile (with TileMatrixSetId, scale, and format in path). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getSearchTileByScaleAndFormat(String searchId, String tileMatrixSetId, double z, double x, + double y, double scale, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileByScaleAndFormatWithResponse(searchId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).getValue(); + } + + /** + * Searches Tile Tilematrixsetid + * + * Create map tile (with TileMatrixSetId, scale, and format in path). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getSearchTileByScaleAndFormat(String searchId, String tileMatrixSetId, double z, double x, + double y, double scale, String format) { + // Generated convenience method for getSearchTileByScaleAndFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTileByScaleAndFormatWithResponse(searchId, tileMatrixSetId, z, x, y, scale, format, + requestOptions).getValue(); + } + + /** + * Searches Tile Tilematrixsetid Plain + * + * Create map tile (with TileMatrixSetId, without scale or format). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getSearchTile(String searchId, String tileMatrixSetId, double z, double x, double y, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TilerImageFormat format, Integer scale, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileWithResponse(searchId, tileMatrixSetId, z, x, y, requestOptions).getValue(); + } + + /** + * Searches Tile Tilematrixsetid Plain + * + * Create map tile (with TileMatrixSetId, without scale or format). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getSearchTile(String searchId, String tileMatrixSetId, double z, double x, double y) { + // Generated convenience method for getSearchTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTileWithResponse(searchId, tileMatrixSetId, z, x, y, requestOptions).getValue(); + } + + /** + * Searches Tile Tilematrixsetid Format + * + * Create map tile (with TileMatrixSetId and format, without scale). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getSearchTileByFormat(String searchId, String tileMatrixSetId, double z, double x, double y, + String format, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, Integer scale, Double buffer, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileByFormatWithResponse(searchId, tileMatrixSetId, z, x, y, format, requestOptions).getValue(); + } + + /** + * Searches Tile Tilematrixsetid Format + * + * Create map tile (with TileMatrixSetId and format, without scale). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getSearchTileByFormat(String searchId, String tileMatrixSetId, double z, double x, double y, + String format) { + // Generated convenience method for getSearchTileByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTileByFormatWithResponse(searchId, tileMatrixSetId, z, x, y, format, requestOptions).getValue(); + } + + /** + * Searches Tile Tilematrixsetid Scale + * + * Create map tile (with TileMatrixSetId and scale, without format). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getSearchTileByScale(String searchId, String tileMatrixSetId, double z, double x, double y, + double scale, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TilerImageFormat format, Double buffer, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileByScaleWithResponse(searchId, tileMatrixSetId, z, x, y, scale, requestOptions).getValue(); + } + + /** + * Searches Tile Tilematrixsetid Scale + * + * Create map tile (with TileMatrixSetId and scale, without format). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData getSearchTileByScale(String searchId, String tileMatrixSetId, double z, double x, double y, + double scale) { + // Generated convenience method for getSearchTileByScaleWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTileByScaleWithResponse(searchId, tileMatrixSetId, z, x, y, scale, requestOptions).getValue(); + } + + /** + * Searches Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile. * * @param searchId Search Id (pgSTAC Search Hash). * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param collectionId STAC Collection Identifier. * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and * representing the scaleDenominator the tile. * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixHeight-1 for the selected TileMatrix. * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixWidth-1 for the selected TileMatrix. - * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsTileWithResponse(String searchId, String tileMatrixSetId, double z, double x, - double y, double scale, String format, RequestOptions requestOptions) { - return this.serviceClient.getMosaicsTileWithResponse(searchId, tileMatrixSetId, z, x, y, scale, format, - requestOptions); + public List getSearchAssetsForTile(String searchId, String tileMatrixSetId, String collectionId, + double z, double x, double y, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod) { + // Generated convenience method for getSearchAssetsForTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + return getSearchAssetsForTileWithResponse(searchId, tileMatrixSetId, collectionId, z, x, y, requestOptions) + .getValue() + .toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON); } /** - * Wmts Tilematrixsetid As Path + * Searches Assets For Tile Tilematrixsetid As Path * - * OGC WMTS endpoint. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", - * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: - * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set - * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", - * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", - * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", - * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", - * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", - * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", - * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", - * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", - * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", - * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", - * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", - * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", - * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", - * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", - * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", - * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", - * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", - * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", - * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", - * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", - * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", - * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", - * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", - * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", - * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * byte[]
-     * }
-     * 
+ * Return a list of assets which overlap a given tile. * * @param searchId Search Id (pgSTAC Search Hash). * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represent a byte array along with {@link Response}. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsWmtsCapabilitiesWithResponse(String searchId, String tileMatrixSetId, - RequestOptions requestOptions) { - return this.serviceClient.getMosaicsWmtsCapabilitiesWithResponse(searchId, tileMatrixSetId, requestOptions); + public List getSearchAssetsForTile(String searchId, String tileMatrixSetId, String collectionId, + double z, double x, double y) { + // Generated convenience method for getSearchAssetsForTileWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchAssetsForTileWithResponse(searchId, tileMatrixSetId, collectionId, z, x, y, requestOptions) + .getValue() + .toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON); } /** - * Matrix Definition + * Searches TileJson Tilematrixsetid As Path * - * Return Matrix Definition. + * Return TileJSON document for a search with TileMatrixSetId as path. * + * @param searchId Search Id (pgSTAC Search Hash). * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return https://github.com/opengeospatial/2D-Tile-Matrix-Set/blob/master/schemas/tms/2.0/json/tileMatrixSet.json + * @return tileJSON metadata describing a tile set according to the TileJSON specification * - * A definition of a tile matrix set following the Tile Matrix Set standard. - * For tileset metadata, such a description (in `tileMatrixSet` property) is only - * required for offline use, - * as an alternative to a link with a - * `http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme` relation type. + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public TileMatrixSet getTileMatrixDefinitions(String tileMatrixSetId) { - // Generated convenience method for getTileMatrixDefinitionsWithResponse + public TileJsonMetadata getSearchTileJsonByTms(String searchId, String tileMatrixSetId, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, + Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + Integer minZoom, Integer maxZoom, TilerImageFormat tileFormat, Integer tileScale, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileJsonByTmsWithResponse RequestOptions requestOptions = new RequestOptions(); - return getTileMatrixDefinitionsWithResponse(tileMatrixSetId, requestOptions).getValue() - .toObject(TileMatrixSet.class); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileJsonByTmsWithResponse(searchId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileJsonMetadata.class); } /** - * Matrix List + * Searches TileJson Tilematrixsetid As Path * - * Return Matrix List. + * Return TileJSON document for a search with TileMatrixSetId as path. * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public List listTileMatrices() { - // Generated convenience method for listTileMatricesWithResponse + public TileJsonMetadata getSearchTileJsonByTms(String searchId, String tileMatrixSetId) { + // Generated convenience method for getSearchTileJsonByTmsWithResponse RequestOptions requestOptions = new RequestOptions(); - return listTileMatricesWithResponse(requestOptions).getValue().toObject(TYPE_REFERENCE_LIST_STRING); + return getSearchTileJsonByTmsWithResponse(searchId, tileMatrixSetId, requestOptions).getValue() + .toObject(TileJsonMetadata.class); } /** - * Asset Statistics + * Searches Wmts Tilematrixsetid As Path * - * Per Asset statistics. + * OGC WMTS endpoint with TileMatrixSetId as path. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param options Options for asset statistics including asset selection and statistical calculation parameters. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return return dataset's statistics. + * @return represent a byte array. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public AssetStatisticsResponse getAssetStatistics(String collectionId, String itemId, - GetAssetStatisticsOptions options) { - // Generated convenience method for getAssetStatisticsWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - Boolean categorical = options.isCategorical(); - List categoriesPixels = options.getCategoriesPixels(); - List percentiles = options.getPercentiles(); - String histogramBins = options.getHistogramBins(); - String histogramRange = options.getHistogramRange(); + public byte[] getSearchWmtsCapabilitiesByTms(String searchId, String tileMatrixSetId, TilerImageFormat tileFormat, + Integer tileScale, Integer minZoom, Integer maxZoom, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject) { + // Generated convenience method for getSearchWmtsCapabilitiesByTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -2709,105 +22491,136 @@ public AssetStatisticsResponse getAssetStatistics(String collectionId, String it requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); - } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); - } - if (categorical != null) { - requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); - } - if (categoriesPixels != null) { - requestOptions.addQueryParam("c", - categoriesPixels.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); - } - if (percentiles != null) { - requestOptions.addQueryParam("p", - JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), - false); - } - if (histogramBins != null) { - requestOptions.addQueryParam("histogram_bins", histogramBins, false); - } - if (histogramRange != null) { - requestOptions.addQueryParam("histogram_range", histogramRange, false); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); } - return getAssetStatisticsWithResponse(collectionId, itemId, requestOptions).getValue() - .toObject(AssetStatisticsResponse.class); + return getSearchWmtsCapabilitiesByTmsWithResponse(searchId, tileMatrixSetId, requestOptions).getValue() + .toObject(byte[].class); } /** - * Available Assets + * Searches Wmts Tilematrixsetid As Path * - * Return a list of supported assets. + * OGC WMTS endpoint with TileMatrixSetId as path. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return represent a byte array. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public List listAvailableAssets(String collectionId, String itemId) { - // Generated convenience method for listAvailableAssetsWithResponse + public byte[] getSearchWmtsCapabilitiesByTms(String searchId, String tileMatrixSetId) { + // Generated convenience method for getSearchWmtsCapabilitiesByTmsWithResponse RequestOptions requestOptions = new RequestOptions(); - return listAvailableAssetsWithResponse(collectionId, itemId, requestOptions).getValue() - .toObject(TYPE_REFERENCE_LIST_STRING); + return getSearchWmtsCapabilitiesByTmsWithResponse(searchId, tileMatrixSetId, requestOptions).getValue() + .toObject(byte[].class); } /** - * Bounds + * Searches Info * - * Return all Bounds. + * Get Search query metadata. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return geographic extent of a dataset expressed as a bounding box. + * @return information about a registered STAC search query. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public StacItemBounds getBounds(String collectionId, String itemId) { - // Generated convenience method for getBoundsWithResponse + public TilerStacSearchRegistration getSearchInfo(String searchId) { + // Generated convenience method for getSearchInfoWithResponse RequestOptions requestOptions = new RequestOptions(); - return getBoundsWithResponse(collectionId, itemId, requestOptions).getValue().toObject(StacItemBounds.class); + return getSearchInfoWithResponse(searchId, requestOptions).getValue() + .toObject(TilerStacSearchRegistration.class); } /** - * Geojson Crop + * Searches Bbox * - * Create image from a geojson feature. + * Create an image from part of a dataset (bounding box crop). * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for GeoJSON cropping including asset selection, terrain algorithms, and visual rendering. - * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2818,26 +22631,22 @@ public StacItemBounds getBounds(String collectionId, String itemId) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData cropGeoJson(String collectionId, String itemId, String format, CropGeoJsonOptions options, - Feature body) { - // Generated convenience method for cropGeoJsonWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String coordinateReferenceSystem = options.getCoordinateReferenceSystem(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); + public BinaryData getSearchBboxCrop(String searchId, double minx, double miny, double maxx, double maxy, + String format, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, String coordinateReferenceSystem, String destinationCrs, + Integer maxSize, Integer height, Integer width, String colorFormula, String collection, Resampling resampling, + PixelSelection pixelSelection, List rescale, ColorMapNames colorMapName, String colorMap, + Boolean returnMask) { + // Generated convenience method for getSearchBboxCropWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -2849,34 +22658,94 @@ public BinaryData cropGeoJson(String collectionId, String itemId, String format, requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } if (algorithm != null) { requestOptions.addQueryParam("algorithm", algorithm.toString(), false); } if (algorithmParams != null) { requestOptions.addQueryParam("algorithm_params", algorithmParams, false); } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } if (colorFormula != null) { requestOptions.addQueryParam("color_formula", colorFormula, false); } - if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); } if (resampling != null) { requestOptions.addQueryParam("resampling", resampling.toString(), false); } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); } if (rescale != null) { for (String paramItemValue : rescale) { @@ -2894,22 +22763,20 @@ public BinaryData cropGeoJson(String collectionId, String itemId, String format, if (returnMask != null) { requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - return cropGeoJsonWithResponse(collectionId, itemId, format, BinaryData.fromObject(body), requestOptions) - .getValue(); + return getSearchBboxCropWithResponse(searchId, minx, miny, maxx, maxy, format, requestOptions).getValue(); } /** - * Geojson Crop + * Searches Bbox * - * Create image from a geojson feature. + * Create an image from part of a dataset (bounding box crop). * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param width Width in pixels for the output image. - * @param height Height in pixels for the output image. + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for GeoJSON cropping including asset selection, terrain algorithms, and visual rendering. - * @param body Request GeoJson body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2920,122 +22787,100 @@ public BinaryData cropGeoJson(String collectionId, String itemId, String format, */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData cropGeoJsonWithDimensions(String collectionId, String itemId, int width, int height, - String format, CropGeoJsonOptions options, Feature body) { - // Generated convenience method for cropGeoJsonWithDimensionsWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String coordinateReferenceSystem = options.getCoordinateReferenceSystem(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - if (assets != null) { - for (String paramItemValue : assets) { - if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); - } - } - } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); - } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); - } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); - } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); - } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); - } - if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); - } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); - } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); - } - if (rescale != null) { - for (String paramItemValue : rescale) { - if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); - } - } - } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); - } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); - } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); - } - return cropGeoJsonWithDimensionsWithResponse(collectionId, itemId, width, height, format, - BinaryData.fromObject(body), requestOptions).getValue(); + public BinaryData getSearchBboxCrop(String searchId, double minx, double miny, double maxx, double maxy, + String format) { + // Generated convenience method for getSearchBboxCropWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchBboxCropWithResponse(searchId, minx, miny, maxx, maxy, format, requestOptions).getValue(); } /** - * Geojson Statistics + * Searches Bbox With Dimensions + * + * Create an image from part of a dataset (bounding box crop with dimensions). + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - * Get Statistics from a geojson feature. + * Examples: * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param options Options for GeoJSON statistics including asset selection and statistical calculation parameters. - * @param body Request GeoJson body. + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param destinationCrs Output Coordinate Reference System. + * @param maxSize Image output size limit if width and height limits are not set. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return sTAC Item representing a spatiotemporal asset with statistical information. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public StacItemStatisticsGeoJson getGeoJsonStatistics(String collectionId, String itemId, - GetGeoJsonStatisticsOptions options, Feature body) { - // Generated convenience method for getGeoJsonStatisticsWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - Boolean categorical = options.isCategorical(); - List categoriesPixels = options.getCategoriesPixels(); - List percentiles = options.getPercentiles(); - String histogramBins = options.getHistogramBins(); - String histogramRange = options.getHistogramRange(); + public BinaryData getSearchBboxCropWithDimensions(String searchId, double minx, double miny, double maxx, + double maxy, int width, int height, String format, List bidx, List assets, String expression, + List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + String coordinateReferenceSystem, String destinationCrs, Integer maxSize, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask) { + // Generated convenience method for getSearchBboxCropWithDimensionsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3047,174 +22892,177 @@ public StacItemStatisticsGeoJson getGeoJsonStatistics(String collectionId, Strin requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } - if (categorical != null) { - requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); } - if (categoriesPixels != null) { - requestOptions.addQueryParam("c", - categoriesPixels.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); } - if (percentiles != null) { - requestOptions.addQueryParam("p", - JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), - false); + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); } - if (histogramBins != null) { - requestOptions.addQueryParam("histogram_bins", histogramBins, false); + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - if (histogramRange != null) { - requestOptions.addQueryParam("histogram_range", histogramRange, false); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } - return getGeoJsonStatisticsWithResponse(collectionId, itemId, BinaryData.fromObject(body), requestOptions) - .getValue() - .toObject(StacItemStatisticsGeoJson.class); - } - - /** - * Info Geojson - * - * Return Info Geojson. - * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param assets Asset's names. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return geoJSON Feature object containing rio-tiler model information. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public TilerInfoGeoJsonFeature getInfoGeoJson(String collectionId, String itemId, List assets) { - // Generated convenience method for getInfoGeoJsonWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (assets != null) { - for (String paramItemValue : assets) { + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - return getInfoGeoJsonWithResponse(collectionId, itemId, requestOptions).getValue() - .toObject(TilerInfoGeoJsonFeature.class); - } - - /** - * Info Geojson - * - * Return Info Geojson. - * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return geoJSON Feature object containing rio-tiler model information. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public TilerInfoGeoJsonFeature getInfoGeoJson(String collectionId, String itemId) { - // Generated convenience method for getInfoGeoJsonWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getInfoGeoJsonWithResponse(collectionId, itemId, requestOptions).getValue() - .toObject(TilerInfoGeoJsonFeature.class); - } - - /** - * Info - * - * Return dataset's basic info. - * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param assets Asset's names. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return return dataset's basic info. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public TilerInfoMapResponse getItemAssetDetails(String collectionId, String itemId, List assets) { - // Generated convenience method for getItemAssetDetailsWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (assets != null) { - for (String paramItemValue : assets) { + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); + requestOptions.addQueryParam("rescale", paramItemValue, false); } } } - return getItemAssetDetailsWithResponse(collectionId, itemId, requestOptions).getValue() - .toObject(TilerInfoMapResponse.class); + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + return getSearchBboxCropWithDimensionsWithResponse(searchId, minx, miny, maxx, maxy, width, height, format, + requestOptions).getValue(); } /** - * Info + * Searches Bbox With Dimensions * - * Return dataset's basic info. + * Create an image from part of a dataset (bounding box crop with dimensions). * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return return dataset's basic info. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public TilerInfoMapResponse getItemAssetDetails(String collectionId, String itemId) { - // Generated convenience method for getItemAssetDetailsWithResponse + public BinaryData getSearchBboxCropWithDimensions(String searchId, double minx, double miny, double maxx, + double maxy, int width, int height, String format) { + // Generated convenience method for getSearchBboxCropWithDimensionsWithResponse RequestOptions requestOptions = new RequestOptions(); - return getItemAssetDetailsWithResponse(collectionId, itemId, requestOptions).getValue() - .toObject(TilerInfoMapResponse.class); + return getSearchBboxCropWithDimensionsWithResponse(searchId, minx, miny, maxx, maxy, width, height, format, + requestOptions).getValue(); } /** - * Part + * Searches Assets For Bbox * - * Create image from part of a dataset. + * Return a list of assets which overlap a given bounding box for a search. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). * @param minx Bounding box min X. * @param miny Bounding box min Y. * @param maxx Bounding box max X. * @param maxy Bounding box max Y. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for part generation including asset selection, terrain algorithms, and visual rendering. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3225,104 +23073,142 @@ public TilerInfoMapResponse getItemAssetDetails(String collectionId, String item */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData getPart(String collectionId, String itemId, double minx, double miny, double maxx, double maxy, - String format, GetPartOptions options) { - // Generated convenience method for getPartWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String coordinateReferenceSystem = options.getCoordinateReferenceSystem(); - String dstCrs = options.getDstCrs(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - if (assets != null) { - for (String paramItemValue : assets) { - if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); - } - } - } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + public List getSearchBboxAssets(String searchId, double minx, double miny, double maxx, double maxy, + Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, String coordinateReferenceSystem) { + // Generated convenience method for getSearchBboxAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } - if (dstCrs != null) { - requestOptions.addQueryParam("dst-crs", dstCrs, false); + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); } - if (rescale != null) { - for (String paramItemValue : rescale) { + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); - } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); } - return getPartWithResponse(collectionId, itemId, minx, miny, maxx, maxy, format, requestOptions).getValue(); + return getSearchBboxAssetsWithResponse(searchId, minx, miny, maxx, maxy, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_BINARY_DATA); + } + + /** + * Searches Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getSearchBboxAssets(String searchId, double minx, double miny, double maxx, double maxy) { + // Generated convenience method for getSearchBboxAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchBboxAssetsWithResponse(searchId, minx, miny, maxx, maxy, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_BINARY_DATA); } /** - * Part + * Searches Geojson Feature * - * Create image from part of a dataset. + * Create image from a geojson feature (without format in path). * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param minx Bounding box min X. - * @param miny Bounding box min Y. - * @param maxx Bounding box max X. - * @param maxy Bounding box max Y. - * @param width Width in pixels for the output image. + * @param searchId Search Id (pgSTAC Search Hash). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. * @param height Height in pixels for the output image. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for part generation including asset selection, terrain algorithms, and visual rendering. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. + * @param format Output image format. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3333,27 +23219,22 @@ public BinaryData getPart(String collectionId, String itemId, double minx, doubl */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData getPartWithDimensions(String collectionId, String itemId, double minx, double miny, double maxx, - double maxy, int width, int height, String format, GetPartOptions options) { - // Generated convenience method for getPartWithDimensionsWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String coordinateReferenceSystem = options.getCoordinateReferenceSystem(); - String dstCrs = options.getDstCrs(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); + public BinaryData cropSearchFeature(String searchId, Feature body, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + String coordinateReferenceSystem, Integer maxSize, Integer height, Integer width, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, String destinationCrs, + TilerImageFormat format) { + // Generated convenience method for cropSearchFeatureWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3365,37 +23246,91 @@ public BinaryData getPartWithDimensions(String collectionId, String itemId, doub requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } if (algorithm != null) { requestOptions.addQueryParam("algorithm", algorithm.toString(), false); } if (algorithmParams != null) { requestOptions.addQueryParam("algorithm_params", algorithmParams, false); } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } + if (height != null) { + requestOptions.addQueryParam("height", String.valueOf(height), false); + } + if (width != null) { + requestOptions.addQueryParam("width", String.valueOf(width), false); + } if (colorFormula != null) { requestOptions.addQueryParam("color_formula", colorFormula, false); } - if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); - } - if (dstCrs != null) { - requestOptions.addQueryParam("dst-crs", dstCrs, false); + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); } if (resampling != null) { requestOptions.addQueryParam("resampling", resampling.toString(), false); } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); } if (rescale != null) { for (String paramItemValue : rescale) { @@ -3413,111 +23348,96 @@ public BinaryData getPartWithDimensions(String collectionId, String itemId, doub if (returnMask != null) { requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - return getPartWithDimensionsWithResponse(collectionId, itemId, minx, miny, maxx, maxy, width, height, format, - requestOptions).getValue(); - } - - /** - * Point - * - * Get Point value for a dataset. - * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param longitude Longitude. - * @param latitude Latitude. - * @param assets Asset's names. - * @param expression Band math expression between assets. - * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, - * 2, and 3 from the asset named "image"). - * @param assetAsBand Asset as Band. - * @param noData Overwrite internal Nodata value. - * @param unscale Apply internal Scale or Offset. - * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. - * @param resampling Resampling method. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response model for point query operations providing values at a specific location. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public TilerCoreModelsResponsesPoint getPoint(String collectionId, String itemId, double longitude, double latitude, - List assets, String expression, String assetBandIndices, Boolean assetAsBand, Double noData, - Boolean unscale, String coordinateReferenceSystem, Resampling resampling) { - // Generated convenience method for getPointWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (assets != null) { - for (String paramItemValue : assets) { - if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); - } - } - } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); - } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); } - if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); - } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); } - return getPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions).getValue() - .toObject(TilerCoreModelsResponsesPoint.class); + return cropSearchFeatureWithResponse(searchId, BinaryData.fromObject(body), requestOptions).getValue(); } /** - * Point + * Searches Geojson Feature * - * Get Point value for a dataset. + * Create image from a geojson feature (without format in path). * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param longitude Longitude. - * @param latitude Latitude. + * @param searchId Search Id (pgSTAC Search Hash). + * @param body Request GeoJson body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response model for point query operations providing values at a specific location. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public TilerCoreModelsResponsesPoint getPoint(String collectionId, String itemId, double longitude, - double latitude) { - // Generated convenience method for getPointWithResponse + public BinaryData cropSearchFeature(String searchId, Feature body) { + // Generated convenience method for cropSearchFeatureWithResponse RequestOptions requestOptions = new RequestOptions(); - return getPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions).getValue() - .toObject(TilerCoreModelsResponsesPoint.class); + return cropSearchFeatureWithResponse(searchId, BinaryData.fromObject(body), requestOptions).getValue(); } /** - * Preview + * Searches Geojson Feature Crop With Format * - * Create preview of a dataset. + * Create image from a geojson feature with format. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param options Options for preview generation including asset selection, terrain algorithms, and visual - * rendering. + * @param searchId Search Id (pgSTAC Search Hash). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. + * @param height Height in pixels for the output image. + * @param width Width in pixels for the output image. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3528,27 +23448,21 @@ public TilerCoreModelsResponsesPoint getPoint(String collectionId, String itemId */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData getPreview(String collectionId, String itemId, GetPreviewOptions options) { - // Generated convenience method for getPreviewWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String dstCrs = options.getDstCrs(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - Integer height = options.getHeight(); - Integer width = options.getWidth(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); + public BinaryData cropSearchFeatureByFormat(String searchId, String format, Feature body, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, + Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + String coordinateReferenceSystem, Integer maxSize, Integer height, Integer width, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, String destinationCrs) { + // Generated convenience method for cropSearchFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3560,31 +23474,70 @@ public BinaryData getPreview(String collectionId, String itemId, GetPreviewOptio requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } if (algorithm != null) { requestOptions.addQueryParam("algorithm", algorithm.toString(), false); } if (algorithmParams != null) { requestOptions.addQueryParam("algorithm_params", algorithmParams, false); } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); - } - if (dstCrs != null) { - requestOptions.addQueryParam("dst-crs", dstCrs, false); - } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); } if (maxSize != null) { requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); @@ -3595,6 +23548,18 @@ public BinaryData getPreview(String collectionId, String itemId, GetPreviewOptio if (width != null) { requestOptions.addQueryParam("width", String.valueOf(width), false); } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } if (rescale != null) { for (String paramItemValue : rescale) { if (paramItemValue != null) { @@ -3611,19 +23576,96 @@ public BinaryData getPreview(String collectionId, String itemId, GetPreviewOptio if (returnMask != null) { requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - return getPreviewWithResponse(collectionId, itemId, requestOptions).getValue(); + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + return cropSearchFeatureByFormatWithResponse(searchId, format, BinaryData.fromObject(body), requestOptions) + .getValue(); } /** - * Preview + * Searches Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public BinaryData cropSearchFeatureByFormat(String searchId, String format, Feature body) { + // Generated convenience method for cropSearchFeatureByFormatWithResponse + RequestOptions requestOptions = new RequestOptions(); + return cropSearchFeatureByFormatWithResponse(searchId, format, BinaryData.fromObject(body), requestOptions) + .getValue(); + } + + /** + * Searches Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - * Create preview of a dataset. + * Examples: * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for preview generation including asset selection, terrain algorithms, and visual - * rendering. + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param maxSize Image output size limit if width and height limits are not set. + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param destinationCrs Output Coordinate Reference System. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3634,28 +23676,21 @@ public BinaryData getPreview(String collectionId, String itemId, GetPreviewOptio */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData getPreviewWithFormat(String collectionId, String itemId, String format, - GetPreviewOptions options) { - // Generated convenience method for getPreviewWithFormatWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String colorFormula = options.getColorFormula(); - String dstCrs = options.getDstCrs(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - Integer height = options.getHeight(); - Integer width = options.getWidth(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); + public BinaryData cropSearchFeatureWidthByHeight(String searchId, int width, int height, String format, + Feature body, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, String coordinateReferenceSystem, Integer maxSize, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, String destinationCrs) { + // Generated convenience method for cropSearchFeatureWidthByHeightWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3667,40 +23702,85 @@ public BinaryData getPreviewWithFormat(String collectionId, String itemId, Strin requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } if (algorithm != null) { requestOptions.addQueryParam("algorithm", algorithm.toString(), false); } if (algorithmParams != null) { requestOptions.addQueryParam("algorithm_params", algorithmParams, false); } + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); + } + if (maxSize != null) { + requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); + } if (colorFormula != null) { requestOptions.addQueryParam("color_formula", colorFormula, false); } - if (dstCrs != null) { - requestOptions.addQueryParam("dst-crs", dstCrs, false); + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); } if (resampling != null) { requestOptions.addQueryParam("resampling", resampling.toString(), false); } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); - } - if (height != null) { - requestOptions.addQueryParam("height", String.valueOf(height), false); - } - if (width != null) { - requestOptions.addQueryParam("width", String.valueOf(width), false); + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); } if (rescale != null) { for (String paramItemValue : rescale) { @@ -3718,92 +23798,99 @@ public BinaryData getPreviewWithFormat(String collectionId, String itemId, Strin if (returnMask != null) { requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - return getPreviewWithFormatWithResponse(collectionId, itemId, format, requestOptions).getValue(); - } - - /** - * Create Static Image - * - * Create a new image export. - * - * @param collectionId STAC Collection ID. - * @param body Image request body. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response model for image exports. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public ImageResponse createStaticImage(String collectionId, ImageParameters body) { - // Generated convenience method for createStaticImageWithResponse - RequestOptions requestOptions = new RequestOptions(); - return createStaticImageWithResponse(collectionId, BinaryData.fromObject(body), requestOptions).getValue() - .toObject(ImageResponse.class); + if (destinationCrs != null) { + requestOptions.addQueryParam("dst_crs", destinationCrs, false); + } + return cropSearchFeatureWidthByHeightWithResponse(searchId, width, height, format, BinaryData.fromObject(body), + requestOptions).getValue(); } /** - * Get Static Image + * Searches Geojson Feature Crop With Dimensions * - * Fetch an existing image export by ID. + * Create image from a geojson feature with dimensions. * - * @param collectionId STAC Collection ID. - * @param id Image export ID. + * @param searchId Search Id (pgSTAC Search Hash). + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return static Image - * - * Fetch an existing image export by ID. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData getStaticImage(String collectionId, String id) { - // Generated convenience method for getStaticImageWithResponse + public BinaryData cropSearchFeatureWidthByHeight(String searchId, int width, int height, String format, + Feature body) { + // Generated convenience method for cropSearchFeatureWidthByHeightWithResponse RequestOptions requestOptions = new RequestOptions(); - return getStaticImageWithResponse(collectionId, id, requestOptions).getValue(); + return cropSearchFeatureWidthByHeightWithResponse(searchId, width, height, format, BinaryData.fromObject(body), + requestOptions).getValue(); } /** - * Statistics + * Searches Wmts * - * Merged assets statistics. + * OGC WMTS endpoint. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param options Options for statistics including asset selection and statistical calculation parameters. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad'). + * @param tileFormat Output image type. Default is png. + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return return dataset's statistics. + * @return represent a byte array. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public TilerStacItemStatistics listStatistics(String collectionId, String itemId, GetStatisticsOptions options) { - // Generated convenience method for listStatisticsWithResponse + public byte[] getSearchWmtsCapabilities(String searchId, TileMatrixSetId tileMatrixSetId, + TilerImageFormat tileFormat, Integer tileScale, Integer minZoom, Integer maxZoom, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject) { + // Generated convenience method for getSearchWmtsCapabilitiesWithResponse RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - Resampling resampling = options.getResampling(); - Integer maxSize = options.getMaxSize(); - Boolean categorical = options.isCategorical(); - List categoriesPixels = options.getCategoriesPixels(); - List percentiles = options.getPercentiles(); - String histogramBins = options.getHistogramBins(); - String histogramRange = options.getHistogramRange(); + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (tileFormat != null) { + requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + } + if (tileScale != null) { + requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + } + if (minZoom != null) { + requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + } + if (maxZoom != null) { + requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + } + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3815,58 +23902,112 @@ public TilerStacItemStatistics listStatistics(String collectionId, String itemId requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); - } - if (maxSize != null) { - requestOptions.addQueryParam("max_size", String.valueOf(maxSize), false); - } - if (categorical != null) { - requestOptions.addQueryParam("categorical", String.valueOf(categorical), false); - } - if (categoriesPixels != null) { - requestOptions.addQueryParam("c", - categoriesPixels.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); - } - if (percentiles != null) { - requestOptions.addQueryParam("p", - JacksonAdapter.createDefaultSerializerAdapter().serializeIterable(percentiles, CollectionFormat.CSV), - false); - } - if (histogramBins != null) { - requestOptions.addQueryParam("histogram_bins", histogramBins, false); - } - if (histogramRange != null) { - requestOptions.addQueryParam("histogram_range", histogramRange, false); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); } - return listStatisticsWithResponse(collectionId, itemId, requestOptions).getValue() - .toObject(TilerStacItemStatistics.class); + return getSearchWmtsCapabilitiesWithResponse(searchId, requestOptions).getValue().toObject(byte[].class); } /** - * TileJson Tilematrixsetid As Path + * Searches Wmts * - * Return the TileJson Tilematrixsetid As a path. + * OGC WMTS endpoint. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param options Options for TileJSON generation including asset selection, terrain algorithms, and tile - * formatting. + * @param searchId Search Id (pgSTAC Search Hash). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represent a byte array. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public byte[] getSearchWmtsCapabilities(String searchId) { + // Generated convenience method for getSearchWmtsCapabilitiesWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchWmtsCapabilitiesWithResponse(searchId, requestOptions).getValue().toObject(byte[].class); + } + + /** + * Searches TileJson + * + * Return TileJSON document for a search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). + * @param tileFormat Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * @param tileScale Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, + * 2=512x512). + * @param minZoom Overwrite default minzoom. + * @param maxZoom Overwrite default maxzoom. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collectionId STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colormapName Colormap name. + * @param colormap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3879,29 +24020,21 @@ public TilerStacItemStatistics listStatistics(String collectionId, String itemId */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public TileJsonMetadata getTileJson(String collectionId, String itemId, String tileMatrixSetId, - GetTileJsonOptions options) { - // Generated convenience method for getTileJsonWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - TilerImageFormat tileFormat = options.getTileFormat(); - Integer tileScale = options.getTileScale(); - Integer minZoom = options.getMinZoom(); - Integer maxZoom = options.getMaxZoom(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - Resampling resampling = options.getResampling(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); + public TileJsonMetadata getSearchTileJson(String searchId, List bidx, List assets, + String expression, List assetBandIndices, Boolean assetAsBand, String noData, Boolean unscale, + WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, + Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, String datetime, + List sel, SelMethod selMethod, TileMatrixSetId tileMatrixSetId, TilerImageFormat tileFormat, + Integer tileScale, Integer minZoom, Integer maxZoom, Integer padding, Double buffer, String colorFormula, + String collectionId, Resampling resampling, PixelSelection pixelSelection, TerrainAlgorithm algorithm, + String algorithmParams, List rescale, ColorMapNames colormapName, String colormap, Boolean returnMask) { + // Generated convenience method for getSearchTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -3913,22 +24046,64 @@ public TileJsonMetadata getTileJson(String collectionId, String itemId, String t requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); } if (tileFormat != null) { requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); @@ -3942,15 +24117,30 @@ public TileJsonMetadata getTileJson(String collectionId, String itemId, String t if (maxZoom != null) { requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); } if (colorFormula != null) { requestOptions.addQueryParam("color_formula", colorFormula, false); } + if (collectionId != null) { + requestOptions.addQueryParam("collection", collectionId, false); + } if (resampling != null) { requestOptions.addQueryParam("resampling", resampling.toString(), false); } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } if (rescale != null) { for (String paramItemValue : rescale) { if (paramItemValue != null) { @@ -3958,36 +24148,107 @@ public TileJsonMetadata getTileJson(String collectionId, String itemId, String t } } } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + if (colormapName != null) { + requestOptions.addQueryParam("colormap_name", colormapName.toString(), false); } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (colormap != null) { + requestOptions.addQueryParam("colormap", colormap, false); } if (returnMask != null) { requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - return getTileJsonWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions).getValue() - .toObject(TileJsonMetadata.class); + return getSearchTileJsonWithResponse(searchId, requestOptions).getValue().toObject(TileJsonMetadata.class); } /** - * Tile Tilematrixsetid As Path + * Searches TileJson * - * Create map tile from a dataset. + * Return TileJSON document for a search. * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param searchId Search Id (pgSTAC Search Hash). + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TileJsonMetadata getSearchTileJson(String searchId) { + // Generated convenience method for getSearchTileJsonWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchTileJsonWithResponse(searchId, requestOptions).getValue().toObject(TileJsonMetadata.class); + } + + /** + * Searches Tile Plain + * + * Create a map tile for a mosaic search. + * + * @param searchId Search Id (pgSTAC Search Hash). * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and * representing the scaleDenominator the tile. * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixHeight-1 for the selected TileMatrix. * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixWidth-1 for the selected TileMatrix. - * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for tile generation including asset selection, terrain algorithms, and visual rendering. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3998,27 +24259,21 @@ public TileJsonMetadata getTileJson(String collectionId, String itemId, String t */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData getTile(String collectionId, String itemId, String tileMatrixSetId, double z, double x, double y, - double scale, String format, GetTileOptions options) { - // Generated convenience method for getTileWithResponse + public BinaryData getSearchTileNoTms(String searchId, double z, double x, double y, List bidx, + List assets, String expression, List assetBandIndices, Boolean assetAsBand, String noData, + Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, Integer timeLimit, + Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, List subdatasetBands, String crs, + String datetime, List sel, SelMethod selMethod, TerrainAlgorithm algorithm, String algorithmParams, + TileMatrixSetId tileMatrixSetId, TilerImageFormat format, Integer scale, Double buffer, String colorFormula, + String collection, Resampling resampling, PixelSelection pixelSelection, List rescale, + ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileNoTmsWithResponse RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - Resampling resampling = options.getResampling(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - String subdatasetName = options.getSubdatasetName(); - List subdatasetBands = options.getSubdatasetBands(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -4030,125 +24285,61 @@ public BinaryData getTile(String collectionId, String itemId, String tileMatrixS requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); - } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); - } - if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); - } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } - if (rescale != null) { - for (String paramItemValue : rescale) { - if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); - } - } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } if (subdatasetName != null) { requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } if (subdatasetBands != null) { - requestOptions.addQueryParam("subdataset_bands", - subdatasetBands.stream() - .map(paramItemValue -> Objects.toString(paramItemValue, "")) - .collect(Collectors.joining(",")), - false); + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); } - return getTileWithResponse(collectionId, itemId, tileMatrixSetId, z, x, y, scale, format, requestOptions) - .getValue(); - } - - /** - * Wmts Tilematrixsetid As Path - * - * OGC WMTS endpoint. - * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param options Options for WMTS capabilities including asset selection, terrain algorithms, and tile formatting. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return represent a byte array. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public byte[] getWmtsCapabilities(String collectionId, String itemId, String tileMatrixSetId, - GetWmtsCapabilitiesOptions options) { - // Generated convenience method for getWmtsCapabilitiesWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - TilerImageFormat tileFormat = options.getTileFormat(); - Integer tileScale = options.getTileScale(); - Integer minZoom = options.getMinZoom(); - Integer maxZoom = options.getMaxZoom(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - Resampling resampling = options.getResampling(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - if (assets != null) { - for (String paramItemValue : assets) { + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); - } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); } if (algorithm != null) { requestOptions.addQueryParam("algorithm", algorithm.toString(), false); @@ -4156,27 +24347,30 @@ public byte[] getWmtsCapabilities(String collectionId, String itemId, String til if (algorithmParams != null) { requestOptions.addQueryParam("algorithm_params", algorithmParams, false); } - if (tileFormat != null) { - requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); - } - if (tileScale != null) { - requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); } - if (minZoom != null) { - requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); } - if (maxZoom != null) { - requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); } if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); } if (colorFormula != null) { requestOptions.addQueryParam("color_formula", colorFormula, false); } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } if (resampling != null) { requestOptions.addQueryParam("resampling", resampling.toString(), false); } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } if (rescale != null) { for (String paramItemValue : rescale) { if (paramItemValue != null) { @@ -4193,313 +24387,340 @@ public byte[] getWmtsCapabilities(String collectionId, String itemId, String til if (returnMask != null) { requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); } - return getWmtsCapabilitiesWithResponse(collectionId, itemId, tileMatrixSetId, requestOptions).getValue() - .toObject(byte[].class); - } - - /** - * Get ClassMap Legend - * - * Generate values and color swatches mapping for a given classmap. - * - * @param classmapName classmap name. - * @param trimStart Number of items to trim from the start of the cmap. - * @param trimEnd Number of items to trim from the end of the cmap. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return classMap Legend - * - * Generate values and color swatches mapping for a given classmap. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public ClassMapLegendResponse getClassMapLegend(String classmapName, Integer trimStart, Integer trimEnd) { - // Generated convenience method for getClassMapLegendWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (trimStart != null) { - requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); - } - if (trimEnd != null) { - requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); - } - return getClassMapLegendWithResponse(classmapName, requestOptions).getValue() - .toObject(ClassMapLegendResponse.class); - } - - /** - * Get ClassMap Legend - * - * Generate values and color swatches mapping for a given classmap. - * - * @param classmapName classmap name. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return classMap Legend - * - * Generate values and color swatches mapping for a given classmap. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public ClassMapLegendResponse getClassMapLegend(String classmapName) { - // Generated convenience method for getClassMapLegendWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getClassMapLegendWithResponse(classmapName, requestOptions).getValue() - .toObject(ClassMapLegendResponse.class); - } - - /** - * Get Interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow). - * - * @param classmapName classmap name. - * @param trimStart Number of items to trim from the start of the cmap. - * @param trimEnd Number of items to trim from the end of the cmap. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow). - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public List>> getIntervalLegend(String classmapName, Integer trimStart, Integer trimEnd) { - // Generated convenience method for getIntervalLegendWithResponse - RequestOptions requestOptions = new RequestOptions(); - if (trimStart != null) { - requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); - } - if (trimEnd != null) { - requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); } - return getIntervalLegendWithResponse(classmapName, requestOptions).getValue() - .toObject(TYPE_REFERENCE_LIST_LIST_LIST_LONG); + return getSearchTileNoTmsWithResponse(searchId, z, x, y, requestOptions).getValue(); } /** - * Get Interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. + * Searches Tile Plain * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow). + * Create a map tile for a mosaic search. * - * @param classmapName classmap name. + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow). + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public List>> getIntervalLegend(String classmapName) { - // Generated convenience method for getIntervalLegendWithResponse + public BinaryData getSearchTileNoTms(String searchId, double z, double x, double y) { + // Generated convenience method for getSearchTileNoTmsWithResponse RequestOptions requestOptions = new RequestOptions(); - return getIntervalLegendWithResponse(classmapName, requestOptions).getValue() - .toObject(TYPE_REFERENCE_LIST_LIST_LIST_LONG); + return getSearchTileNoTmsWithResponse(searchId, z, x, y, requestOptions).getValue(); } /** - * Get Legend + * Searches Tile Format * - * Generate a legend image for a given colormap. + * Create a map tile for a mosaic search with specified format. * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim. + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - * @param colorMapName The name of the registered colormap to generate a legend for. - * @param height The output height of the legend image. - * @param width The output width of the legend image. - * @param trimStart Number of items to trim from the start of the cmap. - * @param trimEnd Number of items to trim from the end of the cmap. + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return legend - * - * Generate a legend image for a given colormap. - * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData getLegend(String colorMapName, Double height, Double width, Integer trimStart, Integer trimEnd) { - // Generated convenience method for getLegendWithResponse + public BinaryData getSearchTileNoTmsByFormat(String searchId, double z, double x, double y, String format, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TileMatrixSetId tileMatrixSetId, Integer scale, + Double buffer, String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileNoTmsByFormatWithResponse RequestOptions requestOptions = new RequestOptions(); - if (height != null) { - requestOptions.addQueryParam("height", String.valueOf(height), false); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } } - if (width != null) { - requestOptions.addQueryParam("width", String.valueOf(width), false); + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } } - if (trimStart != null) { - requestOptions.addQueryParam("trim_start", String.valueOf(trimStart), false); + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); } - if (trimEnd != null) { - requestOptions.addQueryParam("trim_end", String.valueOf(trimEnd), false); + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } - return getLegendWithResponse(colorMapName, requestOptions).getValue(); + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); + } + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (scale != null) { + requestOptions.addQueryParam("scale", String.valueOf(scale), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileNoTmsByFormatWithResponse(searchId, z, x, y, format, requestOptions).getValue(); } /** - * Get Legend + * Searches Tile Format * - * Generate a legend image for a given colormap. - * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim. + * Create a map tile for a mosaic search with specified format. * - * @param colorMapName The name of the registered colormap to generate a legend for. + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return legend - * - * Generate a legend image for a given colormap. - * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData getLegend(String colorMapName) { - // Generated convenience method for getLegendWithResponse + public BinaryData getSearchTileNoTmsByFormat(String searchId, double z, double x, double y, String format) { + // Generated convenience method for getSearchTileNoTmsByFormatWithResponse RequestOptions requestOptions = new RequestOptions(); - return getLegendWithResponse(colorMapName, requestOptions).getValue(); + return getSearchTileNoTmsByFormatWithResponse(searchId, z, x, y, format, requestOptions).getValue(); } /** - * Assets For Point + * Searches Tile Scale * - * Return a list of assets for a given point. + * Create a map tile for a mosaic search with specified scale. * * @param searchId Search Id (pgSTAC Search Hash). - * @param longitude Longitude. - * @param latitude Latitude. - * @param scanLimit Return as soon as we scan N items (defaults to 10000 in PgSTAC). - * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). - * @param timeLimit Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). - * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True in PgSTAC). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). * @param skipCovered Skip any items that would show up completely under the previous items (defaults - * to True in PgSTAC). - * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4510,41 +24731,150 @@ public BinaryData getLegend(String colorMapName) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public List getMosaicsAssetsForPoint(String searchId, double longitude, double latitude, - Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, - String coordinateReferenceSystem) { - // Generated convenience method for getMosaicsAssetsForPointWithResponse + public BinaryData getSearchTileNoTmsByScale(String searchId, double z, double x, double y, double scale, + List bidx, List assets, String expression, List assetBandIndices, Boolean assetAsBand, + String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, Integer itemsLimit, + Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TileMatrixSetId tileMatrixSetId, TilerImageFormat format, + Double buffer, String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileNoTmsByScaleWithResponse RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } if (scanLimit != null) { requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } - if (itemsLimit != null) { - requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); + } + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + } + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + } + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + } + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (format != null) { + requestOptions.addQueryParam("format", format.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); } - if (timeLimit != null) { - requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); } - if (exitWhenFull != null) { - requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); } - if (skipCovered != null) { - requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } } - if (coordinateReferenceSystem != null) { - requestOptions.addQueryParam("coord-crs", coordinateReferenceSystem, false); + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); } - return getMosaicsAssetsForPointWithResponse(searchId, longitude, latitude, requestOptions).getValue() - .toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET); + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileNoTmsByScaleWithResponse(searchId, z, x, y, scale, requestOptions).getValue(); } /** - * Assets For Point + * Searches Tile Scale * - * Return a list of assets for a given point. + * Create a map tile for a mosaic search with specified scale. * * @param searchId Search Id (pgSTAC Search Hash). - * @param longitude Longitude. - * @param latitude Latitude. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4555,33 +24885,77 @@ public List getMosaicsAssetsForPoint(String searchId, double */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public List getMosaicsAssetsForPoint(String searchId, double longitude, double latitude) { - // Generated convenience method for getMosaicsAssetsForPointWithResponse + public BinaryData getSearchTileNoTmsByScale(String searchId, double z, double x, double y, double scale) { + // Generated convenience method for getSearchTileNoTmsByScaleWithResponse RequestOptions requestOptions = new RequestOptions(); - return getMosaicsAssetsForPointWithResponse(searchId, longitude, latitude, requestOptions).getValue() - .toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET); + return getSearchTileNoTmsByScaleWithResponse(searchId, z, x, y, scale, requestOptions).getValue(); } /** - * Assets For Tile Tilematrixsetid As Path + * Searches Tile * - * Return a list of assets which overlap a given tile. + * Create a map tile for a mosaic search with specified scale and format. * * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param collectionId STAC Collection Identifier. * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and * representing the scaleDenominator the tile. * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixHeight-1 for the selected TileMatrix. * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixWidth-1 for the selected TileMatrix. - * @param scanLimit Return as soon as we scan N items (defaults to 10000 in PgSTAC). - * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). - * @param timeLimit Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). - * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True in PgSTAC). + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). * @param skipCovered Skip any items that would show up completely under the previous items (defaults - * to True in PgSTAC). + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param algorithm Terrain algorithm name. + * @param algorithmParams Terrain algorithm parameters. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). + * @param buffer Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + * @param colorFormula rio-color formula (info: https://github.com/mapbox/rio-color). + * @param collection STAC Collection ID. + * @param resampling Resampling method. + * @param pixelSelection Pixel selection method. + * @param rescale comma (',') delimited Min,Max range. Can set multiple time for multiple bands. + * @param colorMapName Colormap name. + * @param colorMap JSON encoded custom Colormap. + * @param returnMask Add mask to the output data. + * @param padding Padding to apply to each tile edge. Helps reduce resampling artefacts along edges. Defaults to + * `0`. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4592,11 +24966,50 @@ public List getMosaicsAssetsForPoint(String searchId, double */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public List getMosaicsAssetsForTile(String searchId, String tileMatrixSetId, String collectionId, - double z, double x, double y, Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, - Boolean skipCovered) { - // Generated convenience method for getMosaicsAssetsForTileWithResponse + public BinaryData getSearchTileNoTmsByScaleAndFormat(String searchId, double z, double x, double y, double scale, + String format, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, Integer scanLimit, + Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, String subdatasetName, + List subdatasetBands, String crs, String datetime, List sel, SelMethod selMethod, + TerrainAlgorithm algorithm, String algorithmParams, TileMatrixSetId tileMatrixSetId, Double buffer, + String colorFormula, String collection, Resampling resampling, PixelSelection pixelSelection, + List rescale, ColorMapNames colorMapName, String colorMap, Boolean returnMask, Integer padding) { + // Generated convenience method for getSearchTileNoTmsByScaleAndFormatWithResponse RequestOptions requestOptions = new RequestOptions(); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } + } + if (assets != null) { + for (String paramItemValue : assets) { + if (paramItemValue != null) { + requestOptions.addQueryParam("assets", paramItemValue, false); + } + } + } + if (expression != null) { + requestOptions.addQueryParam("expression", expression, false); + } + if (assetBandIndices != null) { + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); + } + if (assetAsBand != null) { + requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); + } + if (noData != null) { + requestOptions.addQueryParam("nodata", noData, false); + } + if (unscale != null) { + requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); + } + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); + } if (scanLimit != null) { requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } @@ -4612,25 +25025,90 @@ public List getMosaicsAssetsForTile(String searchId, String t if (skipCovered != null) { requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - return getMosaicsAssetsForTileWithResponse(searchId, tileMatrixSetId, collectionId, z, x, y, requestOptions) - .getValue() - .toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); + } + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { + if (paramItemValue != null) { + requestOptions.addQueryParam("sel", paramItemValue, false); + } + } + } + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); + } + if (algorithm != null) { + requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + } + if (algorithmParams != null) { + requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + } + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); + } + if (buffer != null) { + requestOptions.addQueryParam("buffer", String.valueOf(buffer), false); + } + if (colorFormula != null) { + requestOptions.addQueryParam("color_formula", colorFormula, false); + } + if (collection != null) { + requestOptions.addQueryParam("collection", collection, false); + } + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); + } + if (pixelSelection != null) { + requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + } + if (rescale != null) { + for (String paramItemValue : rescale) { + if (paramItemValue != null) { + requestOptions.addQueryParam("rescale", paramItemValue, false); + } + } + } + if (colorMapName != null) { + requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); + } + if (colorMap != null) { + requestOptions.addQueryParam("colormap", colorMap, false); + } + if (returnMask != null) { + requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + } + if (padding != null) { + requestOptions.addQueryParam("padding", String.valueOf(padding), false); + } + return getSearchTileNoTmsByScaleAndFormatWithResponse(searchId, z, x, y, scale, format, requestOptions) + .getValue(); } /** - * Assets For Tile Tilematrixsetid As Path + * Searches Tile * - * Return a list of assets which overlap a given tile. + * Create a map tile for a mosaic search with specified scale and format. * * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param collectionId STAC Collection Identifier. * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and * representing the scaleDenominator the tile. * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixHeight-1 for the selected TileMatrix. * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4641,146 +25119,69 @@ public List getMosaicsAssetsForTile(String searchId, String t */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public List getMosaicsAssetsForTile(String searchId, String tileMatrixSetId, String collectionId, - double z, double x, double y) { - // Generated convenience method for getMosaicsAssetsForTileWithResponse + public BinaryData getSearchTileNoTmsByScaleAndFormat(String searchId, double z, double x, double y, double scale, + String format) { + // Generated convenience method for getSearchTileNoTmsByScaleAndFormatWithResponse RequestOptions requestOptions = new RequestOptions(); - return getMosaicsAssetsForTileWithResponse(searchId, tileMatrixSetId, collectionId, z, x, y, requestOptions) - .getValue() - .toObject(TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON); + return getSearchTileNoTmsByScaleAndFormatWithResponse(searchId, z, x, y, scale, format, requestOptions) + .getValue(); } /** - * Info Search + * Searches Assets For Tile * - * Get Search query metadata. + * Return a list of assets which overlap a given tile for a mosaic search. * * @param searchId Search Id (pgSTAC Search Hash). - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return information about a registered STAC search query. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public TilerStacSearchRegistration getMosaicsSearchInfo(String searchId) { - // Generated convenience method for getMosaicsSearchInfoWithResponse - RequestOptions requestOptions = new RequestOptions(); - return getMosaicsSearchInfoWithResponse(searchId, requestOptions).getValue() - .toObject(TilerStacSearchRegistration.class); - } - - /** - * Register Search + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. * - * Register a Search query. + * Examples: * - * @param options Options for registerMosaicsSearch API. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response from a successful mosaic registration with search ID and related links. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public TilerMosaicSearchRegistrationResponse registerMosaicsSearch(RegisterMosaicsSearchOptions options) { - // Generated convenience method for registerMosaicsSearchWithResponse - RequestOptions requestOptions = new RequestOptions(); - RegisterMosaicsSearchRequest registerMosaicsSearchRequestObj - = new RegisterMosaicsSearchRequest().setCollections(options.getCollections()) - .setIds(options.getIds()) - .setBoundingBox(options.getBoundingBox()) - .setIntersects(options.getIntersects()) - .setQuery(options.getQuery()) - .setFilter(options.getFilter()) - .setDatetime(options.getDatetime()) - .setSortBy(options.getSortBy()) - .setFilterLanguage(options.getFilterLanguage()) - .setMetadata(options.getMetadata()); - BinaryData registerMosaicsSearchRequest = BinaryData.fromObject(registerMosaicsSearchRequestObj); - return registerMosaicsSearchWithResponse(registerMosaicsSearchRequest, requestOptions).getValue() - .toObject(TilerMosaicSearchRegistrationResponse.class); - } - - /** - * TileJson Tilematrixsetid As Path + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" * - * Return TileJSON document for a searchId. + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. * - * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param options Options for mosaic TileJSON generation including asset selection, terrain algorithms, and tile - * formatting. + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return tileJSON metadata describing a tile set according to the TileJSON specification - * - * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0. + * @return the response. */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public TileJsonMetadata getMosaicsTileJson(String searchId, String tileMatrixSetId, - GetMosaicTileJsonOptions options) { - // Generated convenience method for getMosaicsTileJsonWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - Integer scanLimit = options.getScanLimit(); - Integer itemsLimit = options.getItemsLimit(); - Integer timeLimit = options.getTimeLimit(); - Boolean exitWhenFull = options.isExitWhenFull(); - Boolean skipCovered = options.isSkipCovered(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - Integer minZoom = options.getMinZoom(); - Integer maxZoom = options.getMaxZoom(); - TilerImageFormat tileFormat = options.getTileFormat(); - Integer tileScale = options.getTileScale(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - String collection = options.getCollection(); - Resampling resampling = options.getResampling(); - PixelSelection pixelSelection = options.getPixelSelection(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - if (assets != null) { - for (String paramItemValue : assets) { - if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); - } - } - } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); - } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); - } + public List getSearchAssetsForTileNoTms(String searchId, double z, double x, double y, + Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, TileMatrixSetId tileMatrixSetId) { + // Generated convenience method for getSearchAssetsForTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); if (scanLimit != null) { requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } @@ -4796,76 +25197,48 @@ public TileJsonMetadata getMosaicsTileJson(String searchId, String tileMatrixSet if (skipCovered != null) { requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); - } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); - } - if (minZoom != null) { - requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); - } - if (maxZoom != null) { - requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); - } - if (tileFormat != null) { - requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); - } - if (tileScale != null) { - requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); - } - if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); - } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } - if (collection != null) { - requestOptions.addQueryParam("collection", collection, false); + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); } - if (pixelSelection != null) { - requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); } - if (rescale != null) { - for (String paramItemValue : rescale) { + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); - } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + if (tileMatrixSetId != null) { + requestOptions.addQueryParam("TileMatrixSetId", tileMatrixSetId.toString(), false); } - return getMosaicsTileJsonWithResponse(searchId, tileMatrixSetId, requestOptions).getValue() - .toObject(TileJsonMetadata.class); + return getSearchAssetsForTileNoTmsWithResponse(searchId, z, x, y, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_BINARY_DATA); } /** - * Tile Tilematrixsetid As Path + * Searches Assets For Tile * - * Create map tile. + * Return a list of assets which overlap a given tile for a mosaic search. * * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and * representing the scaleDenominator the tile. * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixHeight-1 for the selected TileMatrix. * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the * MatrixWidth-1 for the selected TileMatrix. - * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param options Options for mosaic tile generation including asset selection, terrain algorithms, and visual - * rendering. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4876,54 +25249,76 @@ public TileJsonMetadata getMosaicsTileJson(String searchId, String tileMatrixSet */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public BinaryData getMosaicsTile(String searchId, String tileMatrixSetId, double z, double x, double y, - double scale, String format, GetMosaicTileOptions options) { - // Generated convenience method for getMosaicsTileWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - Integer scanLimit = options.getScanLimit(); - Integer itemsLimit = options.getItemsLimit(); - Integer timeLimit = options.getTimeLimit(); - Boolean exitWhenFull = options.isExitWhenFull(); - Boolean skipCovered = options.isSkipCovered(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - String collection = options.getCollection(); - Resampling resampling = options.getResampling(); - PixelSelection pixelSelection = options.getPixelSelection(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); - if (assets != null) { - for (String paramItemValue : assets) { - if (paramItemValue != null) { - requestOptions.addQueryParam("assets", paramItemValue, false); - } - } - } - if (expression != null) { - requestOptions.addQueryParam("expression", expression, false); - } - if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); - } - if (assetAsBand != null) { - requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); - } - if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); - } - if (unscale != null) { - requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); - } + public List getSearchAssetsForTileNoTms(String searchId, double z, double x, double y) { + // Generated convenience method for getSearchAssetsForTileNoTmsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchAssetsForTileNoTmsWithResponse(searchId, z, x, y, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_BINARY_DATA); + } + + /** + * Searches Point + * + * Get Point value for a search dataset. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param bidx Dataset band indexes. + * @param assets Asset's names. + * @param expression Band math expression between assets. + * @param assetBandIndices Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, + * 2, and 3 from the asset named "image"). + * @param assetAsBand Asset as Band. + * @param noData Overwrite internal Nodata value. + * @param unscale Apply internal Scale or Offset. + * @param reproject WarpKernel resampling algorithm (only used when doing re-projection). Defaults to `nearest`. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @param resampling Resampling method. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerCoreModelsResponsesPoint getSearchPoint(String searchId, double longitude, double latitude, + Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, List bidx, List assets, String expression, List assetBandIndices, + Boolean assetAsBand, String noData, Boolean unscale, WarpKernelResampling reproject, + String coordinateReferenceSystem, Resampling resampling) { + // Generated convenience method for getSearchPointWithResponse + RequestOptions requestOptions = new RequestOptions(); if (scanLimit != null) { requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } @@ -4939,88 +25334,34 @@ public BinaryData getMosaicsTile(String searchId, String tileMatrixSetId, double if (skipCovered != null) { requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); - } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); - } - if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); - } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } - if (collection != null) { - requestOptions.addQueryParam("collection", collection, false); + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); } - if (pixelSelection != null) { - requestOptions.addQueryParam("pixel_selection", pixelSelection.toString(), false); + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); } - if (rescale != null) { - for (String paramItemValue : rescale) { + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); - } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + if (bidx != null) { + for (int paramItemValue : bidx) { + requestOptions.addQueryParam("bidx", String.valueOf(paramItemValue), false); + } } - return getMosaicsTileWithResponse(searchId, tileMatrixSetId, z, x, y, scale, format, requestOptions).getValue(); - } - - /** - * Wmts Tilematrixsetid As Path - * - * OGC WMTS endpoint. - * - * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param options Options for mosaic WMTS capabilities including asset selection, terrain algorithms, and tile - * formatting. - * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return represent a byte array. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public byte[] getMosaicsWmtsCapabilities(String searchId, String tileMatrixSetId, - GetMosaicWmtsCapabilitiesOptions options) { - // Generated convenience method for getMosaicsWmtsCapabilitiesWithResponse - RequestOptions requestOptions = new RequestOptions(); - List assets = options.getAssets(); - String expression = options.getExpression(); - String assetBandIndices = options.getAssetBandIndices(); - Boolean assetAsBand = options.isAssetAsBand(); - Double noData = options.getNoData(); - Boolean unscale = options.isUnscale(); - TerrainAlgorithm algorithm = options.getAlgorithm(); - String algorithmParams = options.getAlgorithmParams(); - TilerImageFormat tileFormat = options.getTileFormat(); - Integer tileScale = options.getTileScale(); - Integer minZoom = options.getMinZoom(); - Integer maxZoom = options.getMaxZoom(); - String buffer = options.getBuffer(); - String colorFormula = options.getColorFormula(); - Resampling resampling = options.getResampling(); - List rescale = options.getRescale(); - ColorMapNames colorMapName = options.getColorMapName(); - String colorMap = options.getColorMap(); - Boolean returnMask = options.isReturnMask(); if (assets != null) { for (String paramItemValue : assets) { if (paramItemValue != null) { @@ -5032,62 +25373,178 @@ public byte[] getMosaicsWmtsCapabilities(String searchId, String tileMatrixSetId requestOptions.addQueryParam("expression", expression, false); } if (assetBandIndices != null) { - requestOptions.addQueryParam("asset_bidx", assetBandIndices, false); + requestOptions.addQueryParam("asset_bidx", + assetBandIndices.stream() + .map(paramItemValue -> Objects.toString(paramItemValue, "")) + .collect(Collectors.joining(",")), + false); } if (assetAsBand != null) { requestOptions.addQueryParam("asset_as_band", String.valueOf(assetAsBand), false); } if (noData != null) { - requestOptions.addQueryParam("nodata", String.valueOf(noData), false); + requestOptions.addQueryParam("nodata", noData, false); } if (unscale != null) { requestOptions.addQueryParam("unscale", String.valueOf(unscale), false); } - if (algorithm != null) { - requestOptions.addQueryParam("algorithm", algorithm.toString(), false); + if (reproject != null) { + requestOptions.addQueryParam("reproject", reproject.toString(), false); } - if (algorithmParams != null) { - requestOptions.addQueryParam("algorithm_params", algorithmParams, false); + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); } - if (tileFormat != null) { - requestOptions.addQueryParam("tile_format", tileFormat.toString(), false); + if (resampling != null) { + requestOptions.addQueryParam("resampling", resampling.toString(), false); } - if (tileScale != null) { - requestOptions.addQueryParam("tile_scale", String.valueOf(tileScale), false); + return getSearchPointWithResponse(searchId, longitude, latitude, requestOptions).getValue() + .toObject(TilerCoreModelsResponsesPoint.class); + } + + /** + * Searches Point + * + * Get Point value for a search dataset. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return response model for point query operations providing values at a specific location. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public TilerCoreModelsResponsesPoint getSearchPoint(String searchId, double longitude, double latitude) { + // Generated convenience method for getSearchPointWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchPointWithResponse(searchId, longitude, latitude, requestOptions).getValue() + .toObject(TilerCoreModelsResponsesPoint.class); + } + + /** + * Searches Point Assets + * + * Return a list of assets for a given point in a search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @param scanLimit Return as soon as we scan N items (defaults to 10000). + * @param itemsLimit Return as soon as we have N items per geometry (defaults to 100). + * @param timeLimit Return after N seconds to avoid long requests (defaults to 5). + * @param exitWhenFull Return as soon as the geometry is fully covered (defaults to True). + * @param skipCovered Skip any items that would show up completely under the previous items (defaults + * to True). + * @param subdatasetName The name of a subdataset within the asset. + * @param subdatasetBands The index of a subdataset band within the asset. + * @param crs Coordinate Reference System. + * @param datetime Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + * @param sel Xarray Indexing using dimension names `{dimension}={value}`. + * @param selMethod Xarray indexing method to use for inexact matches. + * @param coordinateReferenceSystem Coordinate Reference System of the input coords. Default to `epsg:4326`. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getSearchPointWithAssets(String searchId, double longitude, double latitude, + Integer scanLimit, Integer itemsLimit, Integer timeLimit, Boolean exitWhenFull, Boolean skipCovered, + String subdatasetName, List subdatasetBands, String crs, String datetime, List sel, + SelMethod selMethod, String coordinateReferenceSystem) { + // Generated convenience method for getSearchPointWithAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (scanLimit != null) { + requestOptions.addQueryParam("scan_limit", String.valueOf(scanLimit), false); } - if (minZoom != null) { - requestOptions.addQueryParam("minzoom", String.valueOf(minZoom), false); + if (itemsLimit != null) { + requestOptions.addQueryParam("items_limit", String.valueOf(itemsLimit), false); } - if (maxZoom != null) { - requestOptions.addQueryParam("maxzoom", String.valueOf(maxZoom), false); + if (timeLimit != null) { + requestOptions.addQueryParam("time_limit", String.valueOf(timeLimit), false); } - if (buffer != null) { - requestOptions.addQueryParam("buffer", buffer, false); + if (exitWhenFull != null) { + requestOptions.addQueryParam("exitwhenfull", String.valueOf(exitWhenFull), false); } - if (colorFormula != null) { - requestOptions.addQueryParam("color_formula", colorFormula, false); + if (skipCovered != null) { + requestOptions.addQueryParam("skipcovered", String.valueOf(skipCovered), false); } - if (resampling != null) { - requestOptions.addQueryParam("resampling", resampling.toString(), false); + if (subdatasetName != null) { + requestOptions.addQueryParam("subdataset_name", subdatasetName, false); } - if (rescale != null) { - for (String paramItemValue : rescale) { + if (subdatasetBands != null) { + requestOptions.addQueryParam("subdataset_bands", JacksonAdapter.createDefaultSerializerAdapter() + .serializeIterable(subdatasetBands, CollectionFormat.CSV), false); + } + if (crs != null) { + requestOptions.addQueryParam("crs", crs, false); + } + if (datetime != null) { + requestOptions.addQueryParam("datetime", datetime, false); + } + if (sel != null) { + for (String paramItemValue : sel) { if (paramItemValue != null) { - requestOptions.addQueryParam("rescale", paramItemValue, false); + requestOptions.addQueryParam("sel", paramItemValue, false); } } } - if (colorMapName != null) { - requestOptions.addQueryParam("colormap_name", colorMapName.toString(), false); - } - if (colorMap != null) { - requestOptions.addQueryParam("colormap", colorMap, false); + if (selMethod != null) { + requestOptions.addQueryParam("sel_method", selMethod.toString(), false); } - if (returnMask != null) { - requestOptions.addQueryParam("return_mask", String.valueOf(returnMask), false); + if (coordinateReferenceSystem != null) { + requestOptions.addQueryParam("coord_crs", coordinateReferenceSystem, false); } - return getMosaicsWmtsCapabilitiesWithResponse(searchId, tileMatrixSetId, requestOptions).getValue() - .toObject(byte[].class); + return getSearchPointWithAssetsWithResponse(searchId, longitude, latitude, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET); + } + + /** + * Searches Point Assets + * + * Return a list of assets for a given point in a search. + * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public List getSearchPointWithAssets(String searchId, double longitude, double latitude) { + // Generated convenience method for getSearchPointWithAssetsWithResponse + RequestOptions requestOptions = new RequestOptions(); + return getSearchPointWithAssetsWithResponse(searchId, longitude, latitude, requestOptions).getValue() + .toObject(TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET); } @Generated @@ -5100,12 +25557,17 @@ public byte[] getMosaicsWmtsCapabilities(String searchId, String tileMatrixSetId }; @Generated - private static final TypeReference> TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET - = new TypeReference>() { + private static final TypeReference> TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON + = new TypeReference>() { }; @Generated - private static final TypeReference> TYPE_REFERENCE_LIST_TILER_ASSET_GEO_JSON - = new TypeReference>() { + private static final TypeReference> TYPE_REFERENCE_LIST_BINARY_DATA + = new TypeReference>() { + }; + + @Generated + private static final TypeReference> TYPE_REFERENCE_LIST_STAC_ITEM_POINT_ASSET + = new TypeReference>() { }; } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/IngestionAsyncClient.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/IngestionAsyncClient.java index fdc6aec281d0..328b75e9a494 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/IngestionAsyncClient.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/IngestionAsyncClient.java @@ -68,7 +68,8 @@ public Mono> cancelOperationWithResponse(String operationId, Requ } /** - * Cancel all running operations of a geo-catalog collection. + * Cancel all pending and running operations across the entire GeoCatalog instance. This is a catalog-wide operation + * and is not scoped to a specific collection. * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -363,9 +364,10 @@ public PagedFlux listRuns(String collectionId, String ingestionId, R * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -380,9 +382,10 @@ public PagedFlux listRuns(String collectionId, String ingestionId, R * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -467,9 +470,10 @@ public PollerFlux beginDelete(String collectionId, String inge * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -510,9 +514,10 @@ public Mono> getWithResponse(String collectionId, String in * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -543,9 +548,10 @@ public PagedFlux list(String collectionId, RequestOptions requestOpt * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -560,9 +566,10 @@ public PagedFlux list(String collectionId, RequestOptions requestOpt * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -800,7 +807,8 @@ public Mono cancelOperation(String operationId) { } /** - * Cancel all running operations of a geo-catalog collection. + * Cancel all pending and running operations across the entire GeoCatalog instance. This is a catalog-wide operation + * and is not scoped to a specific collection. * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/IngestionClient.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/IngestionClient.java index 4405fc093fb7..9d7098c02758 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/IngestionClient.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/IngestionClient.java @@ -62,7 +62,8 @@ public Response cancelOperationWithResponse(String operationId, RequestOpt } /** - * Cancel all running operations of a geo-catalog collection. + * Cancel all pending and running operations across the entire GeoCatalog instance. This is a catalog-wide operation + * and is not scoped to a specific collection. * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -355,9 +356,10 @@ public PagedIterable listRuns(String collectionId, String ingestionI * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -372,9 +374,10 @@ public PagedIterable listRuns(String collectionId, String ingestionI * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -458,9 +461,10 @@ public SyncPoller beginDelete(String collectionId, String inge * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -501,9 +505,10 @@ public Response getWithResponse(String collectionId, String ingestio * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -534,9 +539,10 @@ public PagedIterable list(String collectionId, RequestOptions reques * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -551,9 +557,10 @@ public PagedIterable list(String collectionId, RequestOptions reques * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -787,7 +794,8 @@ public void cancelOperation(String operationId) { } /** - * Cancel all running operations of a geo-catalog collection. + * Cancel all pending and running operations across the entire GeoCatalog instance. This is a catalog-wide operation + * and is not scoped to a specific collection. * * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/PlanetaryComputerServiceVersion.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/PlanetaryComputerServiceVersion.java index 08533ff85d4a..ab8dd504812e 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/PlanetaryComputerServiceVersion.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/PlanetaryComputerServiceVersion.java @@ -11,9 +11,9 @@ */ public enum PlanetaryComputerServiceVersion implements ServiceVersion { /** - * Enum value 2025-04-30-preview. + * Enum value 2026-04-15. */ - V2025_04_30_PREVIEW("2025-04-30-preview"); + V2026_04_15("2026-04-15"); private final String version; @@ -35,6 +35,6 @@ public String getVersion() { * @return The latest {@link PlanetaryComputerServiceVersion}. */ public static PlanetaryComputerServiceVersion getLatest() { - return V2025_04_30_PREVIEW; + return V2026_04_15; } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureAsyncClient.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureAsyncClient.java index 06bc3c241c8d..dce2bfee2f48 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureAsyncClient.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureAsyncClient.java @@ -77,8 +77,8 @@ public final class SharedAccessSignatureAsyncClient { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSignWithResponse(String href, RequestOptions requestOptions) { - return this.serviceClient.getSignWithResponseAsync(href, requestOptions); + public Mono> getUrlWithResponse(String href, RequestOptions requestOptions) { + return this.serviceClient.getUrlWithResponseAsync(href, requestOptions); } /** @@ -177,13 +177,13 @@ public Mono> revokeTokenWithResponse(RequestOptions requestOption */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSign(String href, Integer durationInMinutes) { - // Generated convenience method for getSignWithResponse + public Mono getUrl(String href, Integer durationInMinutes) { + // Generated convenience method for getUrlWithResponse RequestOptions requestOptions = new RequestOptions(); if (durationInMinutes != null) { requestOptions.addQueryParam("duration", String.valueOf(durationInMinutes), false); } - return getSignWithResponse(href, requestOptions).flatMap(FluxUtil::toMono) + return getUrlWithResponse(href, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SharedAccessSignatureSignedLink.class)); } @@ -207,10 +207,10 @@ public Mono getSign(String href, Integer durati */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getSign(String href) { - // Generated convenience method for getSignWithResponse + public Mono getUrl(String href) { + // Generated convenience method for getUrlWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSignWithResponse(href, requestOptions).flatMap(FluxUtil::toMono) + return getUrlWithResponse(href, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(SharedAccessSignatureSignedLink.class)); } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureClient.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureClient.java index 599ea0df7c2e..d20c2ed56267 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureClient.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureClient.java @@ -75,8 +75,8 @@ public final class SharedAccessSignatureClient { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSignWithResponse(String href, RequestOptions requestOptions) { - return this.serviceClient.getSignWithResponse(href, requestOptions); + public Response getUrlWithResponse(String href, RequestOptions requestOptions) { + return this.serviceClient.getUrlWithResponse(href, requestOptions); } /** @@ -174,13 +174,13 @@ public Response revokeTokenWithResponse(RequestOptions requestOptions) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SharedAccessSignatureSignedLink getSign(String href, Integer durationInMinutes) { - // Generated convenience method for getSignWithResponse + public SharedAccessSignatureSignedLink getUrl(String href, Integer durationInMinutes) { + // Generated convenience method for getUrlWithResponse RequestOptions requestOptions = new RequestOptions(); if (durationInMinutes != null) { requestOptions.addQueryParam("duration", String.valueOf(durationInMinutes), false); } - return getSignWithResponse(href, requestOptions).getValue().toObject(SharedAccessSignatureSignedLink.class); + return getUrlWithResponse(href, requestOptions).getValue().toObject(SharedAccessSignatureSignedLink.class); } /** @@ -203,10 +203,10 @@ public SharedAccessSignatureSignedLink getSign(String href, Integer durationInMi */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public SharedAccessSignatureSignedLink getSign(String href) { - // Generated convenience method for getSignWithResponse + public SharedAccessSignatureSignedLink getUrl(String href) { + // Generated convenience method for getUrlWithResponse RequestOptions requestOptions = new RequestOptions(); - return getSignWithResponse(href, requestOptions).getValue().toObject(SharedAccessSignatureSignedLink.class); + return getUrlWithResponse(href, requestOptions).getValue().toObject(SharedAccessSignatureSignedLink.class); } /** diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/StacAsyncClient.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/StacAsyncClient.java index 0d27bb4214e9..ead960105e80 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/StacAsyncClient.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/StacAsyncClient.java @@ -93,7 +93,7 @@ public final class StacAsyncClient { * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -129,7 +129,7 @@ public final class StacAsyncClient { * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -155,7 +155,7 @@ public final class StacAsyncClient { * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -183,10 +183,10 @@ public final class StacAsyncClient { * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -243,7 +243,7 @@ Mono> createCollectionAssetWithResponse(String collectionId * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -279,7 +279,7 @@ Mono> createCollectionAssetWithResponse(String collectionId * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -305,7 +305,7 @@ Mono> createCollectionAssetWithResponse(String collectionId * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -333,10 +333,10 @@ Mono> createCollectionAssetWithResponse(String collectionId * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -394,7 +394,7 @@ Mono> replaceCollectionAssetWithResponse(String collectionI * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -430,7 +430,7 @@ Mono> replaceCollectionAssetWithResponse(String collectionI * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -456,7 +456,7 @@ Mono> replaceCollectionAssetWithResponse(String collectionI * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -484,10 +484,10 @@ Mono> replaceCollectionAssetWithResponse(String collectionI * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -538,7 +538,7 @@ public Mono> deleteCollectionAssetWithResponse(String colle * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -580,7 +580,7 @@ public Mono> deleteCollectionAssetWithResponse(String colle * ] * defaultLocation (Optional): (recursive schema, see defaultLocation above) * defaultCustomQuery (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -619,7 +619,7 @@ public Mono> getCollectionConfigurationWithResponse(String * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -636,7 +636,7 @@ public Mono> getCollectionConfigurationWithResponse(String * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -674,7 +674,7 @@ public Mono> addMosaicWithResponse(String collectionId, Bin * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -691,7 +691,7 @@ public Mono> addMosaicWithResponse(String collectionId, Bin * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -751,7 +751,7 @@ public Mono> deleteMosaicWithResponse(String collectionId, String * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -792,7 +792,7 @@ public Mono> getMosaicWithResponse(String collectionId, Str * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -813,8 +813,8 @@ public Mono> getMosaicWithResponse(String collectionId, Str */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listMosaicsWithResponse(String collectionId, RequestOptions requestOptions) { - return this.serviceClient.listMosaicsWithResponseAsync(collectionId, requestOptions); + public Mono> getMosaicsWithResponse(String collectionId, RequestOptions requestOptions) { + return this.serviceClient.getMosaicsWithResponseAsync(collectionId, requestOptions); } /** @@ -848,7 +848,7 @@ public Mono> listMosaicsWithResponse(String collectionId, R * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -884,7 +884,7 @@ public Mono> listMosaicsWithResponse(String collectionId, R * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -910,7 +910,7 @@ public Mono> listMosaicsWithResponse(String collectionId, R * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -938,10 +938,10 @@ public Mono> listMosaicsWithResponse(String collectionId, R * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -994,9 +994,9 @@ public PollerFlux beginCreateCollection(BinaryData body, } /** - * Create or update Collection + * Replace Collection * - * Create or replace a collection in the GeoCatalog instance. + * Replace an existing collection in the GeoCatalog instance. *

Request Body Schema

* *
@@ -1024,7 +1024,7 @@ public PollerFlux beginCreateCollection(BinaryData body,
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -1060,7 +1060,7 @@ public PollerFlux beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1086,7 +1086,7 @@ public PollerFlux beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1114,10 +1114,10 @@ public PollerFlux beginCreateCollection(BinaryData body,
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -1150,7 +1150,7 @@ public PollerFlux beginCreateCollection(BinaryData body,
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -1186,7 +1186,7 @@ public PollerFlux beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1212,7 +1212,7 @@ public PollerFlux beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1240,10 +1240,10 @@ public PollerFlux beginCreateCollection(BinaryData body,
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -1262,9 +1262,9 @@ public PollerFlux beginCreateCollection(BinaryData body,
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono> createOrReplaceCollectionWithResponse(String collectionId, BinaryData body,
+    public Mono> replaceCollectionWithResponse(String collectionId, BinaryData body,
         RequestOptions requestOptions) {
-        return this.serviceClient.createOrReplaceCollectionWithResponseAsync(collectionId, body, requestOptions);
+        return this.serviceClient.replaceCollectionWithResponseAsync(collectionId, body, requestOptions);
     }
 
     /**
@@ -1357,7 +1357,7 @@ public PollerFlux beginDeleteCollection(String collectionId, R
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -1393,7 +1393,7 @@ public PollerFlux beginDeleteCollection(String collectionId, R
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1419,7 +1419,7 @@ public PollerFlux beginDeleteCollection(String collectionId, R
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1447,10 +1447,10 @@ public PollerFlux beginDeleteCollection(String collectionId, R
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -1503,7 +1503,7 @@ public Mono> getCollectionWithResponse(String collectionId,
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -1553,7 +1553,7 @@ public Mono> getCollectionWithResponse(String collectionId,
      *                         String (Optional)
      *                     ]
      *                      (Optional): {
-     *                         String: Object (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 }
      *             }
@@ -1579,7 +1579,7 @@ public Mono> getCollectionWithResponse(String collectionId,
      *                         String (Optional)
      *                     ]
      *                      (Optional): {
-     *                         String: Object (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 }
      *             }
@@ -1607,10 +1607,10 @@ public Mono> getCollectionWithResponse(String collectionId,
      *                 (recursive schema, see above)
      *             ]
      *             summaries (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     ]
@@ -2047,9 +2047,8 @@ public Mono> getRenderOptionWithResponse(String collectionI
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono> listRenderOptionsWithResponse(String collectionId,
-        RequestOptions requestOptions) {
-        return this.serviceClient.listRenderOptionsWithResponseAsync(collectionId, requestOptions);
+    public Mono> getRenderOptionsWithResponse(String collectionId, RequestOptions requestOptions) {
+        return this.serviceClient.getRenderOptionsWithResponseAsync(collectionId, requestOptions);
     }
 
     /**
@@ -2202,8 +2201,8 @@ public Mono> replaceTileSettingsWithResponse(String collect
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono> getConformanceClassWithResponse(RequestOptions requestOptions) {
-        return this.serviceClient.getConformanceClassWithResponseAsync(requestOptions);
+    public Mono> getConformanceClassesWithResponse(RequestOptions requestOptions) {
+        return this.serviceClient.getConformanceClassesWithResponseAsync(requestOptions);
     }
 
     /**
@@ -2241,7 +2240,7 @@ public Mono> getConformanceClassWithResponse(RequestOptions
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -2289,7 +2288,7 @@ public Mono> getLandingPageWithResponse(RequestOptions requ
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -2364,7 +2363,7 @@ public PollerFlux beginCreateItem(String collectionId, B
     }
 
     /**
-     * Create or replace a STAC item in a collection.
+     * Replace a STAC item in a collection.
      * 

Request Body Schema

* *
@@ -2385,7 +2384,7 @@ public PollerFlux beginCreateItem(String collectionId, B
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -2433,7 +2432,7 @@ public PollerFlux beginCreateItem(String collectionId, B
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -2458,7 +2457,7 @@ public PollerFlux beginCreateItem(String collectionId, B
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -2512,9 +2511,9 @@ public PollerFlux beginCreateItem(String collectionId, B
      */
     @Generated
     @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
-    public PollerFlux beginCreateOrReplaceItem(String collectionId, String itemId,
-        BinaryData body, RequestOptions requestOptions) {
-        return this.serviceClient.beginCreateOrReplaceItemAsync(collectionId, itemId, body, requestOptions);
+    public PollerFlux beginReplaceItem(String collectionId, String itemId, BinaryData body,
+        RequestOptions requestOptions) {
+        return this.serviceClient.beginReplaceItemAsync(collectionId, itemId, body, requestOptions);
     }
 
     /**
@@ -2569,6 +2568,15 @@ public PollerFlux beginDeleteItem(String collectionId, String
 
     /**
      * Fetch a single STAC Item.
+     * 

Query Parameters

+ * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
signStringNoWhether to sign asset URLs in the response. Allowed values: + * "true", "false".
durationIntegerNoURL signature duration in minutes.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -2589,7 +2597,7 @@ public PollerFlux beginDeleteItem(String collectionId, String
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -2637,7 +2645,7 @@ public PollerFlux beginDeleteItem(String collectionId, String
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -2662,7 +2670,7 @@ public PollerFlux beginDeleteItem(String collectionId, String
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -2751,6 +2759,10 @@ public Mono> getItemWithResponse(String collectionId, Strin
      * If a feature has multiple temporal properties, it is the decision of the
      * server whether only a single temporal property is used to determine
      * the extent or all relevant temporal properties.
+     * signStringNoWhether to sign asset URLs in the response. Allowed values:
+     * "true", "false".
+     * durationIntegerNoURL signature duration in minutes.
+     * tokenStringNoPagination token for fetching the next set of results.
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

@@ -2773,7 +2785,7 @@ public Mono> getItemWithResponse(String collectionId, Strin * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -2834,7 +2846,7 @@ public Mono> getItemWithResponse(String collectionId, Strin * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -2859,7 +2871,7 @@ public Mono> getItemWithResponse(String collectionId, Strin * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -2919,7 +2931,7 @@ public Mono> getItemCollectionWithResponse(String collectio * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -2967,7 +2979,7 @@ public Mono> getItemCollectionWithResponse(String collectio * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -2992,7 +3004,7 @@ public Mono> getItemCollectionWithResponse(String collectio * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3063,7 +3075,7 @@ public PollerFlux beginUpdateItem(String collectionId, S * (Required){ * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -3080,7 +3092,7 @@ public PollerFlux beginUpdateItem(String collectionId, S * (Required){ * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -3117,7 +3129,7 @@ public Mono> createQueryablesWithResponse(String collection * { * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -3132,7 +3144,7 @@ public Mono> createQueryablesWithResponse(String collection * { * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -3189,7 +3201,7 @@ public Mono> deleteQueryableWithResponse(String collectionId, Str * {@code * { * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3204,8 +3216,8 @@ public Mono> deleteQueryableWithResponse(String collectionId, Str */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listQueryablesWithResponse(RequestOptions requestOptions) { - return this.serviceClient.listQueryablesWithResponseAsync(requestOptions); + public Mono> getQueryablesWithResponse(RequestOptions requestOptions) { + return this.serviceClient.getQueryablesWithResponseAsync(requestOptions); } /** @@ -3218,7 +3230,7 @@ public Mono> listQueryablesWithResponse(RequestOptions requ * {@code * { * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3275,10 +3287,10 @@ public Mono> getCollectionQueryablesWithResponse(String col * datetime: String (Optional) * limit: Integer (Optional) * conf (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * query (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * sortby (Optional): [ * (Optional){ @@ -3297,7 +3309,7 @@ public Mono> getCollectionQueryablesWithResponse(String col * } * ] * filter (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * filter-crs: String (Optional) * filter-lang: String(cql-json/cql2-json/cql2-text) (Optional) @@ -3326,7 +3338,7 @@ public Mono> getCollectionQueryablesWithResponse(String col * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -3387,7 +3399,7 @@ public Mono> getCollectionQueryablesWithResponse(String col * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -3412,7 +3424,7 @@ public Mono> getCollectionQueryablesWithResponse(String col * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3684,10 +3696,10 @@ public Mono getMosaic(String collectionId, String mosaicId) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listMosaics(String collectionId) { - // Generated convenience method for listMosaicsWithResponse + public Mono> getMosaics(String collectionId) { + // Generated convenience method for getMosaicsWithResponse RequestOptions requestOptions = new RequestOptions(); - return listMosaicsWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) + return getMosaicsWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_STAC_MOSAIC)); } @@ -3714,9 +3726,9 @@ public PollerFlux beginCreateCollection(StacCollection body) { } /** - * Create or update Collection + * Replace Collection * - * Create or replace a collection in the GeoCatalog instance. + * Replace an existing collection in the GeoCatalog instance. * * @param collectionId Catalog collection id. * @param body Request collection body. @@ -3732,10 +3744,10 @@ public PollerFlux beginCreateCollection(StacCollection body) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono createOrReplaceCollection(String collectionId, StacCollection body) { - // Generated convenience method for createOrReplaceCollectionWithResponse + public Mono replaceCollection(String collectionId, StacCollection body) { + // Generated convenience method for replaceCollectionWithResponse RequestOptions requestOptions = new RequestOptions(); - return createOrReplaceCollectionWithResponse(collectionId, BinaryData.fromObject(body), requestOptions) + return replaceCollectionWithResponse(collectionId, BinaryData.fromObject(body), requestOptions) .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(StacCollection.class)); } @@ -4049,10 +4061,10 @@ public Mono getRenderOption(String collectionId, String renderOpti */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listRenderOptions(String collectionId) { - // Generated convenience method for listRenderOptionsWithResponse + public Mono> getRenderOptions(String collectionId) { + // Generated convenience method for getRenderOptionsWithResponse RequestOptions requestOptions = new RequestOptions(); - return listRenderOptionsWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) + return getRenderOptionsWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(TYPE_REFERENCE_LIST_RENDER_OPTION)); } @@ -4146,10 +4158,10 @@ public Mono replaceTileSettings(String collectionId, TileSettings */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getConformanceClass() { - // Generated convenience method for getConformanceClassWithResponse + public Mono getConformanceClasses() { + // Generated convenience method for getConformanceClassesWithResponse RequestOptions requestOptions = new RequestOptions(); - return getConformanceClassWithResponse(requestOptions).flatMap(FluxUtil::toMono) + return getConformanceClassesWithResponse(requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(StacConformanceClasses.class)); } @@ -4209,7 +4221,7 @@ public PollerFlux beginCreateItem(String collectionId, StacItem } /** - * Create or replace a STAC item in a collection. + * Replace a STAC item in a collection. * * @param collectionId Catalog collection id. * @param itemId STAC Item id. @@ -4224,10 +4236,10 @@ public PollerFlux beginCreateItem(String collectionId, StacItem */ @Generated @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public PollerFlux beginCreateOrReplaceItem(String collectionId, String itemId, StacItem body) { - // Generated convenience method for beginCreateOrReplaceItemWithModel + public PollerFlux beginReplaceItem(String collectionId, String itemId, StacItem body) { + // Generated convenience method for beginReplaceItemWithModel RequestOptions requestOptions = new RequestOptions(); - return serviceClient.beginCreateOrReplaceItemWithModelAsync(collectionId, itemId, BinaryData.fromObject(body), + return serviceClient.beginReplaceItemWithModelAsync(collectionId, itemId, BinaryData.fromObject(body), requestOptions); } @@ -4252,6 +4264,38 @@ public PollerFlux beginDeleteItem(String collectionId, String i return serviceClient.beginDeleteItemWithModelAsync(collectionId, itemId, requestOptions); } + /** + * Fetch a single STAC Item. + * + * @param collectionId Catalog collection id. + * @param itemId STAC Item id. + * @param sign Whether to sign asset URLs in the response. + * @param durationInMinutes URL signature duration in minutes. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a STAC Item, which is a GeoJSON Feature with additional metadata on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getItem(String collectionId, String itemId, StacAssetUrlSigningMode sign, + Integer durationInMinutes) { + // Generated convenience method for getItemWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (sign != null) { + requestOptions.addQueryParam("sign", sign.toString(), false); + } + if (durationInMinutes != null) { + requestOptions.addQueryParam("duration", String.valueOf(durationInMinutes), false); + } + return getItemWithResponse(collectionId, itemId, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(StacItem.class)); + } + /** * Fetch a single STAC Item. * @@ -4333,6 +4377,9 @@ public Mono getItem(String collectionId, String itemId) { * If a feature has multiple temporal properties, it is the decision of the * server whether only a single temporal property is used to determine * the extent or all relevant temporal properties. + * @param sign Whether to sign asset URLs in the response. + * @param durationInMinutes URL signature duration in minutes. + * @param token Pagination token for fetching the next set of results. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4346,7 +4393,7 @@ public Mono getItem(String collectionId, String itemId) { @Generated @ServiceMethod(returns = ReturnType.SINGLE) public Mono getItemCollection(String collectionId, Integer limit, List boundingBox, - String datetime) { + String datetime, StacAssetUrlSigningMode sign, Integer durationInMinutes, String token) { // Generated convenience method for getItemCollectionWithResponse RequestOptions requestOptions = new RequestOptions(); if (limit != null) { @@ -4362,6 +4409,15 @@ public Mono getItemCollection(String collectionId, Integer l if (datetime != null) { requestOptions.addQueryParam("datetime", datetime, false); } + if (sign != null) { + requestOptions.addQueryParam("sign", sign.toString(), false); + } + if (durationInMinutes != null) { + requestOptions.addQueryParam("duration", String.valueOf(durationInMinutes), false); + } + if (token != null) { + requestOptions.addQueryParam("token", token, false); + } return getItemCollectionWithResponse(collectionId, requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(StacItemCollection.class)); } @@ -4482,10 +4538,10 @@ public Mono deleteQueryable(String collectionId, String queryableName) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Mono listQueryables() { - // Generated convenience method for listQueryablesWithResponse + public Mono getQueryables() { + // Generated convenience method for getQueryablesWithResponse RequestOptions requestOptions = new RequestOptions(); - return listQueryablesWithResponse(requestOptions).flatMap(FluxUtil::toMono) + return getQueryablesWithResponse(requestOptions).flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(QueryableDefinitionsResponse.class)); } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/StacClient.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/StacClient.java index f9fd634511ac..d5a76fc6dfda 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/StacClient.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/StacClient.java @@ -91,7 +91,7 @@ public final class StacClient { * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -127,7 +127,7 @@ public final class StacClient { * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -153,7 +153,7 @@ public final class StacClient { * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -181,10 +181,10 @@ public final class StacClient { * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -241,7 +241,7 @@ Response createCollectionAssetWithResponse(String collectionId, Bina * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -277,7 +277,7 @@ Response createCollectionAssetWithResponse(String collectionId, Bina * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -303,7 +303,7 @@ Response createCollectionAssetWithResponse(String collectionId, Bina * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -331,10 +331,10 @@ Response createCollectionAssetWithResponse(String collectionId, Bina * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -392,7 +392,7 @@ Response replaceCollectionAssetWithResponse(String collectionId, Str * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -428,7 +428,7 @@ Response replaceCollectionAssetWithResponse(String collectionId, Str * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -454,7 +454,7 @@ Response replaceCollectionAssetWithResponse(String collectionId, Str * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -482,10 +482,10 @@ Response replaceCollectionAssetWithResponse(String collectionId, Str * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -536,7 +536,7 @@ public Response deleteCollectionAssetWithResponse(String collectionI * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -578,7 +578,7 @@ public Response deleteCollectionAssetWithResponse(String collectionI * ] * defaultLocation (Optional): (recursive schema, see defaultLocation above) * defaultCustomQuery (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -616,7 +616,7 @@ public Response getCollectionConfigurationWithResponse(String collec * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -633,7 +633,7 @@ public Response getCollectionConfigurationWithResponse(String collec * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -670,7 +670,7 @@ public Response addMosaicWithResponse(String collectionId, BinaryDat * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -687,7 +687,7 @@ public Response addMosaicWithResponse(String collectionId, BinaryDat * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -746,7 +746,7 @@ public Response deleteMosaicWithResponse(String collectionId, String mosai * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -786,7 +786,7 @@ public Response getMosaicWithResponse(String collectionId, String mo * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -806,8 +806,8 @@ public Response getMosaicWithResponse(String collectionId, String mo */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response listMosaicsWithResponse(String collectionId, RequestOptions requestOptions) { - return this.serviceClient.listMosaicsWithResponse(collectionId, requestOptions); + public Response getMosaicsWithResponse(String collectionId, RequestOptions requestOptions) { + return this.serviceClient.getMosaicsWithResponse(collectionId, requestOptions); } /** @@ -841,7 +841,7 @@ public Response listMosaicsWithResponse(String collectionId, Request * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -877,7 +877,7 @@ public Response listMosaicsWithResponse(String collectionId, Request * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -903,7 +903,7 @@ public Response listMosaicsWithResponse(String collectionId, Request * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -931,10 +931,10 @@ public Response listMosaicsWithResponse(String collectionId, Request * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -987,9 +987,9 @@ public SyncPoller beginCreateCollection(BinaryData body, } /** - * Create or update Collection + * Replace Collection * - * Create or replace a collection in the GeoCatalog instance. + * Replace an existing collection in the GeoCatalog instance. *

Request Body Schema

* *
@@ -1017,7 +1017,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -1053,7 +1053,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1079,7 +1079,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1107,10 +1107,10 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -1143,7 +1143,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -1179,7 +1179,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1205,7 +1205,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1233,10 +1233,10 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -1255,9 +1255,9 @@ public SyncPoller beginCreateCollection(BinaryData body,
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Response createOrReplaceCollectionWithResponse(String collectionId, BinaryData body,
+    public Response replaceCollectionWithResponse(String collectionId, BinaryData body,
         RequestOptions requestOptions) {
-        return this.serviceClient.createOrReplaceCollectionWithResponse(collectionId, body, requestOptions);
+        return this.serviceClient.replaceCollectionWithResponse(collectionId, body, requestOptions);
     }
 
     /**
@@ -1350,7 +1350,7 @@ public SyncPoller beginDeleteCollection(String collectionId, R
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -1386,7 +1386,7 @@ public SyncPoller beginDeleteCollection(String collectionId, R
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1412,7 +1412,7 @@ public SyncPoller beginDeleteCollection(String collectionId, R
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -1440,10 +1440,10 @@ public SyncPoller beginDeleteCollection(String collectionId, R
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -1496,7 +1496,7 @@ public Response getCollectionWithResponse(String collectionId, Reque
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -1546,7 +1546,7 @@ public Response getCollectionWithResponse(String collectionId, Reque
      *                         String (Optional)
      *                     ]
      *                      (Optional): {
-     *                         String: Object (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 }
      *             }
@@ -1572,7 +1572,7 @@ public Response getCollectionWithResponse(String collectionId, Reque
      *                         String (Optional)
      *                     ]
      *                      (Optional): {
-     *                         String: Object (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 }
      *             }
@@ -1600,10 +1600,10 @@ public Response getCollectionWithResponse(String collectionId, Reque
      *                 (recursive schema, see above)
      *             ]
      *             summaries (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     ]
@@ -2034,8 +2034,8 @@ public Response getRenderOptionWithResponse(String collectionId, Str
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Response listRenderOptionsWithResponse(String collectionId, RequestOptions requestOptions) {
-        return this.serviceClient.listRenderOptionsWithResponse(collectionId, requestOptions);
+    public Response getRenderOptionsWithResponse(String collectionId, RequestOptions requestOptions) {
+        return this.serviceClient.getRenderOptionsWithResponse(collectionId, requestOptions);
     }
 
     /**
@@ -2184,8 +2184,8 @@ public Response replaceTileSettingsWithResponse(String collectionId,
      */
     @Generated
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Response getConformanceClassWithResponse(RequestOptions requestOptions) {
-        return this.serviceClient.getConformanceClassWithResponse(requestOptions);
+    public Response getConformanceClassesWithResponse(RequestOptions requestOptions) {
+        return this.serviceClient.getConformanceClassesWithResponse(requestOptions);
     }
 
     /**
@@ -2223,7 +2223,7 @@ public Response getConformanceClassWithResponse(RequestOptions reque
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -2270,7 +2270,7 @@ public Response getLandingPageWithResponse(RequestOptions requestOpt
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -2345,7 +2345,7 @@ public SyncPoller beginCreateItem(String collectionId, B
     }
 
     /**
-     * Create or replace a STAC item in a collection.
+     * Replace a STAC item in a collection.
      * 

Request Body Schema

* *
@@ -2366,7 +2366,7 @@ public SyncPoller beginCreateItem(String collectionId, B
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -2414,7 +2414,7 @@ public SyncPoller beginCreateItem(String collectionId, B
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -2439,7 +2439,7 @@ public SyncPoller beginCreateItem(String collectionId, B
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -2493,9 +2493,9 @@ public SyncPoller beginCreateItem(String collectionId, B
      */
     @Generated
     @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
-    public SyncPoller beginCreateOrReplaceItem(String collectionId, String itemId,
-        BinaryData body, RequestOptions requestOptions) {
-        return this.serviceClient.beginCreateOrReplaceItem(collectionId, itemId, body, requestOptions);
+    public SyncPoller beginReplaceItem(String collectionId, String itemId, BinaryData body,
+        RequestOptions requestOptions) {
+        return this.serviceClient.beginReplaceItem(collectionId, itemId, body, requestOptions);
     }
 
     /**
@@ -2550,6 +2550,15 @@ public SyncPoller beginDeleteItem(String collectionId, String
 
     /**
      * Fetch a single STAC Item.
+     * 

Query Parameters

+ * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
signStringNoWhether to sign asset URLs in the response. Allowed values: + * "true", "false".
durationIntegerNoURL signature duration in minutes.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -2570,7 +2579,7 @@ public SyncPoller beginDeleteItem(String collectionId, String
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -2618,7 +2627,7 @@ public SyncPoller beginDeleteItem(String collectionId, String
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -2643,7 +2652,7 @@ public SyncPoller beginDeleteItem(String collectionId, String
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -2730,6 +2739,10 @@ public Response getItemWithResponse(String collectionId, String item
      * If a feature has multiple temporal properties, it is the decision of the
      * server whether only a single temporal property is used to determine
      * the extent or all relevant temporal properties.
+     * signStringNoWhether to sign asset URLs in the response. Allowed values:
+     * "true", "false".
+     * durationIntegerNoURL signature duration in minutes.
+     * tokenStringNoPagination token for fetching the next set of results.
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

@@ -2752,7 +2765,7 @@ public Response getItemWithResponse(String collectionId, String item * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -2813,7 +2826,7 @@ public Response getItemWithResponse(String collectionId, String item * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -2838,7 +2851,7 @@ public Response getItemWithResponse(String collectionId, String item * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -2896,7 +2909,7 @@ public Response getItemCollectionWithResponse(String collectionId, R * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -2944,7 +2957,7 @@ public Response getItemCollectionWithResponse(String collectionId, R * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -2969,7 +2982,7 @@ public Response getItemCollectionWithResponse(String collectionId, R * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3040,7 +3053,7 @@ public SyncPoller beginUpdateItem(String collectionId, S * (Required){ * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -3057,7 +3070,7 @@ public SyncPoller beginUpdateItem(String collectionId, S * (Required){ * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -3094,7 +3107,7 @@ public Response createQueryablesWithResponse(String collectionId, Bi * { * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -3109,7 +3122,7 @@ public Response createQueryablesWithResponse(String collectionId, Bi * { * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -3165,7 +3178,7 @@ public Response deleteQueryableWithResponse(String collectionId, String qu * {@code * { * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3180,8 +3193,8 @@ public Response deleteQueryableWithResponse(String collectionId, String qu */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public Response listQueryablesWithResponse(RequestOptions requestOptions) { - return this.serviceClient.listQueryablesWithResponse(requestOptions); + public Response getQueryablesWithResponse(RequestOptions requestOptions) { + return this.serviceClient.getQueryablesWithResponse(requestOptions); } /** @@ -3194,7 +3207,7 @@ public Response listQueryablesWithResponse(RequestOptions requestOpt * {@code * { * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3251,10 +3264,10 @@ public Response getCollectionQueryablesWithResponse(String collectio * datetime: String (Optional) * limit: Integer (Optional) * conf (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * query (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * sortby (Optional): [ * (Optional){ @@ -3273,7 +3286,7 @@ public Response getCollectionQueryablesWithResponse(String collectio * } * ] * filter (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * filter-crs: String (Optional) * filter-lang: String(cql-json/cql2-json/cql2-text) (Optional) @@ -3302,7 +3315,7 @@ public Response getCollectionQueryablesWithResponse(String collectio * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -3363,7 +3376,7 @@ public Response getCollectionQueryablesWithResponse(String collectio * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -3388,7 +3401,7 @@ public Response getCollectionQueryablesWithResponse(String collectio * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3653,10 +3666,10 @@ public StacMosaic getMosaic(String collectionId, String mosaicId) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public List listMosaics(String collectionId) { - // Generated convenience method for listMosaicsWithResponse + public List getMosaics(String collectionId) { + // Generated convenience method for getMosaicsWithResponse RequestOptions requestOptions = new RequestOptions(); - return listMosaicsWithResponse(collectionId, requestOptions).getValue() + return getMosaicsWithResponse(collectionId, requestOptions).getValue() .toObject(TYPE_REFERENCE_LIST_STAC_MOSAIC); } @@ -3683,9 +3696,9 @@ public SyncPoller beginCreateCollection(StacCollection body) { } /** - * Create or update Collection + * Replace Collection * - * Create or replace a collection in the GeoCatalog instance. + * Replace an existing collection in the GeoCatalog instance. * * @param collectionId Catalog collection id. * @param body Request collection body. @@ -3701,11 +3714,10 @@ public SyncPoller beginCreateCollection(StacCollection body) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public StacCollection createOrReplaceCollection(String collectionId, StacCollection body) { - // Generated convenience method for createOrReplaceCollectionWithResponse + public StacCollection replaceCollection(String collectionId, StacCollection body) { + // Generated convenience method for replaceCollectionWithResponse RequestOptions requestOptions = new RequestOptions(); - return createOrReplaceCollectionWithResponse(collectionId, BinaryData.fromObject(body), requestOptions) - .getValue() + return replaceCollectionWithResponse(collectionId, BinaryData.fromObject(body), requestOptions).getValue() .toObject(StacCollection.class); } @@ -4007,10 +4019,10 @@ public RenderOption getRenderOption(String collectionId, String renderOptionId) */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public List listRenderOptions(String collectionId) { - // Generated convenience method for listRenderOptionsWithResponse + public List getRenderOptions(String collectionId) { + // Generated convenience method for getRenderOptionsWithResponse RequestOptions requestOptions = new RequestOptions(); - return listRenderOptionsWithResponse(collectionId, requestOptions).getValue() + return getRenderOptionsWithResponse(collectionId, requestOptions).getValue() .toObject(TYPE_REFERENCE_LIST_RENDER_OPTION); } @@ -4102,10 +4114,10 @@ public TileSettings replaceTileSettings(String collectionId, TileSettings body) */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public StacConformanceClasses getConformanceClass() { - // Generated convenience method for getConformanceClassWithResponse + public StacConformanceClasses getConformanceClasses() { + // Generated convenience method for getConformanceClassesWithResponse RequestOptions requestOptions = new RequestOptions(); - return getConformanceClassWithResponse(requestOptions).getValue().toObject(StacConformanceClasses.class); + return getConformanceClassesWithResponse(requestOptions).getValue().toObject(StacConformanceClasses.class); } /** @@ -4163,7 +4175,7 @@ public SyncPoller beginCreateItem(String collectionId, StacItem } /** - * Create or replace a STAC item in a collection. + * Replace a STAC item in a collection. * * @param collectionId Catalog collection id. * @param itemId STAC Item id. @@ -4178,10 +4190,10 @@ public SyncPoller beginCreateItem(String collectionId, StacItem */ @Generated @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller beginCreateOrReplaceItem(String collectionId, String itemId, StacItem body) { - // Generated convenience method for beginCreateOrReplaceItemWithModel + public SyncPoller beginReplaceItem(String collectionId, String itemId, StacItem body) { + // Generated convenience method for beginReplaceItemWithModel RequestOptions requestOptions = new RequestOptions(); - return serviceClient.beginCreateOrReplaceItemWithModel(collectionId, itemId, BinaryData.fromObject(body), + return serviceClient.beginReplaceItemWithModel(collectionId, itemId, BinaryData.fromObject(body), requestOptions); } @@ -4206,6 +4218,36 @@ public SyncPoller beginDeleteItem(String collectionId, String i return serviceClient.beginDeleteItemWithModel(collectionId, itemId, requestOptions); } + /** + * Fetch a single STAC Item. + * + * @param collectionId Catalog collection id. + * @param itemId STAC Item id. + * @param sign Whether to sign asset URLs in the response. + * @param durationInMinutes URL signature duration in minutes. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return represents a STAC Item, which is a GeoJSON Feature with additional metadata. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public StacItem getItem(String collectionId, String itemId, StacAssetUrlSigningMode sign, + Integer durationInMinutes) { + // Generated convenience method for getItemWithResponse + RequestOptions requestOptions = new RequestOptions(); + if (sign != null) { + requestOptions.addQueryParam("sign", sign.toString(), false); + } + if (durationInMinutes != null) { + requestOptions.addQueryParam("duration", String.valueOf(durationInMinutes), false); + } + return getItemWithResponse(collectionId, itemId, requestOptions).getValue().toObject(StacItem.class); + } + /** * Fetch a single STAC Item. * @@ -4285,6 +4327,9 @@ public StacItem getItem(String collectionId, String itemId) { * If a feature has multiple temporal properties, it is the decision of the * server whether only a single temporal property is used to determine * the extent or all relevant temporal properties. + * @param sign Whether to sign asset URLs in the response. + * @param durationInMinutes URL signature duration in minutes. + * @param token Pagination token for fetching the next set of results. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4298,7 +4343,7 @@ public StacItem getItem(String collectionId, String itemId) { @Generated @ServiceMethod(returns = ReturnType.SINGLE) public StacItemCollection getItemCollection(String collectionId, Integer limit, List boundingBox, - String datetime) { + String datetime, StacAssetUrlSigningMode sign, Integer durationInMinutes, String token) { // Generated convenience method for getItemCollectionWithResponse RequestOptions requestOptions = new RequestOptions(); if (limit != null) { @@ -4314,6 +4359,15 @@ public StacItemCollection getItemCollection(String collectionId, Integer limit, if (datetime != null) { requestOptions.addQueryParam("datetime", datetime, false); } + if (sign != null) { + requestOptions.addQueryParam("sign", sign.toString(), false); + } + if (durationInMinutes != null) { + requestOptions.addQueryParam("duration", String.valueOf(durationInMinutes), false); + } + if (token != null) { + requestOptions.addQueryParam("token", token, false); + } return getItemCollectionWithResponse(collectionId, requestOptions).getValue() .toObject(StacItemCollection.class); } @@ -4432,10 +4486,10 @@ public void deleteQueryable(String collectionId, String queryableName) { */ @Generated @ServiceMethod(returns = ReturnType.SINGLE) - public QueryableDefinitionsResponse listQueryables() { - // Generated convenience method for listQueryablesWithResponse + public QueryableDefinitionsResponse getQueryables() { + // Generated convenience method for getQueryablesWithResponse RequestOptions requestOptions = new RequestOptions(); - return listQueryablesWithResponse(requestOptions).getValue().toObject(QueryableDefinitionsResponse.class); + return getQueryablesWithResponse(requestOptions).getValue().toObject(QueryableDefinitionsResponse.class); } /** diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/DatasImpl.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/DatasImpl.java index e9df22e1ca48..630cb4d77455 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/DatasImpl.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/DatasImpl.java @@ -96,7 +96,7 @@ Response getTileMatrixDefinitionsSync(@HostParam("endpoint") String @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listTileMatrices(@HostParam("endpoint") String endpoint, + Mono> getTileMatrices(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -106,1110 +106,14898 @@ Mono> listTileMatrices(@HostParam("endpoint") String endpoi @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listTileMatricesSync(@HostParam("endpoint") String endpoint, + Response getTileMatricesSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/asset_statistics") + @Get("/data/legend/classmap/{classmapName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getAssetStatistics(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + Mono> getClassMapLegend(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("classmapName") String classmapName, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/asset_statistics") + @Get("/data/legend/classmap/{classmapName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getAssetStatisticsSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + Response getClassMapLegendSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("classmapName") String classmapName, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/assets") + @Get("/data/legend/interval/{classmapName}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listAvailableAssets(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Mono> getIntervalLegend(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("classmapName") String classmapName, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/legend/interval/{classmapName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getIntervalLegendSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("classmapName") String classmapName, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/legend/colormap/{colorMapName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getLegend(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("colorMapName") String colorMapName, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/legend/colormap/{colorMapName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getLegendSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("colorMapName") String colorMapName, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Post("/data/mosaic/register") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> registerMosaicsSearch(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData registerMosaicsSearchRequest, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/assets") + @Post("/data/mosaic/register") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listAvailableAssetsSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Response registerMosaicsSearchSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData registerMosaicsSearchRequest, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/bounds") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getBounds(@HostParam("endpoint") String endpoint, + Mono> getTilesets(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/bounds") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getBoundsSync(@HostParam("endpoint") String endpoint, + Response getTilesetsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/data/collections/{collectionId}/items/{itemId}/crop.{format}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> cropGeoJson(@HostParam("endpoint") String endpoint, + Mono> getTilesetMetadata(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("format") String format, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/data/collections/{collectionId}/items/{itemId}/crop.{format}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response cropGeoJsonSync(@HostParam("endpoint") String endpoint, + Response getTilesetMetadataSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("format") String format, - @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/data/collections/{collectionId}/items/{itemId}/crop/{width}x{height}.{format}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> cropGeoJsonWithDimensions(@HostParam("endpoint") String endpoint, + Mono> getTile(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("width") int width, @PathParam("height") int height, - @PathParam("format") String format, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, - RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/data/collections/{collectionId}/items/{itemId}/crop/{width}x{height}.{format}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response cropGeoJsonWithDimensionsSync(@HostParam("endpoint") String endpoint, + Response getTileSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("width") int width, @PathParam("height") int height, - @PathParam("format") String format, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, - RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/data/collections/{collectionId}/items/{itemId}/statistics") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getGeoJsonStatistics(@HostParam("endpoint") String endpoint, + Mono> getTileByFormat(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, - RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Post("/data/collections/{collectionId}/items/{itemId}/statistics") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getGeoJsonStatisticsSync(@HostParam("endpoint") String endpoint, + Response getTileByFormatSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, - RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/info.geojson") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getInfoGeoJson(@HostParam("endpoint") String endpoint, + Mono> getTileByScale(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/info.geojson") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getInfoGeoJsonSync(@HostParam("endpoint") String endpoint, + Response getTileByScaleSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/info") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getItemAssetDetails(@HostParam("endpoint") String endpoint, + Mono> getTileByScaleAndFormat(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/info") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getItemAssetDetailsSync(@HostParam("endpoint") String endpoint, + Response getTileByScaleAndFormatSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/crop/{minx},{miny},{maxx},{maxy}.{format}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{z}/{x}/{y}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getPart(@HostParam("endpoint") String endpoint, + Mono> getTileNoTms(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("minx") double minx, @PathParam("miny") double miny, - @PathParam("maxx") double maxx, @PathParam("maxy") double maxy, @PathParam("format") String format, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/crop/{minx},{miny},{maxx},{maxy}.{format}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{z}/{x}/{y}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getPartSync(@HostParam("endpoint") String endpoint, + Response getTileNoTmsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("minx") double minx, @PathParam("miny") double miny, - @PathParam("maxx") double maxx, @PathParam("maxy") double maxy, @PathParam("format") String format, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/crop/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{z}/{x}/{y}.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getPartWithDimensions(@HostParam("endpoint") String endpoint, + Mono> getTileNoTmsByFormat(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("minx") double minx, @PathParam("miny") double miny, - @PathParam("maxx") double maxx, @PathParam("maxy") double maxy, @PathParam("width") int width, - @PathParam("height") int height, @PathParam("format") String format, @HeaderParam("Accept") String accept, + @PathParam("itemId") String itemId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/crop/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{z}/{x}/{y}.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getPartWithDimensionsSync(@HostParam("endpoint") String endpoint, + Response getTileNoTmsByFormatSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("minx") double minx, @PathParam("miny") double miny, - @PathParam("maxx") double maxx, @PathParam("maxy") double maxy, @PathParam("width") int width, - @PathParam("height") int height, @PathParam("format") String format, @HeaderParam("Accept") String accept, + @PathParam("itemId") String itemId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/point/{longitude},{latitude}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{z}/{x}/{y}@{scale}x") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getPoint(@HostParam("endpoint") String endpoint, + Mono> getTileNoTmsByScale(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("longitude") double longitude, - @PathParam("latitude") double latitude, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @PathParam("itemId") String itemId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("scale") double scale, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/point/{longitude},{latitude}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{z}/{x}/{y}@{scale}x") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getPointSync(@HostParam("endpoint") String endpoint, + Response getTileNoTmsByScaleSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("longitude") double longitude, - @PathParam("latitude") double latitude, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @PathParam("itemId") String itemId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("scale") double scale, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/preview") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{z}/{x}/{y}@{scale}x.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getPreview(@HostParam("endpoint") String endpoint, + Mono> getTileNoTmsByScaleAndFormat(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @PathParam("itemId") String itemId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("scale") double scale, @PathParam("format") String format, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/preview") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tiles/{z}/{x}/{y}@{scale}x.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getPreviewSync(@HostParam("endpoint") String endpoint, + Response getTileNoTmsByScaleAndFormatSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @PathParam("itemId") String itemId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("scale") double scale, @PathParam("format") String format, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/preview.{format}") + @Post("/data/mosaic/collections/{collectionId}/items/{itemId}/feature") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getPreviewWithFormat(@HostParam("endpoint") String endpoint, + Mono> cropFeature(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("format") String format, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/preview.{format}") + @Post("/data/mosaic/collections/{collectionId}/items/{itemId}/feature") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getPreviewWithFormatSync(@HostParam("endpoint") String endpoint, + Response cropFeatureSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("format") String format, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); - @Post("/data/collections/{collectionId}/image/static") + @Post("/data/mosaic/collections/{collectionId}/items/{itemId}/feature.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> createStaticImage(@HostParam("endpoint") String endpoint, + Mono> cropFeatureByFormat(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("format") String format, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); - @Post("/data/collections/{collectionId}/image/static") + @Post("/data/mosaic/collections/{collectionId}/items/{itemId}/feature.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response createStaticImageSync(@HostParam("endpoint") String endpoint, + Response cropFeatureByFormatSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("format") String format, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/image/static/{id}") + @Post("/data/mosaic/collections/{collectionId}/items/{itemId}/feature/{width}x{height}.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getStaticImage(@HostParam("endpoint") String endpoint, + Mono> cropFeatureWidthByHeight(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("id") String id, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @PathParam("itemId") String itemId, @PathParam("width") int width, @PathParam("height") int height, + @PathParam("format") String format, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/image/static/{id}") + @Post("/data/mosaic/collections/{collectionId}/items/{itemId}/feature/{width}x{height}.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getStaticImageSync(@HostParam("endpoint") String endpoint, + Response cropFeatureWidthByHeightSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("id") String id, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); + @PathParam("itemId") String itemId, @PathParam("width") int width, @PathParam("height") int height, + @PathParam("format") String format, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/statistics") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/bounds") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listStatistics(@HostParam("endpoint") String endpoint, + Mono> getItemBounds(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/statistics") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/bounds") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listStatisticsSync(@HostParam("endpoint") String endpoint, + Response getItemBoundsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/tilejson.json") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/info") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getTileJson(@HostParam("endpoint") String endpoint, + Mono> getItemInfo(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/tilejson.json") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/info") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getTileJsonSync(@HostParam("endpoint") String endpoint, + Response getItemInfoSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/info.geojson") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getTile(@HostParam("endpoint") String endpoint, + Mono> getItemInfoGeoJson(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, - @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, - @PathParam("scale") double scale, @PathParam("format") String format, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/info.geojson") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getTileSync(@HostParam("endpoint") String endpoint, + Response getItemInfoGeoJsonSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, - @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, - @PathParam("scale") double scale, @PathParam("format") String format, @HeaderParam("Accept") String accept, - RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/WMTSCapabilities.xml") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/assets") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getWmtsCapabilities(@HostParam("endpoint") String endpoint, + Mono> getItemAvailableAssets(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/WMTSCapabilities.xml") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/assets") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getWmtsCapabilitiesSync(@HostParam("endpoint") String endpoint, + Response getItemAvailableAssetsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, - @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/legend/classmap/{classmapName}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/asset_statistics") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getClassMapLegend(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("classmapName") String classmapName, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + Mono> getItemAssetStatistics(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/legend/classmap/{classmapName}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/asset_statistics") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getClassMapLegendSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("classmapName") String classmapName, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + Response getItemAssetStatisticsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/legend/interval/{classmapName}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/statistics") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getIntervalLegend(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("classmapName") String classmapName, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + Mono> getItemStatistics(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/legend/interval/{classmapName}") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/statistics") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getIntervalLegendSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("classmapName") String classmapName, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + Response getItemStatisticsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/legend/colormap/{colorMapName}") + @Post("/data/mosaic/collections/{collectionId}/items/{itemId}/statistics") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getLegend(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("colorMapName") String colorMapName, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + Mono> getItemFeatureStatistics(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); - @Get("/data/legend/colormap/{colorMapName}") + @Post("/data/mosaic/collections/{collectionId}/items/{itemId}/statistics") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getLegendSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("colorMapName") String colorMapName, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + Response getItemFeatureStatisticsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); - @Get("/data/mosaic/{searchId}/{longitude},{latitude}/assets") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tilejson.json") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getMosaicsAssetsForPoint(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, - @PathParam("longitude") double longitude, @PathParam("latitude") double latitude, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + Mono> getItemTileJson(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/mosaic/{searchId}/{longitude},{latitude}/assets") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/tilejson.json") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getMosaicsAssetsForPointSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, - @PathParam("longitude") double longitude, @PathParam("latitude") double latitude, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + Response getItemTileJsonSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); - @Get("/data/mosaic/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/tilejson.json") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getMosaicsAssetsForTile(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, - @PathParam("tileMatrixSetId") String tileMatrixSetId, @QueryParam("collection") String collectionId, - @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + Mono> getItemTileJsonByTms(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/mosaic/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/tilejson.json") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getMosaicsAssetsForTileSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, - @PathParam("tileMatrixSetId") String tileMatrixSetId, @QueryParam("collection") String collectionId, - @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + Response getItemTileJsonByTmsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/mosaic/{searchId}/info") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/WMTSCapabilities.xml") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getMosaicsSearchInfo(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + Mono> getItemWmtsCapabilities(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/WMTSCapabilities.xml") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getItemWmtsCapabilitiesSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/WMTSCapabilities.xml") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getItemWmtsCapabilitiesByTms(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/mosaic/{searchId}/info") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/WMTSCapabilities.xml") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getMosaicsSearchInfoSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + Response getItemWmtsCapabilitiesByTmsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/data/mosaic/register") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/point/{longitude},{latitude}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> registerMosaicsSearch(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData registerMosaicsSearchRequest, RequestOptions requestOptions, + Mono> getItemPoint(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("longitude") double longitude, + @PathParam("latitude") double latitude, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Post("/data/mosaic/register") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/point/{longitude},{latitude}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response registerMosaicsSearchSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @HeaderParam("Content-Type") String contentType, - @HeaderParam("Accept") String accept, - @BodyParam("application/json") BinaryData registerMosaicsSearchRequest, RequestOptions requestOptions, + Response getItemPointSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("longitude") double longitude, + @PathParam("latitude") double latitude, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/mosaic/{searchId}/{tileMatrixSetId}/tilejson.json") + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/preview") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getMosaicsTileJson(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + Mono> getItemPreview(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/preview") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getItemPreviewSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/preview.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getItemPreviewWithFormat(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("format") String format, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/preview.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getItemPreviewWithFormatSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("format") String format, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/bbox/{minx},{miny},{maxx},{maxy}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getItemBboxCrop(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("minx") double minx, @PathParam("miny") double miny, + @PathParam("maxx") double maxx, @PathParam("maxy") double maxy, @PathParam("format") String format, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/bbox/{minx},{miny},{maxx},{maxy}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getItemBboxCropSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("minx") double minx, @PathParam("miny") double miny, + @PathParam("maxx") double maxx, @PathParam("maxy") double maxy, @PathParam("format") String format, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/bbox/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getItemBboxCropWithDimensions(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("minx") double minx, @PathParam("miny") double miny, + @PathParam("maxx") double maxx, @PathParam("maxy") double maxy, @PathParam("width") int width, + @PathParam("height") int height, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/items/{itemId}/bbox/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getItemBboxCropWithDimensionsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("itemId") String itemId, @PathParam("minx") double minx, @PathParam("miny") double miny, + @PathParam("maxx") double maxx, @PathParam("maxy") double maxy, @PathParam("width") int width, + @PathParam("height") int height, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionTilesets(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionTilesetsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionTilesetMetadata(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/mosaic/{searchId}/{tileMatrixSetId}/tilejson.json") + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getMosaicsTileJsonSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + Response getCollectionTilesetMetadataSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/mosaic/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}") + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getMosaicsTile(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + Mono> getCollectionTileByScaleAndFormat(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, @PathParam("scale") double scale, @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/mosaic/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}") + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getMosaicsTileSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + Response getCollectionTileByScaleAndFormatSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, @PathParam("scale") double scale, @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/mosaic/{searchId}/{tileMatrixSetId}/WMTSCapabilities.xml") + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getMosaicsWmtsCapabilities(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, - @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + Mono> getCollectionTile(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionTileSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionTileByFormat(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("/data/mosaic/{searchId}/{tileMatrixSetId}/WMTSCapabilities.xml") + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}.{format}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getMosaicsWmtsCapabilitiesSync(@HostParam("endpoint") String endpoint, - @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, - @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + Response getCollectionTileByFormatSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - } - /** - * Matrix Definition - * - * Return Matrix Definition. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     title: String (Optional)
-     *     description: String (Optional)
-     *     keywords (Optional): [
-     *         String (Optional)
-     *     ]
-     *     id: String (Optional)
-     *     uri: String (Optional)
-     *     orderedAxes (Optional): [
-     *         String (Optional)
-     *     ]
-     *     crs: String (Required)
-     *     wellKnownScaleSet: String (Optional)
-     *     boundingBox (Optional): {
-     *         lowerLeft (Required): [
-     *             String (Required)
-     *         ]
-     *         upperRight (Required): [
-     *             String (Required)
-     *         ]
-     *         crs: String (Optional)
-     *         orderedAxes (Optional): [
-     *             String (Optional)
-     *         ]
-     *     }
-     *     tileMatrices (Required): [
-     *          (Required){
-     *             title: String (Optional)
-     *             description: String (Optional)
-     *             keywords (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             id: String (Required)
-     *             scaleDenominator: double (Required)
-     *             cellSize: double (Required)
-     *             cornerOfOrigin: String(topLeft/bottomLeft) (Optional)
-     *             pointOfOrigin (Required): [
-     *                 double (Required)
-     *             ]
-     *             tileWidth: int (Required)
-     *             tileHeight: int (Required)
-     *             matrixWidth: int (Required)
-     *             matrixHeight: int (Required)
-     *             variableMatrixWidths (Optional): [
-     *                  (Optional){
-     *                     coalesce: int (Required)
-     *                     minTileRow: int (Required)
-     *                     maxTileRow: int (Required)
-     *                 }
-     *             ]
-     *         }
-     *     ]
-     * }
-     * }
-     * 
- * - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return https://github.com/opengeospatial/2D-Tile-Matrix-Set/blob/master/schemas/tms/2.0/json/tileMatrixSet.json + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionTileByScale(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("scale") double scale, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionTileByScaleSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("scale") double scale, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{z}/{x}/{y}@{scale}x.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionTileNoTmsByScaleAndFormat(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{z}/{x}/{y}@{scale}x.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionTileNoTmsByScaleAndFormatSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{z}/{x}/{y}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionTileNoTms(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{z}/{x}/{y}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionTileNoTmsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{z}/{x}/{y}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionTileNoTmsByFormat(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{z}/{x}/{y}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionTileNoTmsByFormatSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{z}/{x}/{y}@{scale}x") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionTileNoTmsByScale(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{z}/{x}/{y}@{scale}x") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionTileNoTmsByScaleSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/tilejson.json") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionTileJson(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tilejson.json") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionTileJsonSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/{tileMatrixSetId}/tilejson.json") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionTileJsonByTms(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/{tileMatrixSetId}/tilejson.json") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionTileJsonByTmsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/WMTSCapabilities.xml") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionWmtsCapabilities(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/WMTSCapabilities.xml") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionWmtsCapabilitiesSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/{tileMatrixSetId}/WMTSCapabilities.xml") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionWmtsCapabilitiesByTms(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/{tileMatrixSetId}/WMTSCapabilities.xml") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionWmtsCapabilitiesByTmsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionAssetsForTile(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionAssetsForTileSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{z}/{x}/{y}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionAssetsForTileNoTms(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/tiles/{z}/{x}/{y}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionAssetsForTileNoTmsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/bbox/{minx},{miny},{maxx},{maxy}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionAssetsForBbox(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/bbox/{minx},{miny},{maxx},{maxy}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionAssetsForBboxSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/info") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionInfo(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/info") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionInfoSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/bbox/{minx},{miny},{maxx},{maxy}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionBboxCrop(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/bbox/{minx},{miny},{maxx},{maxy}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionBboxCropSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/bbox/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionBboxCropWithDimensions(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @PathParam("width") int width, @PathParam("height") int height, + @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/collections/{collectionId}/bbox/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionBboxCropWithDimensionsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @PathParam("width") int width, @PathParam("height") int height, + @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Post("/data/mosaic/collections/{collectionId}/feature") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cropCollectionFeature(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + + @Post("/data/mosaic/collections/{collectionId}/feature") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cropCollectionFeatureSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + + @Post("/data/mosaic/collections/{collectionId}/feature.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cropCollectionFeatureByFormat(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("format") String format, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); + + @Post("/data/mosaic/collections/{collectionId}/feature.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cropCollectionFeatureByFormatSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("format") String format, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); + + @Post("/data/mosaic/collections/{collectionId}/feature/{width}x{height}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cropCollectionFeatureWidthByHeight(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("width") int width, @PathParam("height") int height, @PathParam("format") String format, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + + @Post("/data/mosaic/collections/{collectionId}/feature/{width}x{height}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cropCollectionFeatureWidthByHeightSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("width") int width, @PathParam("height") int height, @PathParam("format") String format, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/point/{longitude},{latitude}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionPoint(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("longitude") double longitude, @PathParam("latitude") double latitude, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/point/{longitude},{latitude}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionPointSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("longitude") double longitude, @PathParam("latitude") double latitude, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/point/{longitude},{latitude}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCollectionPointAssets(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("longitude") double longitude, @PathParam("latitude") double latitude, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/collections/{collectionId}/point/{longitude},{latitude}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getCollectionPointAssetsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, + @PathParam("longitude") double longitude, @PathParam("latitude") double latitude, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTilesets(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTilesetsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTilesetMetadata(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTilesetMetadataSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTileByScaleAndFormat(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("scale") double scale, @PathParam("format") String format, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTileByScaleAndFormatSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("scale") double scale, @PathParam("format") String format, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTile(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTileSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTileByFormat(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTileByFormatSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTileByScale(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("scale") double scale, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTileByScaleSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @PathParam("z") double z, @PathParam("x") double x, + @PathParam("y") double y, @PathParam("scale") double scale, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchAssetsForTile(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @QueryParam("collection") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchAssetsForTileSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @QueryParam("collection") String collectionId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/{tileMatrixSetId}/tilejson.json") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTileJsonByTms(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/{tileMatrixSetId}/tilejson.json") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTileJsonByTmsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/{tileMatrixSetId}/WMTSCapabilities.xml") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchWmtsCapabilitiesByTms(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/{tileMatrixSetId}/WMTSCapabilities.xml") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchWmtsCapabilitiesByTmsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("tileMatrixSetId") String tileMatrixSetId, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/info") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchInfo(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/info") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchInfoSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/bbox/{minx},{miny},{maxx},{maxy}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchBboxCrop(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/bbox/{minx},{miny},{maxx},{maxy}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchBboxCropSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/bbox/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchBboxCropWithDimensions(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @PathParam("width") int width, @PathParam("height") int height, + @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/searches/{searchId}/bbox/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchBboxCropWithDimensionsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @PathParam("width") int width, @PathParam("height") int height, + @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/searches/{searchId}/bbox/{minx},{miny},{maxx},{maxy}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchBboxAssets(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/searches/{searchId}/bbox/{minx},{miny},{maxx},{maxy}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchBboxAssetsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("minx") double minx, @PathParam("miny") double miny, @PathParam("maxx") double maxx, + @PathParam("maxy") double maxy, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Post("/data/mosaic/searches/{searchId}/feature") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cropSearchFeature(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + + @Post("/data/mosaic/searches/{searchId}/feature") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cropSearchFeatureSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + + @Post("/data/mosaic/searches/{searchId}/feature.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cropSearchFeatureByFormat(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("format") String format, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); + + @Post("/data/mosaic/searches/{searchId}/feature.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cropSearchFeatureByFormatSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("format") String format, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, + RequestOptions requestOptions, Context context); + + @Post("/data/mosaic/searches/{searchId}/feature/{width}x{height}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> cropSearchFeatureWidthByHeight(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("width") int width, @PathParam("height") int height, @PathParam("format") String format, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + + @Post("/data/mosaic/searches/{searchId}/feature/{width}x{height}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response cropSearchFeatureWidthByHeightSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("width") int width, @PathParam("height") int height, @PathParam("format") String format, + @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, + @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/WMTSCapabilities.xml") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchWmtsCapabilities(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/WMTSCapabilities.xml") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchWmtsCapabilitiesSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tilejson.json") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTileJson(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tilejson.json") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTileJsonSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{z}/{x}/{y}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTileNoTms(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{z}/{x}/{y}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTileNoTmsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{z}/{x}/{y}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTileNoTmsByFormat(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{z}/{x}/{y}.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTileNoTmsByFormatSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("format") String format, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{z}/{x}/{y}@{scale}x") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTileNoTmsByScale(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{z}/{x}/{y}@{scale}x") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTileNoTmsByScaleSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @HeaderParam("Accept") String accept, RequestOptions requestOptions, + Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{z}/{x}/{y}@{scale}x.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchTileNoTmsByScaleAndFormat(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{z}/{x}/{y}@{scale}x.{format}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchTileNoTmsByScaleAndFormatSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @PathParam("scale") double scale, @PathParam("format") String format, @HeaderParam("Accept") String accept, + RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{z}/{x}/{y}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchAssetsForTileNoTms(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/tiles/{z}/{x}/{y}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchAssetsForTileNoTmsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("z") double z, @PathParam("x") double x, @PathParam("y") double y, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/point/{longitude},{latitude}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchPoint(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("longitude") double longitude, @PathParam("latitude") double latitude, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/point/{longitude},{latitude}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchPointSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("longitude") double longitude, @PathParam("latitude") double latitude, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/point/{longitude},{latitude}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getSearchPointWithAssets(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("longitude") double longitude, @PathParam("latitude") double latitude, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + + @Get("/data/mosaic/searches/{searchId}/point/{longitude},{latitude}/assets") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) + @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) + @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response getSearchPointWithAssetsSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("searchId") String searchId, + @PathParam("longitude") double longitude, @PathParam("latitude") double latitude, + @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); + } + + /** + * Matrix Definition + * + * Return Matrix Definition. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     description: String (Optional)
+     *     keywords (Optional): [
+     *         String (Optional)
+     *     ]
+     *     id: String (Optional)
+     *     uri: String (Optional)
+     *     orderedAxes (Optional): [
+     *         String (Optional)
+     *     ]
+     *     crs: String (Required)
+     *     wellKnownScaleSet: String (Optional)
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             String (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             String (Required)
+     *         ]
+     *         crs: String (Optional)
+     *         orderedAxes (Optional): [
+     *             String (Optional)
+     *         ]
+     *     }
+     *     tileMatrices (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             description: String (Optional)
+     *             keywords (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             id: String (Required)
+     *             scaleDenominator: double (Required)
+     *             cellSize: double (Required)
+     *             cornerOfOrigin: String(topLeft/bottomLeft) (Optional)
+     *             pointOfOrigin (Required): [
+     *                 double (Required)
+     *             ]
+     *             tileWidth: int (Required)
+     *             tileHeight: int (Required)
+     *             matrixWidth: int (Required)
+     *             matrixHeight: int (Required)
+     *             variableMatrixWidths (Optional): [
+     *                  (Optional){
+     *                     coalesce: int (Required)
+     *                     minTileRow: int (Required)
+     *                     maxTileRow: int (Required)
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return https://github.com/opengeospatial/2D-Tile-Matrix-Set/blob/master/schemas/tms/2.0/json/tileMatrixSet.json + * + * A definition of a tile matrix set following the Tile Matrix Set standard. + * For tileset metadata, such a description (in `tileMatrixSet` property) is only + * required for offline use, + * as an alternative to a link with a + * `http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme` relation type along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTileMatrixDefinitionsWithResponseAsync(String tileMatrixSetId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getTileMatrixDefinitions(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), tileMatrixSetId, accept, requestOptions, context)); + } + + /** + * Matrix Definition + * + * Return Matrix Definition. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     description: String (Optional)
+     *     keywords (Optional): [
+     *         String (Optional)
+     *     ]
+     *     id: String (Optional)
+     *     uri: String (Optional)
+     *     orderedAxes (Optional): [
+     *         String (Optional)
+     *     ]
+     *     crs: String (Required)
+     *     wellKnownScaleSet: String (Optional)
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             String (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             String (Required)
+     *         ]
+     *         crs: String (Optional)
+     *         orderedAxes (Optional): [
+     *             String (Optional)
+     *         ]
+     *     }
+     *     tileMatrices (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             description: String (Optional)
+     *             keywords (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             id: String (Required)
+     *             scaleDenominator: double (Required)
+     *             cellSize: double (Required)
+     *             cornerOfOrigin: String(topLeft/bottomLeft) (Optional)
+     *             pointOfOrigin (Required): [
+     *                 double (Required)
+     *             ]
+     *             tileWidth: int (Required)
+     *             tileHeight: int (Required)
+     *             matrixWidth: int (Required)
+     *             matrixHeight: int (Required)
+     *             variableMatrixWidths (Optional): [
+     *                  (Optional){
+     *                     coalesce: int (Required)
+     *                     minTileRow: int (Required)
+     *                     maxTileRow: int (Required)
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return https://github.com/opengeospatial/2D-Tile-Matrix-Set/blob/master/schemas/tms/2.0/json/tileMatrixSet.json + * + * A definition of a tile matrix set following the Tile Matrix Set standard. + * For tileset metadata, such a description (in `tileMatrixSet` property) is only + * required for offline use, + * as an alternative to a link with a + * `http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme` relation type along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTileMatrixDefinitionsWithResponse(String tileMatrixSetId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getTileMatrixDefinitionsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), tileMatrixSetId, accept, requestOptions, Context.NONE); + } + + /** + * Matrix List + * + * Return Matrix List. + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     String (Required)
+     * ]
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTileMatricesWithResponseAsync(RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getTileMatrices(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + } + + /** + * Matrix List + * + * Return Matrix List. + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     String (Required)
+     * ]
+     * }
+     * 
+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTileMatricesWithResponse(RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getTileMatricesSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + accept, requestOptions, Context.NONE); + } + + /** + * Get ClassMap Legend + * + * Generate values and color swatches mapping for a given classmap. + *

Query Parameters

+ * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *      (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param classmapName classmap name. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return classMap Legend + * + * Generate values and color swatches mapping for a given classmap along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getClassMapLegendWithResponseAsync(String classmapName, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getClassMapLegend(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), classmapName, accept, requestOptions, context)); + } + + /** + * Get ClassMap Legend + * + * Generate values and color swatches mapping for a given classmap. + *

Query Parameters

+ * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *      (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + * @param classmapName classmap name. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return classMap Legend + * + * Generate values and color swatches mapping for a given classmap along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getClassMapLegendWithResponse(String classmapName, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getClassMapLegendSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + classmapName, accept, requestOptions, Context.NONE); + } + + /** + * Get Interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow. + *

Query Parameters

+ * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required)[
+     *          (Required)[
+     *             long (Required)
+     *         ]
+     *     ]
+     * ]
+     * }
+     * 
+ * + * @param classmapName classmap name. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getIntervalLegendWithResponseAsync(String classmapName, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getIntervalLegend(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), classmapName, accept, requestOptions, context)); + } + + /** + * Get Interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow. + *

Query Parameters

+ * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required)[
+     *          (Required)[
+     *             long (Required)
+     *         ]
+     *     ]
+     * ]
+     * }
+     * 
+ * + * @param classmapName classmap name. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return interval Legend + * + * Generate values and color swatches mapping for a given interval classmap. + * + * Returns a color map for intervals, where each interval is defined by + * a numeric range [min, max] representing the interval boundaries and + * an RGBA color [red, green, blue, alpha] associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * the first element is an array of two numbers [min, max] defining the interval, + * and the second element is an array of four numbers [red, green, blue, alpha] defining the RGBA color. + * + * Example: [[ [-2, 0], [0, 0, 0, 0] ], [ [1, 32], [255, 255, 178, 255] ]]. + * This defines two intervals: [-2, 0] mapped to transparent black and [1, 32] mapped to opaque yellow along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getIntervalLegendWithResponse(String classmapName, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getIntervalLegendSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + classmapName, accept, requestOptions, Context.NONE); + } + + /** + * Get Legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
heightDoubleNoThe output height of the legend image
widthDoubleNoThe output width of the legend image
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param colorMapName The name of the registered colormap to generate a legend for. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getLegendWithResponseAsync(String colorMapName, RequestOptions requestOptions) { + final String accept = "image/png"; + return FluxUtil.withContext(context -> service.getLegend(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), colorMapName, accept, requestOptions, context)); + } + + /** + * Get Legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim. + *

Query Parameters

+ * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
heightDoubleNoThe output height of the legend image
widthDoubleNoThe output width of the legend image
trim_startIntegerNoNumber of items to trim from the start of the + * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param colorMapName The name of the registered colormap to generate a legend for. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return legend + * + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getLegendWithResponse(String colorMapName, RequestOptions requestOptions) { + final String accept = "image/png"; + return service.getLegendSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + colorMapName, accept, requestOptions, Context.NONE); + } + + /** + * Register Search + * + * Register a Search query. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     collections (Optional): [
+     *         String (Optional)
+     *     ]
+     *     ids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     bbox (Optional): [
+     *         double (Optional)
+     *     ]
+     *     intersects (Optional): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     query (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     *     filter (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     *     datetime: String (Optional)
+     *     sortby (Optional): [
+     *          (Optional){
+     *             field: String (Required)
+     *             direction: String(asc/desc) (Required)
+     *         }
+     *     ]
+     *     filter-lang: String(cql-json/cql2-json/cql2-text) (Optional)
+     *     metadata (Optional): {
+     *         type: String(mosaic/search) (Optional)
+     *         bounds: String (Optional)
+     *         minzoom: Integer (Optional)
+     *         maxzoom: Integer (Optional)
+     *         name: String (Optional)
+     *         assets (Optional): [
+     *             String (Optional)
+     *         ]
+     *         defaults (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     searchid: String (Required)
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param registerMosaicsSearchRequest The registerMosaicsSearchRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response from a successful mosaic registration with search ID and related links along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> registerMosaicsSearchWithResponseAsync(BinaryData registerMosaicsSearchRequest, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.registerMosaicsSearch(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), contentType, accept, registerMosaicsSearchRequest, + requestOptions, context)); + } + + /** + * Register Search + * + * Register a Search query. + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     collections (Optional): [
+     *         String (Optional)
+     *     ]
+     *     ids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     bbox (Optional): [
+     *         double (Optional)
+     *     ]
+     *     intersects (Optional): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     query (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     *     filter (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     *     datetime: String (Optional)
+     *     sortby (Optional): [
+     *          (Optional){
+     *             field: String (Required)
+     *             direction: String(asc/desc) (Required)
+     *         }
+     *     ]
+     *     filter-lang: String(cql-json/cql2-json/cql2-text) (Optional)
+     *     metadata (Optional): {
+     *         type: String(mosaic/search) (Optional)
+     *         bounds: String (Optional)
+     *         minzoom: Integer (Optional)
+     *         maxzoom: Integer (Optional)
+     *         name: String (Optional)
+     *         assets (Optional): [
+     *             String (Optional)
+     *         ]
+     *         defaults (Optional): {
+     *             String: String (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     searchid: String (Required)
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param registerMosaicsSearchRequest The registerMosaicsSearchRequest parameter. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response from a successful mosaic registration with search ID and related links along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response registerMosaicsSearchWithResponse(BinaryData registerMosaicsSearchRequest, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.registerMosaicsSearchSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), contentType, accept, registerMosaicsSearchRequest, + requestOptions, Context.NONE); + } + + /** + * Tileset List + * + * Return a list of available tilesets for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
+     *             ]
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 upperRight (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 crs: String (Optional)
+     *             }
+     *             accessConstraints: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response containing a list of available tilesets along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTilesetsWithResponseAsync(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getTilesets(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + } + + /** + * Tileset List + * + * Return a list of available tilesets for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
+     *             ]
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 upperRight (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 crs: String (Optional)
+     *             }
+     *             accessConstraints: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response containing a list of available tilesets along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTilesetsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getTilesetsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, accept, requestOptions, Context.NONE); + } + + /** + * Tileset Metadata + * + * Return metadata for a specific tileset of a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
+     *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
+     *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response} + * on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTilesetMetadataWithResponseAsync(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getTilesetMetadata(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, tileMatrixSetId, accept, requestOptions, + context)); + } + + /** + * Tileset Metadata + * + * Return metadata for a specific tileset of a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
+     *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
+     *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTilesetMetadataWithResponse(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getTilesetMetadataSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, tileMatrixSetId, accept, requestOptions, Context.NONE); + } + + /** + * Tile Tilematrixsetid Plain + * + * Create map tile from a dataset (without scale or format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTileWithResponseAsync(String collectionId, String itemId, + String tileMatrixSetId, double z, double x, double y, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext( + context -> service.getTile(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, tileMatrixSetId, z, x, y, accept, requestOptions, context)); + } + + /** + * Tile Tilematrixsetid Plain + * + * Create map tile from a dataset (without scale or format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTileWithResponse(String collectionId, String itemId, String tileMatrixSetId, + double z, double x, double y, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getTileSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, tileMatrixSetId, z, x, y, accept, requestOptions, Context.NONE); + } + + /** + * Tile Tilematrixsetid Format + * + * Create map tile from a dataset (with format in path, without scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTileByFormatWithResponseAsync(String collectionId, String itemId, + String tileMatrixSetId, double z, double x, double y, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext( + context -> service.getTileByFormat(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, tileMatrixSetId, z, x, y, format, accept, requestOptions, context)); + } + + /** + * Tile Tilematrixsetid Format + * + * Create map tile from a dataset (with format in path, without scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTileByFormatWithResponse(String collectionId, String itemId, String tileMatrixSetId, + double z, double x, double y, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getTileByFormatSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, tileMatrixSetId, z, x, y, format, accept, requestOptions, Context.NONE); + } + + /** + * Tile Tilematrixsetid Scale + * + * Create map tile from a dataset (with scale in path, without format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTileByScaleWithResponseAsync(String collectionId, String itemId, + String tileMatrixSetId, double z, double x, double y, double scale, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext( + context -> service.getTileByScale(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, tileMatrixSetId, z, x, y, scale, accept, requestOptions, context)); + } + + /** + * Tile Tilematrixsetid Scale + * + * Create map tile from a dataset (with scale in path, without format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTileByScaleWithResponse(String collectionId, String itemId, String tileMatrixSetId, + double z, double x, double y, double scale, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getTileByScaleSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, tileMatrixSetId, z, x, y, scale, accept, requestOptions, Context.NONE); + } + + /** + * Tile Tilematrixsetid + * + * Create map tile from a dataset (with TileMatrixSetId, scale, and format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTileByScaleAndFormatWithResponseAsync(String collectionId, String itemId, + String tileMatrixSetId, double z, double x, double y, double scale, String format, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getTileByScaleAndFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, tileMatrixSetId, z, x, y, scale, format, + accept, requestOptions, context)); + } + + /** + * Tile Tilematrixsetid + * + * Create map tile from a dataset (with TileMatrixSetId, scale, and format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTileByScaleAndFormatWithResponse(String collectionId, String itemId, + String tileMatrixSetId, double z, double x, double y, double scale, String format, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getTileByScaleAndFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, tileMatrixSetId, z, x, y, scale, format, + accept, requestOptions, Context.NONE); + } + + /** + * Tile Plain + * + * Create map tile from a dataset (without TileMatrixSetId, scale or format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTileNoTmsWithResponseAsync(String collectionId, String itemId, double z, + double x, double y, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext( + context -> service.getTileNoTms(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, z, x, y, accept, requestOptions, context)); + } + + /** + * Tile Plain + * + * Create map tile from a dataset (without TileMatrixSetId, scale or format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTileNoTmsWithResponse(String collectionId, String itemId, double z, double x, + double y, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getTileNoTmsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, z, x, y, accept, requestOptions, Context.NONE); + } + + /** + * Tile Format + * + * Create map tile from a dataset (with format in path, without TileMatrixSetId or scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTileNoTmsByFormatWithResponseAsync(String collectionId, String itemId, + double z, double x, double y, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getTileNoTmsByFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, z, x, y, format, accept, requestOptions, + context)); + } + + /** + * Tile Format + * + * Create map tile from a dataset (with format in path, without TileMatrixSetId or scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTileNoTmsByFormatWithResponse(String collectionId, String itemId, double z, double x, + double y, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getTileNoTmsByFormatSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, z, x, y, format, accept, requestOptions, Context.NONE); + } + + /** + * Tile Scale + * + * Create map tile from a dataset (with scale in path, without TileMatrixSetId or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTileNoTmsByScaleWithResponseAsync(String collectionId, String itemId, double z, + double x, double y, double scale, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getTileNoTmsByScale(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, z, x, y, scale, accept, requestOptions, + context)); + } + + /** + * Tile Scale + * + * Create map tile from a dataset (with scale in path, without TileMatrixSetId or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTileNoTmsByScaleWithResponse(String collectionId, String itemId, double z, double x, + double y, double scale, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getTileNoTmsByScaleSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, z, x, y, scale, accept, requestOptions, Context.NONE); + } + + /** + * Tile + * + * Create map tile from a dataset (with scale and format in path, without TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getTileNoTmsByScaleAndFormatWithResponseAsync(String collectionId, String itemId, + double z, double x, double y, double scale, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getTileNoTmsByScaleAndFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, z, x, y, scale, format, accept, + requestOptions, context)); + } + + /** + * Tile + * + * Create map tile from a dataset (with scale and format in path, without TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getTileNoTmsByScaleAndFormatWithResponse(String collectionId, String itemId, double z, + double x, double y, double scale, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getTileNoTmsByScaleAndFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, z, x, y, scale, format, accept, + requestOptions, Context.NONE); + } + + /** + * Geojson Feature + * + * Create image from a geojson feature (without format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cropFeatureWithResponseAsync(String collectionId, String itemId, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext( + context -> service.cropFeature(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, contentType, accept, body, requestOptions, context)); + } + + /** + * Geojson Feature + * + * Create image from a geojson feature (without format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cropFeatureWithResponse(String collectionId, String itemId, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.cropFeatureSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, contentType, accept, body, requestOptions, Context.NONE); + } + + /** + * Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cropFeatureByFormatWithResponseAsync(String collectionId, String itemId, + String format, BinaryData body, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.cropFeatureByFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, format, contentType, accept, body, + requestOptions, context)); + } + + /** + * Geojson Feature Crop With Format + * + * Create image from a geojson feature with format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cropFeatureByFormatWithResponse(String collectionId, String itemId, String format, + BinaryData body, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.cropFeatureByFormatSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, format, contentType, accept, body, requestOptions, Context.NONE); + } + + /** + * Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> cropFeatureWidthByHeightWithResponseAsync(String collectionId, String itemId, + int width, int height, String format, BinaryData body, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.cropFeatureWidthByHeight(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, width, height, format, contentType, + accept, body, requestOptions, context)); + } + + /** + * Geojson Feature Crop With Dimensions + * + * Create image from a geojson feature with dimensions. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cropFeatureWidthByHeightWithResponse(String collectionId, String itemId, int width, + int height, String format, BinaryData body, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.cropFeatureWidthByHeightSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, width, height, format, contentType, + accept, body, requestOptions, Context.NONE); + } + + /** + * Item Bounds + * + * Return the bounds for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     bounds (Required): [
+     *         double (Required)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return geographic extent of a dataset expressed as a bounding box along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemBoundsWithResponseAsync(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getItemBounds(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + } + + /** + * Item Bounds + * + * Return the bounds for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     bounds (Required): [
+     *         double (Required)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return geographic extent of a dataset expressed as a bounding box along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemBoundsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getItemBoundsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, accept, requestOptions, Context.NONE); + } + + /** + * Item Info + * + * Return dataset's basic info for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *      (Optional): {
+     *         String (Required): {
+     *             bounds (Required): [
+     *                 double (Required)
+     *             ]
+     *             band_metadata (Optional): [
+     *                  (Optional)[
+     *                     BinaryData (Optional)
+     *                 ]
+     *             ]
+     *             band_descriptions (Optional): [
+     *                  (Optional)[
+     *                     String (Optional)
+     *                 ]
+     *             ]
+     *             dtype: String (Required)
+     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
+     *             colorinterp (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             driver: String (Optional)
+     *             count: Integer (Optional)
+     *             width: Integer (Optional)
+     *             height: Integer (Optional)
+     *             overviews (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             scales (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             offsets (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             colormap (Optional): {
+     *                 String (Required): [
+     *                     String (Required)
+     *                 ]
+     *             }
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             crs: String (Optional)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return return dataset's basic info along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemInfoWithResponseAsync(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getItemInfo(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + } + + /** + * Item Info + * + * Return dataset's basic info for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *      (Optional): {
+     *         String (Required): {
+     *             bounds (Required): [
+     *                 double (Required)
+     *             ]
+     *             band_metadata (Optional): [
+     *                  (Optional)[
+     *                     BinaryData (Optional)
+     *                 ]
+     *             ]
+     *             band_descriptions (Optional): [
+     *                  (Optional)[
+     *                     String (Optional)
+     *                 ]
+     *             ]
+     *             dtype: String (Required)
+     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
+     *             colorinterp (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             driver: String (Optional)
+     *             count: Integer (Optional)
+     *             width: Integer (Optional)
+     *             height: Integer (Optional)
+     *             overviews (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             scales (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             offsets (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             colormap (Optional): {
+     *                 String (Required): [
+     *                     String (Required)
+     *                 ]
+     *             }
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             crs: String (Optional)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return return dataset's basic info along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemInfoWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getItemInfoSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, accept, requestOptions, Context.NONE); + } + + /** + * Item Info Geojson + * + * Return info as GeoJSON for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     type: String(Feature) (Required)
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     properties (Required): {
+     *         String (Required): {
+     *             bounds (Required): [
+     *                 double (Required)
+     *             ]
+     *             band_metadata (Optional): [
+     *                  (Optional)[
+     *                     BinaryData (Optional)
+     *                 ]
+     *             ]
+     *             band_descriptions (Optional): [
+     *                  (Optional)[
+     *                     String (Optional)
+     *                 ]
+     *             ]
+     *             dtype: String (Required)
+     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
+     *             colorinterp (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             driver: String (Optional)
+     *             count: Integer (Optional)
+     *             width: Integer (Optional)
+     *             height: Integer (Optional)
+     *             overviews (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             scales (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             offsets (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             colormap (Optional): {
+     *                 String (Required): [
+     *                     String (Required)
+     *                 ]
+     *             }
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             crs: String (Optional)
+     *         }
+     *     }
+     *     id: String (Optional)
+     *     bbox (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return geoJSON Feature object containing rio-tiler model information along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemInfoGeoJsonWithResponseAsync(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getItemInfoGeoJson(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + } + + /** + * Item Info Geojson + * + * Return info as GeoJSON for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     type: String(Feature) (Required)
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     properties (Required): {
+     *         String (Required): {
+     *             bounds (Required): [
+     *                 double (Required)
+     *             ]
+     *             band_metadata (Optional): [
+     *                  (Optional)[
+     *                     BinaryData (Optional)
+     *                 ]
+     *             ]
+     *             band_descriptions (Optional): [
+     *                  (Optional)[
+     *                     String (Optional)
+     *                 ]
+     *             ]
+     *             dtype: String (Required)
+     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
+     *             colorinterp (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             driver: String (Optional)
+     *             count: Integer (Optional)
+     *             width: Integer (Optional)
+     *             height: Integer (Optional)
+     *             overviews (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             scales (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             offsets (Optional): [
+     *                 int (Optional)
+     *             ]
+     *             colormap (Optional): {
+     *                 String (Required): [
+     *                     String (Required)
+     *                 ]
+     *             }
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             crs: String (Optional)
+     *         }
+     *     }
+     *     id: String (Optional)
+     *     bbox (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return geoJSON Feature object containing rio-tiler model information along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemInfoGeoJsonWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getItemInfoGeoJsonSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, accept, requestOptions, Context.NONE); + } + + /** + * Item Available Assets + * + * Return a list of supported assets for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     String (Required)
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemAvailableAssetsWithResponseAsync(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getItemAvailableAssets(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + } + + /** + * Item Available Assets + * + * Return a list of supported assets for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     String (Required)
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemAvailableAssetsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getItemAvailableAssetsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, Context.NONE); + } + + /** + * Item Asset Statistics + * + * Per asset statistics for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to + * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<Integer>NoList of pixel categorical values for which to report + * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the + * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given + * range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
asset_expressionList<String>NoPer asset band expression. In the form of + * "," separated string.
heightIntegerNoForce output image height.
widthIntegerNoForce output image width.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *      (Optional): {
+     *         String (Required): {
+     *              (Optional): {
+     *                 String (Required): {
+     *                     min: double (Required)
+     *                     max: double (Required)
+     *                     mean: double (Required)
+     *                     count: double (Required)
+     *                     sum: double (Required)
+     *                     std: double (Required)
+     *                     median: double (Required)
+     *                     majority: double (Required)
+     *                     minority: double (Required)
+     *                     unique: double (Required)
+     *                     histogram (Required): [
+     *                          (Required)[
+     *                             double (Required)
+     *                         ]
+     *                     ]
+     *                     valid_percent: double (Required)
+     *                     masked_pixels: double (Required)
+     *                     valid_pixels: double (Required)
+     *                     percentile_2: double (Required)
+     *                     percentile_98: double (Required)
+     *                 }
+     *             }
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return return dataset's statistics along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemAssetStatisticsWithResponseAsync(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getItemAssetStatistics(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + } + + /** + * Item Asset Statistics + * + * Per asset statistics for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to + * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<Integer>NoList of pixel categorical values for which to report + * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the + * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given + * range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
asset_expressionList<String>NoPer asset band expression. In the form of + * "," separated string.
heightIntegerNoForce output image height.
widthIntegerNoForce output image width.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *      (Optional): {
+     *         String (Required): {
+     *              (Optional): {
+     *                 String (Required): {
+     *                     min: double (Required)
+     *                     max: double (Required)
+     *                     mean: double (Required)
+     *                     count: double (Required)
+     *                     sum: double (Required)
+     *                     std: double (Required)
+     *                     median: double (Required)
+     *                     majority: double (Required)
+     *                     minority: double (Required)
+     *                     unique: double (Required)
+     *                     histogram (Required): [
+     *                          (Required)[
+     *                             double (Required)
+     *                         ]
+     *                     ]
+     *                     valid_percent: double (Required)
+     *                     masked_pixels: double (Required)
+     *                     valid_pixels: double (Required)
+     *                     percentile_2: double (Required)
+     *                     percentile_98: double (Required)
+     *                 }
+     *             }
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return return dataset's statistics along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemAssetStatisticsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getItemAssetStatisticsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, Context.NONE); + } + + /** + * Item Statistics + * + * Merged assets statistics for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to + * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<Integer>NoList of pixel categorical values for which to report + * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the + * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given + * range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoAlgorithm name.
algorithm_paramsStringNoAlgorithm parameter.
heightIntegerNoForce output image height.
widthIntegerNoForce output image width.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *      (Optional): {
+     *         String (Required): {
+     *             min: double (Required)
+     *             max: double (Required)
+     *             mean: double (Required)
+     *             count: double (Required)
+     *             sum: double (Required)
+     *             std: double (Required)
+     *             median: double (Required)
+     *             majority: double (Required)
+     *             minority: double (Required)
+     *             unique: double (Required)
+     *             histogram (Required): [
+     *                  (Required)[
+     *                     double (Required)
+     *                 ]
+     *             ]
+     *             valid_percent: double (Required)
+     *             masked_pixels: double (Required)
+     *             valid_pixels: double (Required)
+     *             percentile_2: double (Required)
+     *             percentile_98: double (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return return dataset's statistics along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemStatisticsWithResponseAsync(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getItemStatistics(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + } + + /** + * Item Statistics + * + * Merged assets statistics for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to + * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<Integer>NoList of pixel categorical values for which to report + * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the + * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given + * range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoAlgorithm name.
algorithm_paramsStringNoAlgorithm parameter.
heightIntegerNoForce output image height.
widthIntegerNoForce output image width.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *      (Optional): {
+     *         String (Required): {
+     *             min: double (Required)
+     *             max: double (Required)
+     *             mean: double (Required)
+     *             count: double (Required)
+     *             sum: double (Required)
+     *             std: double (Required)
+     *             median: double (Required)
+     *             majority: double (Required)
+     *             minority: double (Required)
+     *             unique: double (Required)
+     *             histogram (Required): [
+     *                  (Required)[
+     *                     double (Required)
+     *                 ]
+     *             ]
+     *             valid_percent: double (Required)
+     *             masked_pixels: double (Required)
+     *             valid_pixels: double (Required)
+     *             percentile_2: double (Required)
+     *             percentile_98: double (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return return dataset's statistics along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemStatisticsWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getItemStatisticsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, accept, requestOptions, Context.NONE); + } + + /** + * Item Geojson Statistics + * + * Get statistics from a GeoJSON feature for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to + * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<Integer>NoList of pixel categorical values for which to report + * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the + * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given + * range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoAlgorithm name.
algorithm_paramsStringNoAlgorithm parameter.
heightIntegerNoForce output image height.
widthIntegerNoForce output image width.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         statistics (Required): {
+     *             String (Required): {
+     *                 min: double (Required)
+     *                 max: double (Required)
+     *                 mean: double (Required)
+     *                 count: double (Required)
+     *                 sum: double (Required)
+     *                 std: double (Required)
+     *                 median: double (Required)
+     *                 majority: double (Required)
+     *                 minority: double (Required)
+     *                 unique: double (Required)
+     *                 histogram (Required): [
+     *                      (Required)[
+     *                         double (Required)
+     *                     ]
+     *                 ]
+     *                 valid_percent: double (Required)
+     *                 masked_pixels: double (Required)
+     *                 valid_pixels: double (Required)
+     *                 percentile_2: double (Required)
+     *                 percentile_98: double (Required)
+     *             }
+     *         }
+     *          (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return sTAC Item representing a spatiotemporal asset with statistical information along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemFeatureStatisticsWithResponseAsync(String collectionId, String itemId, + BinaryData body, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getItemFeatureStatistics(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, contentType, accept, body, + requestOptions, context)); + } + + /** + * Item Geojson Statistics + * + * Get statistics from a GeoJSON feature for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to + * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<Integer>NoList of pixel categorical values for which to report + * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the + * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given + * range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
dst_crsStringNoOutput Coordinate Reference System.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoAlgorithm name.
algorithm_paramsStringNoAlgorithm parameter.
heightIntegerNoForce output image height.
widthIntegerNoForce output image width.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         statistics (Required): {
+     *             String (Required): {
+     *                 min: double (Required)
+     *                 max: double (Required)
+     *                 mean: double (Required)
+     *                 count: double (Required)
+     *                 sum: double (Required)
+     *                 std: double (Required)
+     *                 median: double (Required)
+     *                 majority: double (Required)
+     *                 minority: double (Required)
+     *                 unique: double (Required)
+     *                 histogram (Required): [
+     *                      (Required)[
+     *                         double (Required)
+     *                     ]
+     *                 ]
+     *                 valid_percent: double (Required)
+     *                 masked_pixels: double (Required)
+     *                 valid_pixels: double (Required)
+     *                 percentile_2: double (Required)
+     *                 percentile_98: double (Required)
+     *             }
+     *         }
+     *          (Optional): {
+     *             String: BinaryData (Required)
+     *         }
+     *     }
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return sTAC Item representing a spatiotemporal asset with statistical information along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemFeatureStatisticsWithResponse(String collectionId, String itemId, + BinaryData body, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.getItemFeatureStatisticsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, contentType, accept, body, + requestOptions, Context.NONE); + } + + /** + * Item TileJson + * + * Return TileJSON document for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemTileJsonWithResponseAsync(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getItemTileJson(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + } + + /** + * Item TileJson + * + * Return TileJSON document for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemTileJsonWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getItemTileJsonSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, accept, requestOptions, Context.NONE); + } + + /** + * Item TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC item with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemTileJsonByTmsWithResponseAsync(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getItemTileJsonByTms(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, tileMatrixSetId, accept, requestOptions, + context)); + } + + /** + * Item TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC item with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemTileJsonByTmsWithResponse(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getItemTileJsonByTmsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, tileMatrixSetId, accept, requestOptions, Context.NONE); + } + + /** + * Item Wmts + * + * OGC WMTS endpoint for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemWmtsCapabilitiesWithResponseAsync(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/xml"; + return FluxUtil.withContext(context -> service.getItemWmtsCapabilities(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + } + + /** + * Item Wmts + * + * OGC WMTS endpoint for a STAC item. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemWmtsCapabilitiesWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept = "application/xml"; + return service.getItemWmtsCapabilitiesSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, Context.NONE); + } + + /** + * Item Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC item with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemWmtsCapabilitiesByTmsWithResponseAsync(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + final String accept = "application/xml"; + return FluxUtil.withContext(context -> service.getItemWmtsCapabilitiesByTms(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, tileMatrixSetId, accept, requestOptions, + context)); + } + + /** + * Item Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC item with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemWmtsCapabilitiesByTmsWithResponse(String collectionId, String itemId, + String tileMatrixSetId, RequestOptions requestOptions) { + final String accept = "application/xml"; + return service.getItemWmtsCapabilitiesByTmsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, tileMatrixSetId, accept, requestOptions, + Context.NONE); + } + + /** + * Item Point + * + * Get point value for a STAC item dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response model for point query operations providing values at a specific location along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemPointWithResponseAsync(String collectionId, String itemId, + double longitude, double latitude, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> service.getItemPoint(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, longitude, latitude, accept, requestOptions, context)); + } + + /** + * Item Point + * + * Get point value for a STAC item dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response model for point query operations providing values at a specific location along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemPointWithResponse(String collectionId, String itemId, double longitude, + double latitude, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getItemPointSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, longitude, latitude, accept, requestOptions, Context.NONE); + } + + /** + * Item Preview + * + * Create preview of a STAC item dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemPreviewWithResponseAsync(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getItemPreview(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + } + + /** + * Item Preview + * + * Create preview of a STAC item dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemPreviewWithResponse(String collectionId, String itemId, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getItemPreviewSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, accept, requestOptions, Context.NONE); + } + + /** + * Item Preview With Format + * + * Create preview of a STAC item dataset with format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemPreviewWithFormatWithResponseAsync(String collectionId, String itemId, + String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getItemPreviewWithFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, format, accept, requestOptions, + context)); + } + + /** + * Item Preview With Format + * + * Create preview of a STAC item dataset with format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemPreviewWithFormatWithResponse(String collectionId, String itemId, String format, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getItemPreviewWithFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, format, accept, requestOptions, + Context.NONE); + } + + /** + * Item Bbox + * + * Create an image from part of a STAC item dataset (bounding box crop). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemBboxCropWithResponseAsync(String collectionId, String itemId, double minx, + double miny, double maxx, double maxy, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext( + context -> service.getItemBboxCrop(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, minx, miny, maxx, maxy, format, accept, requestOptions, context)); + } + + /** + * Item Bbox + * + * Create an image from part of a STAC item dataset (bounding box crop). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemBboxCropWithResponse(String collectionId, String itemId, double minx, + double miny, double maxx, double maxy, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getItemBboxCropSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, itemId, minx, miny, maxx, maxy, format, accept, requestOptions, Context.NONE); + } + + /** + * Item Bbox With Dimensions + * + * Create an image from part of a STAC item dataset (bounding box crop with dimensions). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getItemBboxCropWithDimensionsWithResponseAsync(String collectionId, String itemId, + double minx, double miny, double maxx, double maxy, int width, int height, String format, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getItemBboxCropWithDimensions(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, minx, miny, maxx, maxy, width, height, + format, accept, requestOptions, context)); + } + + /** + * Item Bbox With Dimensions + * + * Create an image from part of a STAC item dataset (bounding box crop with dimensions). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getItemBboxCropWithDimensionsWithResponse(String collectionId, String itemId, + double minx, double miny, double maxx, double maxy, int width, int height, String format, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getItemBboxCropWithDimensionsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, itemId, minx, miny, maxx, maxy, width, height, + format, accept, requestOptions, Context.NONE); + } + + /** + * Collection Tileset List + * + * Return a list of available tilesets for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
+     *             ]
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 upperRight (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 crs: String (Optional)
+     *             }
+     *             accessConstraints: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response containing a list of available tilesets along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTilesetsWithResponseAsync(String collectionId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getCollectionTilesets(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, accept, requestOptions, context)); + } + + /** + * Collection Tileset List + * + * Return a list of available tilesets for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
+     *             ]
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 upperRight (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 crs: String (Optional)
+     *             }
+     *             accessConstraints: String (Optional)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response containing a list of available tilesets along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTilesetsWithResponse(String collectionId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getCollectionTilesetsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, accept, requestOptions, Context.NONE); + } + + /** + * Collection Tileset Metadata + * + * Return metadata for a specific tileset of a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
+     *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
+     *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response} + * on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTilesetMetadataWithResponseAsync(String collectionId, + String tileMatrixSetId, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getCollectionTilesetMetadata(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, accept, requestOptions, + context)); + } + + /** + * Collection Tileset Metadata + * + * Return metadata for a specific tileset of a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
+     *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
+     *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTilesetMetadataWithResponse(String collectionId, String tileMatrixSetId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getCollectionTilesetMetadataSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, accept, requestOptions, + Context.NONE); + } + + /** + * Collection Tile Tilematrixsetid + * + * Create map tile for a STAC collection (with TileMatrixSetId, scale, and format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileByScaleAndFormatWithResponseAsync(String collectionId, + String tileMatrixSetId, double z, double x, double y, double scale, String format, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getCollectionTileByScaleAndFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, z, x, y, scale, format, accept, + requestOptions, context)); + } + + /** + * Collection Tile Tilematrixsetid + * + * Create map tile for a STAC collection (with TileMatrixSetId, scale, and format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileByScaleAndFormatWithResponse(String collectionId, + String tileMatrixSetId, double z, double x, double y, double scale, String format, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getCollectionTileByScaleAndFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, z, x, y, scale, format, accept, + requestOptions, Context.NONE); + } + + /** + * Collection Tile Tilematrixsetid Plain + * + * Create map tile for a STAC collection (with TileMatrixSetId, without scale or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileWithResponseAsync(String collectionId, String tileMatrixSetId, + double z, double x, double y, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getCollectionTile(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, z, x, y, accept, + requestOptions, context)); + } + + /** + * Collection Tile Tilematrixsetid Plain + * + * Create map tile for a STAC collection (with TileMatrixSetId, without scale or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileWithResponse(String collectionId, String tileMatrixSetId, double z, + double x, double y, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getCollectionTileSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, tileMatrixSetId, z, x, y, accept, requestOptions, Context.NONE); + } + + /** + * Collection Tile Tilematrixsetid Format + * + * Create map tile for a STAC collection (with TileMatrixSetId and format, without scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileByFormatWithResponseAsync(String collectionId, + String tileMatrixSetId, double z, double x, double y, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getCollectionTileByFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, z, x, y, format, accept, + requestOptions, context)); + } + + /** + * Collection Tile Tilematrixsetid Format + * + * Create map tile for a STAC collection (with TileMatrixSetId and format, without scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileByFormatWithResponse(String collectionId, String tileMatrixSetId, + double z, double x, double y, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getCollectionTileByFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, z, x, y, format, accept, + requestOptions, Context.NONE); + } + + /** + * Collection Tile Tilematrixsetid Scale + * + * Create map tile for a STAC collection (with TileMatrixSetId and scale, without format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileByScaleWithResponseAsync(String collectionId, + String tileMatrixSetId, double z, double x, double y, double scale, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getCollectionTileByScale(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, z, x, y, scale, accept, + requestOptions, context)); + } + + /** + * Collection Tile Tilematrixsetid Scale + * + * Create map tile for a STAC collection (with TileMatrixSetId and scale, without format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileByScaleWithResponse(String collectionId, String tileMatrixSetId, + double z, double x, double y, double scale, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getCollectionTileByScaleSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, z, x, y, scale, accept, + requestOptions, Context.NONE); + } + + /** + * Collection Tile + * + * Create map tile for a STAC collection (without TileMatrixSetId, with scale and format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles (default: "1"). + * @param format Output format for the tile or image (e.g., png, jpeg, webp) (default: "png"). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileNoTmsByScaleAndFormatWithResponseAsync(String collectionId, + double z, double x, double y, double scale, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getCollectionTileNoTmsByScaleAndFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, z, x, y, scale, format, accept, requestOptions, + context)); + } + + /** + * Collection Tile + * + * Create map tile for a STAC collection (without TileMatrixSetId, with scale and format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles (default: "1"). + * @param format Output format for the tile or image (e.g., png, jpeg, webp) (default: "png"). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileNoTmsByScaleAndFormatWithResponse(String collectionId, double z, + double x, double y, double scale, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getCollectionTileNoTmsByScaleAndFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, z, x, y, scale, format, accept, requestOptions, + Context.NONE); + } + + /** + * Collection Tile Plain + * + * Create map tile for a STAC collection (without TileMatrixSetId, scale, or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileNoTmsWithResponseAsync(String collectionId, double z, double x, + double y, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getCollectionTileNoTms(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, z, x, y, accept, requestOptions, context)); + } + + /** + * Collection Tile Plain + * + * Create map tile for a STAC collection (without TileMatrixSetId, scale, or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileNoTmsWithResponse(String collectionId, double z, double x, double y, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getCollectionTileNoTmsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, z, x, y, accept, requestOptions, Context.NONE); + } + + /** + * Collection Tile Format + * + * Create map tile for a STAC collection (with format, without TileMatrixSetId or scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileNoTmsByFormatWithResponseAsync(String collectionId, double z, + double x, double y, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getCollectionTileNoTmsByFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, z, x, y, format, accept, requestOptions, + context)); + } + + /** + * Collection Tile Format + * + * Create map tile for a STAC collection (with format, without TileMatrixSetId or scale). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileNoTmsByFormatWithResponse(String collectionId, double z, double x, + double y, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getCollectionTileNoTmsByFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, z, x, y, format, accept, requestOptions, + Context.NONE); + } + + /** + * Collection Tile Scale + * + * Create map tile for a STAC collection (with scale, without TileMatrixSetId or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileNoTmsByScaleWithResponseAsync(String collectionId, double z, + double x, double y, double scale, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getCollectionTileNoTmsByScale(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, z, x, y, scale, accept, requestOptions, + context)); + } + + /** + * Collection Tile Scale + * + * Create map tile for a STAC collection (with scale, without TileMatrixSetId or format). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileNoTmsByScaleWithResponse(String collectionId, double z, double x, + double y, double scale, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getCollectionTileNoTmsByScaleSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, z, x, y, scale, accept, requestOptions, + Context.NONE); + } + + /** + * Collection TileJson + * + * Return TileJSON document for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileJsonWithResponseAsync(String collectionId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getCollectionTileJson(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, accept, requestOptions, context)); + } + + /** + * Collection TileJson + * + * Return TileJSON document for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileJsonWithResponse(String collectionId, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getCollectionTileJsonSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, accept, requestOptions, Context.NONE); + } + + /** + * Collection TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC collection with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionTileJsonByTmsWithResponseAsync(String collectionId, + String tileMatrixSetId, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getCollectionTileJsonByTms(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, accept, requestOptions, + context)); + } + + /** + * Collection TileJson Tilematrixsetid As Path + * + * Return TileJSON document for a STAC collection with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
+     * }
+     * 
* - * A definition of a tile matrix set following the Tile Matrix Set standard. - * For tileset metadata, such a description (in `tileMatrixSet` property) is only - * required for offline use, - * as an alternative to a link with a - * `http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme` relation type along with {@link Response} on successful - * completion of {@link Mono}. + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionTileJsonByTmsWithResponse(String collectionId, String tileMatrixSetId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getCollectionTileJsonByTmsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, accept, requestOptions, + Context.NONE); + } + + /** + * Collection Wmts + * + * OGC WMTS endpoint for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionWmtsCapabilitiesWithResponseAsync(String collectionId, + RequestOptions requestOptions) { + final String accept = "application/xml"; + return FluxUtil.withContext(context -> service.getCollectionWmtsCapabilities(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, accept, requestOptions, context)); + } + + /** + * Collection Wmts + * + * OGC WMTS endpoint for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionWmtsCapabilitiesWithResponse(String collectionId, + RequestOptions requestOptions) { + final String accept = "application/xml"; + return service.getCollectionWmtsCapabilitiesSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, accept, requestOptions, Context.NONE); + } + + /** + * Collection Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC collection with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionWmtsCapabilitiesByTmsWithResponseAsync(String collectionId, + String tileMatrixSetId, RequestOptions requestOptions) { + final String accept = "application/xml"; + return FluxUtil.withContext(context -> service.getCollectionWmtsCapabilitiesByTms(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, accept, requestOptions, + context)); + } + + /** + * Collection Wmts Tilematrixsetid As Path + * + * OGC WMTS endpoint for a STAC collection with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionWmtsCapabilitiesByTmsWithResponse(String collectionId, + String tileMatrixSetId, RequestOptions requestOptions) { + final String accept = "application/xml"; + return service.getCollectionWmtsCapabilitiesByTmsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, accept, requestOptions, + Context.NONE); + } + + /** + * Collection Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile for a STAC collection (with TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         collection: String (Optional)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getTileMatrixDefinitionsWithResponseAsync(String tileMatrixSetId, - RequestOptions requestOptions) { + public Mono> getCollectionAssetsForTileWithResponseAsync(String collectionId, + String tileMatrixSetId, double z, double x, double y, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getTileMatrixDefinitions(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), tileMatrixSetId, accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getCollectionAssetsForTile(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, z, x, y, accept, + requestOptions, context)); } /** - * Matrix Definition + * Collection Assets For Tile Tilematrixsetid As Path * - * Return Matrix Definition. + * Return a list of assets which overlap a given tile for a STAC collection (with TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *     title: String (Optional)
-     *     description: String (Optional)
-     *     keywords (Optional): [
-     *         String (Optional)
-     *     ]
-     *     id: String (Optional)
-     *     uri: String (Optional)
-     *     orderedAxes (Optional): [
-     *         String (Optional)
-     *     ]
-     *     crs: String (Required)
-     *     wellKnownScaleSet: String (Optional)
-     *     boundingBox (Optional): {
-     *         lowerLeft (Required): [
-     *             String (Required)
-     *         ]
-     *         upperRight (Required): [
-     *             String (Required)
-     *         ]
-     *         crs: String (Optional)
-     *         orderedAxes (Optional): [
-     *             String (Optional)
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         collection: String (Optional)
+     *         bbox (Required): [
+     *             double (Required)
      *         ]
-     *     }
-     *     tileMatrices (Required): [
-     *          (Required){
-     *             title: String (Optional)
-     *             description: String (Optional)
-     *             keywords (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             id: String (Required)
-     *             scaleDenominator: double (Required)
-     *             cellSize: double (Required)
-     *             cornerOfOrigin: String(topLeft/bottomLeft) (Optional)
-     *             pointOfOrigin (Required): [
-     *                 double (Required)
-     *             ]
-     *             tileWidth: int (Required)
-     *             tileHeight: int (Required)
-     *             matrixWidth: int (Required)
-     *             matrixHeight: int (Required)
-     *             variableMatrixWidths (Optional): [
-     *                  (Optional){
-     *                     coalesce: int (Required)
-     *                     minTileRow: int (Required)
-     *                     maxTileRow: int (Required)
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
      *                 }
-     *             ]
+     *             }
      *         }
-     *     ]
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionAssetsForTileWithResponse(String collectionId, String tileMatrixSetId, + double z, double x, double y, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getCollectionAssetsForTileSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, tileMatrixSetId, z, x, y, accept, + requestOptions, Context.NONE); + } + + /** + * Collection Assets For Tile + * + * Return a list of assets which overlap a given tile for a STAC collection (without TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionAssetsForTileNoTmsWithResponseAsync(String collectionId, double z, + double x, double y, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getCollectionAssetsForTileNoTms(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, z, x, y, accept, requestOptions, context)); + } + + /** + * Collection Assets For Tile + * + * Return a list of assets which overlap a given tile for a STAC collection (without TileMatrixSetId). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionAssetsForTileNoTmsWithResponse(String collectionId, double z, double x, + double y, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getCollectionAssetsForTileNoTmsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, z, x, y, accept, requestOptions, Context.NONE); + } + + /** + * Collection Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
      * }
+     * 
+ * + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionAssetsForBboxWithResponseAsync(String collectionId, double minx, + double miny, double maxx, double maxy, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getCollectionAssetsForBbox(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, minx, miny, maxx, maxy, accept, requestOptions, + context)); + } + + /** + * Collection Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a STAC collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
      * }
      * 
* - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param collectionId STAC Collection Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return https://github.com/opengeospatial/2D-Tile-Matrix-Set/blob/master/schemas/tms/2.0/json/tileMatrixSet.json - * - * A definition of a tile matrix set following the Tile Matrix Set standard. - * For tileset metadata, such a description (in `tileMatrixSet` property) is only - * required for offline use, - * as an alternative to a link with a - * `http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme` relation type along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getTileMatrixDefinitionsWithResponse(String tileMatrixSetId, - RequestOptions requestOptions) { + public Response getCollectionAssetsForBboxWithResponse(String collectionId, double minx, double miny, + double maxx, double maxy, RequestOptions requestOptions) { final String accept = "application/json"; - return service.getTileMatrixDefinitionsSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), tileMatrixSetId, accept, requestOptions, Context.NONE); + return service.getCollectionAssetsForBboxSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, minx, miny, maxx, maxy, accept, requestOptions, + Context.NONE); } /** - * Matrix List + * Collection Info * - * Return Matrix List. + * Return search query info from a STAC collection identifier. *

Response Body Schema

* *
      * {@code
-     * [
-     *     String (Required)
-     * ]
+     * {
+     *     search (Required): {
+     *         hash: String (Required)
+     *         search (Required): {
+     *             String: BinaryData (Required)
+     *         }
+     *         lastused: OffsetDateTime (Required)
+     *         usecount: int (Required)
+     *         metadata (Required): {
+     *             type: String(mosaic/search) (Optional)
+     *             bounds: String (Optional)
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             name: String (Optional)
+     *             assets (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             defaults (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
+     * }
      * }
      * 
* + * @param collectionId STAC Collection Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return information about a registered STAC search query along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listTileMatricesWithResponseAsync(RequestOptions requestOptions) { + public Mono> getCollectionInfoWithResponseAsync(String collectionId, + RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listTileMatrices(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getCollectionInfo(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, accept, requestOptions, context)); } /** - * Matrix List + * Collection Info * - * Return Matrix List. + * Return search query info from a STAC collection identifier. *

Response Body Schema

* *
      * {@code
-     * [
-     *     String (Required)
-     * ]
+     * {
+     *     search (Required): {
+     *         hash: String (Required)
+     *         search (Required): {
+     *             String: BinaryData (Required)
+     *         }
+     *         lastused: OffsetDateTime (Required)
+     *         usecount: int (Required)
+     *         metadata (Required): {
+     *             type: String(mosaic/search) (Optional)
+     *             bounds: String (Optional)
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             name: String (Optional)
+     *             assets (Optional): [
+     *                 String (Optional)
+     *             ]
+     *             defaults (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     }
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
+     * }
      * }
      * 
* + * @param collectionId STAC Collection Identifier. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @return information about a registered STAC search query along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listTileMatricesWithResponse(RequestOptions requestOptions) { + public Response getCollectionInfoWithResponse(String collectionId, RequestOptions requestOptions) { final String accept = "application/json"; - return service.listTileMatricesSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - accept, requestOptions, Context.NONE); + return service.getCollectionInfoSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, accept, requestOptions, Context.NONE); } /** - * Asset Statistics + * Collection Bbox * - * Per Asset statistics. + * Create an image from part of a STAC collection dataset (bounding box crop). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * * - * - * - * - * - * - * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *      (Optional): {
-     *         String (Required): {
-     *              (Optional): {
-     *                 String (Required): {
-     *                     min: double (Required)
-     *                     max: double (Required)
-     *                     mean: double (Required)
-     *                     count: double (Required)
-     *                     sum: double (Required)
-     *                     std: double (Required)
-     *                     median: double (Required)
-     *                     majority: double (Required)
-     *                     minority: double (Required)
-     *                     unique: double (Required)
-     *                     histogram (Required): [
-     *                          (Required)[
-     *                             double (Required)
-     *                         ]
-     *                     ]
-     *                     valid_percent: double (Required)
-     *                     masked_pixels: double (Required)
-     *                     valid_pixels: double (Required)
-     *                     percentile_2: double (Required)
-     *                     percentile_98: double (Required)
-     *                 }
-     *             }
-     *         }
-     *     }
-     * }
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's statistics along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getAssetStatisticsWithResponseAsync(String collectionId, String itemId, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getAssetStatistics(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + public Mono> getCollectionBboxCropWithResponseAsync(String collectionId, double minx, + double miny, double maxx, double maxy, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getCollectionBboxCrop(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, minx, miny, maxx, maxy, format, accept, + requestOptions, context)); } /** - * Asset Statistics + * Collection Bbox * - * Per Asset statistics. + * Create an image from part of a STAC collection dataset (bounding box crop). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * * - * - * - * - * - * - * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *      (Optional): {
-     *         String (Required): {
-     *              (Optional): {
-     *                 String (Required): {
-     *                     min: double (Required)
-     *                     max: double (Required)
-     *                     mean: double (Required)
-     *                     count: double (Required)
-     *                     sum: double (Required)
-     *                     std: double (Required)
-     *                     median: double (Required)
-     *                     majority: double (Required)
-     *                     minority: double (Required)
-     *                     unique: double (Required)
-     *                     histogram (Required): [
-     *                          (Required)[
-     *                             double (Required)
-     *                         ]
-     *                     ]
-     *                     valid_percent: double (Required)
-     *                     masked_pixels: double (Required)
-     *                     valid_pixels: double (Required)
-     *                     percentile_2: double (Required)
-     *                     percentile_98: double (Required)
-     *                 }
-     *             }
-     *         }
-     *     }
-     * }
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's statistics along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getAssetStatisticsWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getAssetStatisticsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, accept, requestOptions, Context.NONE); + public Response getCollectionBboxCropWithResponse(String collectionId, double minx, double miny, + double maxx, double maxy, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getCollectionBboxCropSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, minx, miny, maxx, maxy, format, accept, + requestOptions, Context.NONE); } /** - * Available Assets + * Collection Bbox With Dimensions * - * Return a list of supported assets. + * Create an image from part of a STAC collection dataset (bounding box crop with dimensions). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * [
-     *     String (Required)
-     * ]
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1218,29 +15006,145 @@ public Response getAssetStatisticsWithResponse(String collectionId, * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listAvailableAssetsWithResponseAsync(String collectionId, String itemId, + public Mono> getCollectionBboxCropWithDimensionsWithResponseAsync(String collectionId, + double minx, double miny, double maxx, double maxy, int width, int height, String format, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listAvailableAssets(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getCollectionBboxCropWithDimensions(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, minx, miny, maxx, maxy, width, height, format, + accept, requestOptions, context)); } /** - * Available Assets + * Collection Bbox With Dimensions * - * Return a list of supported assets. + * Create an image from part of a STAC collection dataset (bounding box crop with dimensions). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * [
-     *     String (Required)
-     * ]
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -1249,109 +15153,421 @@ public Mono> listAvailableAssetsWithResponseAsync(String co * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listAvailableAssetsWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - final String accept = "application/json"; - return service.listAvailableAssetsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, accept, requestOptions, Context.NONE); + public Response getCollectionBboxCropWithDimensionsWithResponse(String collectionId, double minx, + double miny, double maxx, double maxy, int width, int height, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getCollectionBboxCropWithDimensionsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, minx, miny, maxx, maxy, width, height, format, + accept, requestOptions, Context.NONE); } /** - * Bounds + * Collection Geojson Feature * - * Return all Bounds. - *

Response Body Schema

+ * Create image from a geojson feature (without format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

* *
      * {@code
      * {
-     *     bounds (Required): [
-     *         double (Required)
-     *     ]
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
      * }
      * }
      * 
* + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return geographic extent of a dataset expressed as a bounding box along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getBoundsWithResponseAsync(String collectionId, String itemId, + public Mono> cropCollectionFeatureWithResponseAsync(String collectionId, BinaryData body, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getBounds(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.cropCollectionFeature(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, contentType, accept, body, requestOptions, + context)); } /** - * Bounds + * Collection Geojson Feature * - * Return all Bounds. - *

Response Body Schema

+ * Create image from a geojson feature (without format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

* *
      * {@code
      * {
-     *     bounds (Required): [
-     *         double (Required)
-     *     ]
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
      * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
      * }
      * 
* * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return geographic extent of a dataset expressed as a bounding box along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getBoundsWithResponse(String collectionId, String itemId, + public Response cropCollectionFeatureWithResponse(String collectionId, BinaryData body, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getBoundsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, accept, requestOptions, Context.NONE); + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.cropCollectionFeatureSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, contentType, accept, body, requestOptions, + Context.NONE); } /** - * Geojson Crop + * Collection Geojson Feature Crop With Format * - * Create image from a geojson feature. + * Create image from a geojson feature with format. *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * - * - * * * * + * + * + * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: - * https://github.com/mapbox/rio-color)
coord-crsStringNoCoordinate Reference System of the input coords. Default to + *
coord_crsStringNoCoordinate Reference System of the input coords. Default to * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1379,9 +15595,14 @@ public Response getBoundsWithResponse(String collectionId, String it * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1397,7 +15618,7 @@ public Response getBoundsWithResponse(String collectionId, String it * } * type: String(Feature) (Required) * properties (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1412,7 +15633,6 @@ public Response getBoundsWithResponse(String collectionId, String it *
* * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -1423,45 +15643,94 @@ public Response getBoundsWithResponse(String collectionId, String it * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cropGeoJsonWithResponseAsync(String collectionId, String itemId, String format, + public Mono> cropCollectionFeatureByFormatWithResponseAsync(String collectionId, String format, BinaryData body, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return FluxUtil.withContext( - context -> service.cropGeoJson(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, format, contentType, accept, body, requestOptions, context)); + return FluxUtil.withContext(context -> service.cropCollectionFeatureByFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, format, contentType, accept, body, + requestOptions, context)); } /** - * Geojson Crop + * Collection Geojson Feature Crop With Format * - * Create image from a geojson feature. + * Create image from a geojson feature with format. *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * - * - * * * * + * + * + * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
color_formulaStringNorio-color formula (info: - * https://github.com/mapbox/rio-color)
coord-crsStringNoCoordinate Reference System of the input coords. Default to + *
coord_crsStringNoCoordinate Reference System of the input coords. Default to * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1489,9 +15758,14 @@ public Mono> cropGeoJsonWithResponseAsync(String collection * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1507,7 +15781,7 @@ public Mono> cropGeoJsonWithResponseAsync(String collection * } * type: String(Feature) (Required) * properties (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1522,7 +15796,6 @@ public Mono> cropGeoJsonWithResponseAsync(String collection *
* * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. @@ -1533,42 +15806,92 @@ public Mono> cropGeoJsonWithResponseAsync(String collection * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response cropGeoJsonWithResponse(String collectionId, String itemId, String format, + public Response cropCollectionFeatureByFormatWithResponse(String collectionId, String format, BinaryData body, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return service.cropGeoJsonSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, format, contentType, accept, body, requestOptions, Context.NONE); + return service.cropCollectionFeatureByFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, format, contentType, accept, body, + requestOptions, Context.NONE); } /** - * Geojson Crop + * Collection Geojson Feature Crop With Dimensions * - * Create image from a geojson feature. + * Create image from a geojson feature with dimensions. *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * * - * + * * - * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1596,9 +15919,14 @@ public Response cropGeoJsonWithResponse(String collectionId, String * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1614,7 +15942,7 @@ public Response cropGeoJsonWithResponse(String collectionId, String * } * type: String(Feature) (Required) * properties (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1629,7 +15957,6 @@ public Response cropGeoJsonWithResponse(String collectionId, String *
* * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. * @param width Width in pixels for the output image. * @param height Height in pixels for the output image. * @param format Output format for the tile or image (e.g., png, jpeg, webp). @@ -1642,43 +15969,92 @@ public Response cropGeoJsonWithResponse(String collectionId, String * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cropGeoJsonWithDimensionsWithResponseAsync(String collectionId, String itemId, + public Mono> cropCollectionFeatureWidthByHeightWithResponseAsync(String collectionId, int width, int height, String format, BinaryData body, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return FluxUtil.withContext(context -> service.cropGeoJsonWithDimensions(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, width, height, format, contentType, - accept, body, requestOptions, context)); + return FluxUtil.withContext(context -> service.cropCollectionFeatureWidthByHeight(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, width, height, format, contentType, accept, + body, requestOptions, context)); } /** - * Geojson Crop + * Collection Geojson Feature Crop With Dimensions * - * Create image from a geojson feature. + * Create image from a geojson feature with dimensions. *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * * - * + * * - * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -1706,9 +16082,14 @@ public Mono> cropGeoJsonWithDimensionsWithResponseAsync(Str * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Request Body Schema

@@ -1724,7 +16105,7 @@ public Mono> cropGeoJsonWithDimensionsWithResponseAsync(Str * } * type: String(Feature) (Required) * properties (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1739,7 +16120,6 @@ public Mono> cropGeoJsonWithDimensionsWithResponseAsync(Str *
* * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. * @param width Width in pixels for the output image. * @param height Height in pixels for the output image. * @param format Output format for the tile or image (e.g., png, jpeg, webp). @@ -1752,288 +16132,495 @@ public Mono> cropGeoJsonWithDimensionsWithResponseAsync(Str * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response cropGeoJsonWithDimensionsWithResponse(String collectionId, String itemId, int width, + public Response cropCollectionFeatureWidthByHeightWithResponse(String collectionId, int width, int height, String format, BinaryData body, RequestOptions requestOptions) { final String contentType = "application/json"; final String accept = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return service.cropGeoJsonWithDimensionsSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, width, height, format, contentType, - accept, body, requestOptions, Context.NONE); + return service.cropCollectionFeatureWidthByHeightSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, width, height, format, contentType, accept, + body, requestOptions, Context.NONE); } /** - * Geojson Statistics + * Collection Point * - * Get Statistics from a geojson feature. + * Get Point value for a collection dataset. *

Query Parameters

* * * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * * * - * + * * - * + * * - * + * * - * - * - * - * - * - * *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
coord-crsStringNoCoordinate Reference System of the input coords. Default to + *
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
* You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         String: Object (Required)
-     *     }
-     * }
-     * }
-     * 
- * *

Response Body Schema

* *
      * {@code
      * {
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         statistics (Required): {
-     *             String (Required): {
-     *                 min: double (Required)
-     *                 max: double (Required)
-     *                 mean: double (Required)
-     *                 count: double (Required)
-     *                 sum: double (Required)
-     *                 std: double (Required)
-     *                 median: double (Required)
-     *                 majority: double (Required)
-     *                 minority: double (Required)
-     *                 unique: double (Required)
-     *                 histogram (Required): [
-     *                      (Required)[
-     *                         double (Required)
-     *                     ]
-     *                 ]
-     *                 valid_percent: double (Required)
-     *                 masked_pixels: double (Required)
-     *                 valid_pixels: double (Required)
-     *                 percentile_2: double (Required)
-     *                 percentile_98: double (Required)
-     *             }
-     *         }
-     *          (Optional): {
-     *             String: Object (Required)
-     *         }
-     *     }
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
      * }
      * }
      * 
* * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param body Request GeoJson body. + * @param longitude Longitude. + * @param latitude Latitude. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return sTAC Item representing a spatiotemporal asset with statistical information along with {@link Response} on - * successful completion of {@link Mono}. + * @return response model for point query operations providing values at a specific location along with + * {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getGeoJsonStatisticsWithResponseAsync(String collectionId, String itemId, - BinaryData body, RequestOptions requestOptions) { - final String contentType = "application/json"; + public Mono> getCollectionPointWithResponseAsync(String collectionId, double longitude, + double latitude, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getGeoJsonStatistics(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, contentType, accept, body, - requestOptions, context)); + return FluxUtil.withContext(context -> service.getCollectionPoint(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, longitude, latitude, accept, requestOptions, + context)); } /** - * Geojson Statistics + * Collection Point * - * Get Statistics from a geojson feature. + * Get Point value for a collection dataset. *

Query Parameters

* * * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * * * - * + * * - * + * * - * + * * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
coord-crsStringNoCoordinate Reference System of the input coords. Default to + *
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + *
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

* - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). + *
+     * {@code
+     * {
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
+     * }
+     * }
+     * 
* - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response model for point query operations providing values at a specific location along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getCollectionPointWithResponse(String collectionId, double longitude, double latitude, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getCollectionPointSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + collectionId, longitude, latitude, accept, requestOptions, Context.NONE); + } + + /** + * Collection Point Assets * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html + * Return a list of assets for a given point in a collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
* You can add these to a request with {@link RequestOptions#addQueryParam} - *

Request Body Schema

+ *

Response Body Schema

* *
      * {@code
-     * {
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         bbox (Required): [
+     *             double (Required)
      *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *         collection: String (Required)
      *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         String: Object (Required)
-     *     }
-     * }
+     * ]
      * }
      * 
* + * @param collectionId STAC Collection Identifier. + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getCollectionPointAssetsWithResponseAsync(String collectionId, double longitude, + double latitude, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getCollectionPointAssets(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, longitude, latitude, accept, requestOptions, + context)); + } + + /** + * Collection Point Assets + * + * Return a list of assets for a given point in a collection. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
idsStringNoArray of Item ids.
bboxStringNoBounding box (west, south, east, north).
queryStringNoJSON query expression for filtering items.
sortbyStringNoSorting expression (e.g. +/-property).
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         bbox (Required): [
+     *             double (Required)
      *         ]
-     *     }
-     *     type: String(Feature) (Required)
-     *     properties (Optional): {
-     *         statistics (Required): {
+     *         assets (Required): {
      *             String (Required): {
-     *                 min: double (Required)
-     *                 max: double (Required)
-     *                 mean: double (Required)
-     *                 count: double (Required)
-     *                 sum: double (Required)
-     *                 std: double (Required)
-     *                 median: double (Required)
-     *                 majority: double (Required)
-     *                 minority: double (Required)
-     *                 unique: double (Required)
-     *                 histogram (Required): [
-     *                      (Required)[
-     *                         double (Required)
-     *                     ]
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
      *                 ]
-     *                 valid_percent: double (Required)
-     *                 masked_pixels: double (Required)
-     *                 valid_pixels: double (Required)
-     *                 percentile_2: double (Required)
-     *                 percentile_98: double (Required)
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
      *             }
      *         }
-     *          (Optional): {
-     *             String: Object (Required)
-     *         }
+     *         collection: String (Required)
      *     }
-     * }
+     * ]
      * }
      * 
* * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param body Request GeoJson body. + * @param longitude Longitude. + * @param latitude Latitude. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return sTAC Item representing a spatiotemporal asset with statistical information along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGeoJsonStatisticsWithResponse(String collectionId, String itemId, BinaryData body, - RequestOptions requestOptions) { - final String contentType = "application/json"; + public Response getCollectionPointAssetsWithResponse(String collectionId, double longitude, + double latitude, RequestOptions requestOptions) { final String accept = "application/json"; - return service.getGeoJsonStatisticsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, contentType, accept, body, requestOptions, Context.NONE); + return service.getCollectionPointAssetsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), collectionId, longitude, latitude, accept, requestOptions, + Context.NONE); } /** - * Info Geojson + * Searches Tileset List * - * Return Info Geojson. + * Return a list of available tilesets for a mosaic search. *

Query Parameters

* * * - * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2041,92 +16628,84 @@ public Response getGeoJsonStatisticsWithResponse(String collectionId *
      * {@code
      * {
-     *     type: String(Feature) (Required)
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     properties (Required): {
-     *         String (Required): {
-     *             bounds (Required): [
-     *                 double (Required)
-     *             ]
-     *             band_metadata (Optional): [
-     *                  (Optional)[
-     *                     BinaryData (Optional)
-     *                 ]
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
      *             ]
-     *             band_descriptions (Optional): [
-     *                  (Optional)[
-     *                     String (Optional)
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
      *                 ]
-     *             ]
-     *             dtype: String (Required)
-     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
-     *             colorinterp (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             driver: String (Optional)
-     *             count: Integer (Optional)
-     *             width: Integer (Optional)
-     *             height: Integer (Optional)
-     *             overviews (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             scales (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             offsets (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             colormap (Optional): {
-     *                 String (Required): [
-     *                     String (Required)
+     *                 upperRight (Required): [
+     *                     double (Required)
      *                 ]
+     *                 crs: String (Optional)
      *             }
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             crs: String (Optional)
+     *             accessConstraints: String (Optional)
      *         }
-     *     }
-     *     id: String (Optional)
-     *     bbox (Optional): [
-     *         double (Optional)
      *     ]
      * }
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return geoJSON Feature object containing rio-tiler model information along with {@link Response} on successful - * completion of {@link Mono}. + * @return response containing a list of available tilesets along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getInfoGeoJsonWithResponseAsync(String collectionId, String itemId, + public Mono> getSearchTilesetsWithResponseAsync(String searchId, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getInfoGeoJson(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getSearchTilesets(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, accept, requestOptions, context)); } /** - * Info Geojson + * Searches Tileset List * - * Return Info Geojson. + * Return a list of available tilesets for a mosaic search. *

Query Parameters

* * * - * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2134,91 +16713,82 @@ public Mono> getInfoGeoJsonWithResponseAsync(String collect *
      * {@code
      * {
-     *     type: String(Feature) (Required)
-     *     geometry (Required): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     properties (Required): {
-     *         String (Required): {
-     *             bounds (Required): [
-     *                 double (Required)
-     *             ]
-     *             band_metadata (Optional): [
-     *                  (Optional)[
-     *                     BinaryData (Optional)
-     *                 ]
-     *             ]
-     *             band_descriptions (Optional): [
-     *                  (Optional)[
-     *                     String (Optional)
-     *                 ]
-     *             ]
-     *             dtype: String (Required)
-     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
-     *             colorinterp (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             driver: String (Optional)
-     *             count: Integer (Optional)
-     *             width: Integer (Optional)
-     *             height: Integer (Optional)
-     *             overviews (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             scales (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             offsets (Optional): [
-     *                 int (Optional)
+     *     tilesets (Required): [
+     *          (Required){
+     *             title: String (Optional)
+     *             dataType: String (Optional)
+     *             crs: String (Optional)
+     *             links (Optional): [
+     *                  (Optional){
+     *                     href: String (Required)
+     *                     rel: String (Required)
+     *                     type: String (Optional)
+     *                     title: String (Optional)
+     *                 }
      *             ]
-     *             colormap (Optional): {
-     *                 String (Required): [
-     *                     String (Required)
+     *             boundingBox (Optional): {
+     *                 lowerLeft (Required): [
+     *                     double (Required)
      *                 ]
-     *             }
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             crs: String (Optional)
-     *         }
-     *     }
-     *     id: String (Optional)
-     *     bbox (Optional): [
-     *         double (Optional)
+     *                 upperRight (Required): [
+     *                     double (Required)
+     *                 ]
+     *                 crs: String (Optional)
+     *             }
+     *             accessConstraints: String (Optional)
+     *         }
      *     ]
      * }
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return geoJSON Feature object containing rio-tiler model information along with {@link Response}. + * @return response containing a list of available tilesets along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getInfoGeoJsonWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { + public Response getSearchTilesetsWithResponse(String searchId, RequestOptions requestOptions) { final String accept = "application/json"; - return service.getInfoGeoJsonSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, accept, requestOptions, Context.NONE); + return service.getSearchTilesetsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, accept, requestOptions, Context.NONE); } /** - * Info + * Searches Tileset Metadata * - * Return dataset's basic info. + * Return metadata for a specific tileset of a mosaic search. *

Query Parameters

* * * - * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2226,80 +16796,90 @@ public Response getInfoGeoJsonWithResponse(String collectionId, Stri *
      * {@code
      * {
-     *      (Optional): {
-     *         String (Required): {
-     *             bounds (Required): [
-     *                 double (Required)
-     *             ]
-     *             band_metadata (Optional): [
-     *                  (Optional)[
-     *                     BinaryData (Optional)
-     *                 ]
-     *             ]
-     *             band_descriptions (Optional): [
-     *                  (Optional)[
-     *                     String (Optional)
-     *                 ]
-     *             ]
-     *             dtype: String (Required)
-     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
-     *             colorinterp (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             driver: String (Optional)
-     *             count: Integer (Optional)
-     *             width: Integer (Optional)
-     *             height: Integer (Optional)
-     *             overviews (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             scales (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             offsets (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             colormap (Optional): {
-     *                 String (Required): [
-     *                     String (Required)
-     *                 ]
-     *             }
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             crs: String (Optional)
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
      *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
      *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
      * }
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's basic info along with {@link Response} on successful completion of {@link Mono}. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response} + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getItemAssetDetailsWithResponseAsync(String collectionId, String itemId, + public Mono> getSearchTilesetMetadataWithResponseAsync(String searchId, String tileMatrixSetId, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getItemAssetDetails(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getSearchTilesetMetadata(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, accept, requestOptions, context)); } /** - * Info + * Searches Tileset Metadata * - * Return dataset's basic info. + * Return metadata for a specific tileset of a mosaic search. *

Query Parameters

* * * - * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2307,100 +16887,276 @@ public Mono> getItemAssetDetailsWithResponseAsync(String co *
      * {@code
      * {
-     *      (Optional): {
-     *         String (Required): {
-     *             bounds (Required): [
-     *                 double (Required)
-     *             ]
-     *             band_metadata (Optional): [
-     *                  (Optional)[
-     *                     BinaryData (Optional)
-     *                 ]
-     *             ]
-     *             band_descriptions (Optional): [
-     *                  (Optional)[
-     *                     String (Optional)
-     *                 ]
-     *             ]
-     *             dtype: String (Required)
-     *             nodata_type: String(Alpha/Mask/Internal/Nodata/None) (Optional)
-     *             colorinterp (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             driver: String (Optional)
-     *             count: Integer (Optional)
-     *             width: Integer (Optional)
-     *             height: Integer (Optional)
-     *             overviews (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             scales (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             offsets (Optional): [
-     *                 int (Optional)
-     *             ]
-     *             colormap (Optional): {
-     *                 String (Required): [
-     *                     String (Required)
-     *                 ]
-     *             }
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             crs: String (Optional)
+     *     title: String (Optional)
+     *     dataType: String (Optional)
+     *     crs: String (Optional)
+     *     links (Optional): [
+     *          (Optional){
+     *             href: String (Required)
+     *             rel: String (Required)
+     *             type: String (Optional)
+     *             title: String (Optional)
      *         }
+     *     ]
+     *     boundingBox (Optional): {
+     *         lowerLeft (Required): [
+     *             double (Required)
+     *         ]
+     *         upperRight (Required): [
+     *             double (Required)
+     *         ]
+     *         crs: String (Optional)
      *     }
+     *     accessConstraints: String (Optional)
+     *     tileMatrixSetLimits (Optional): [
+     *          (Optional){
+     *             tileMatrix: String (Required)
+     *             minTileRow: int (Required)
+     *             maxTileRow: int (Required)
+     *             minTileCol: int (Required)
+     *             maxTileCol: int (Required)
+     *         }
+     *     ]
      * }
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's basic info along with {@link Response}. + * @return detailed metadata about a specific tileset, including tile matrix set limits along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getItemAssetDetailsWithResponse(String collectionId, String itemId, + public Response getSearchTilesetMetadataWithResponse(String searchId, String tileMatrixSetId, RequestOptions requestOptions) { final String accept = "application/json"; - return service.getItemAssetDetailsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, accept, requestOptions, Context.NONE); + return service.getSearchTilesetMetadataSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, accept, requestOptions, + Context.NONE); } /** - * Part + * Searches Tile Tilematrixsetid * - * Create image from part of a dataset. + * Create map tile (with TileMatrixSetId, scale, and format in path). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * * - * - * + * * - * - * - * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchTileByScaleAndFormatWithResponseAsync(String searchId, + String tileMatrixSetId, double z, double x, double y, double scale, String format, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getSearchTileByScaleAndFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, z, x, y, scale, format, accept, + requestOptions, context)); + } + + /** + * Searches Tile Tilematrixsetid + * + * Create map tile (with TileMatrixSetId, scale, and format in path). + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -2428,9 +17184,15 @@ public Response getItemAssetDetailsWithResponse(String collectionId, * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2441,60 +17203,109 @@ public Response getItemAssetDetailsWithResponse(String collectionId, * } *
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param minx Bounding box min X. - * @param miny Bounding box min Y. - * @param maxx Bounding box max X. - * @param maxy Bounding box max Y. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getPartWithResponseAsync(String collectionId, String itemId, double minx, - double miny, double maxx, double maxy, String format, RequestOptions requestOptions) { + public Response getSearchTileByScaleAndFormatWithResponse(String searchId, String tileMatrixSetId, + double z, double x, double y, double scale, String format, RequestOptions requestOptions) { final String accept = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return FluxUtil.withContext( - context -> service.getPart(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, minx, miny, maxx, maxy, format, accept, requestOptions, context)); + return service.getSearchTileByScaleAndFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, z, x, y, scale, format, accept, + requestOptions, Context.NONE); } /** - * Part + * Searches Tile Tilematrixsetid Plain * - * Create image from part of a dataset. + * Create map tile (with TileMatrixSetId, without scale or format). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * + * * - * - * + * * - * - * - * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -2522,9 +17333,15 @@ public Mono> getPartWithResponseAsync(String collectionId, * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2535,57 +17352,107 @@ public Mono> getPartWithResponseAsync(String collectionId, * } *
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param minx Bounding box min X. - * @param miny Bounding box min Y. - * @param maxx Bounding box max X. - * @param maxy Bounding box max Y. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getPartWithResponse(String collectionId, String itemId, double minx, double miny, - double maxx, double maxy, String format, RequestOptions requestOptions) { + public Mono> getSearchTileWithResponseAsync(String searchId, String tileMatrixSetId, double z, + double x, double y, RequestOptions requestOptions) { final String accept = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return service.getPartSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, minx, miny, maxx, maxy, format, accept, requestOptions, Context.NONE); + return FluxUtil.withContext( + context -> service.getSearchTile(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, tileMatrixSetId, z, x, y, accept, requestOptions, context)); } /** - * Part + * Searches Tile Tilematrixsetid Plain * - * Create image from part of a dataset. + * Create map tile (with TileMatrixSetId, without scale or format). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * + * * - * - * + * * - * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -2613,9 +17480,15 @@ public Response getPartWithResponse(String collectionId, String item * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2626,61 +17499,104 @@ public Response getPartWithResponse(String collectionId, String item * } *
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param minx Bounding box min X. - * @param miny Bounding box min Y. - * @param maxx Bounding box max X. - * @param maxy Bounding box max Y. - * @param width Width in pixels for the output image. - * @param height Height in pixels for the output image. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getPartWithDimensionsWithResponseAsync(String collectionId, String itemId, - double minx, double miny, double maxx, double maxy, int width, int height, String format, - RequestOptions requestOptions) { + public Response getSearchTileWithResponse(String searchId, String tileMatrixSetId, double z, double x, + double y, RequestOptions requestOptions) { final String accept = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return FluxUtil.withContext(context -> service.getPartWithDimensions(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, minx, miny, maxx, maxy, width, height, - format, accept, requestOptions, context)); + return service.getSearchTileSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, tileMatrixSetId, z, x, y, accept, requestOptions, Context.NONE); } /** - * Part + * Searches Tile Tilematrixsetid Format * - * Create image from part of a dataset. + * Create map tile (with TileMatrixSetId and format, without scale). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * * - * - * + * * - * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -2708,9 +17624,15 @@ public Mono> getPartWithDimensionsWithResponseAsync(String * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2721,183 +17643,252 @@ public Mono> getPartWithDimensionsWithResponseAsync(String * } *
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param minx Bounding box min X. - * @param miny Bounding box min Y. - * @param maxx Bounding box max X. - * @param maxy Bounding box max Y. - * @param width Width in pixels for the output image. - * @param height Height in pixels for the output image. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getPartWithDimensionsWithResponse(String collectionId, String itemId, double minx, - double miny, double maxx, double maxy, int width, int height, String format, RequestOptions requestOptions) { + public Mono> getSearchTileByFormatWithResponseAsync(String searchId, String tileMatrixSetId, + double z, double x, double y, String format, RequestOptions requestOptions) { final String accept = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return service.getPartWithDimensionsSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, minx, miny, maxx, maxy, width, height, - format, accept, requestOptions, Context.NONE); + return FluxUtil.withContext(context -> service.getSearchTileByFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, z, x, y, format, accept, + requestOptions, context)); } /** - * Point + * Searches Tile Tilematrixsetid Format * - * Get Point value for a dataset. + * Create map tile (with TileMatrixSetId and format, without scale). *

Query Parameters

* * * - * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call + *
bidxList<Integer>NoDataset band indexes. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     coordinates (Required): [
-     *         double (Required)
-     *     ]
-     *     values (Required): [
-     *         double (Required)
-     *     ]
-     *     band_names (Required): [
-     *         String (Required)
-     *     ]
-     * }
-     * }
-     * 
- * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param longitude Longitude. - * @param latitude Latitude. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response model for point query operations providing values at a specific location along with - * {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getPointWithResponseAsync(String collectionId, String itemId, double longitude, - double latitude, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext( - context -> service.getPoint(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, longitude, latitude, accept, requestOptions, context)); - } - - /** - * Point - * - * Get Point value for a dataset. - *

Query Parameters

- * - * - * * * - * + * * - * + * * - * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * * - *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     coordinates (Required): [
-     *         double (Required)
-     *     ]
-     *     values (Required): [
-     *         double (Required)
-     *     ]
-     *     band_names (Required): [
-     *         String (Required)
-     *     ]
-     * }
+     * pixel_selectionStringNoPixel selection method. Allowed values: "first",
+     * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
+     * rescaleList<String>Nocomma (',') delimited Min,Max range. Can set
+     * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
+     * colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r",
+     * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r",
+     * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r",
+     * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass",
+     * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r",
+     * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r",
+     * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar",
+     * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r",
+     * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r",
+     * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc",
+     * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence",
+     * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative",
+     * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1",
+     * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF",
+     * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges",
+     * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink",
+     * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r",
+     * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r",
+     * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds",
+     * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r",
+     * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r",
+     * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted",
+     * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat",
+     * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter",
+     * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd",
+     * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r",
+     * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter",
+     * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn",
+     * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo",
+     * "turbo_r".
+     * colormapStringNoJSON encoded custom Colormap
+     * return_maskBooleanNoAdd mask to the output data.
+     * paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling
+     * artefacts along edges. Defaults to `0`.
+     * 
+     * You can add these to a request with {@link RequestOptions#addQueryParam}
+     * 

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param longitude Longitude. - * @param latitude Latitude. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response model for point query operations providing values at a specific location along with - * {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getPointWithResponse(String collectionId, String itemId, double longitude, - double latitude, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getPointSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, longitude, latitude, accept, requestOptions, Context.NONE); + public Response getSearchTileByFormatWithResponse(String searchId, String tileMatrixSetId, double z, + double x, double y, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getSearchTileByFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, z, x, y, format, accept, + requestOptions, Context.NONE); } /** - * Preview + * Searches Tile Tilematrixsetid Scale * - * Create preview of a dataset. + * Create map tile (with TileMatrixSetId and scale, without format). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * * + * * - * + * * - * - * - * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -2925,9 +17916,15 @@ public Response getPointWithResponse(String collectionId, String ite * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -2938,8 +17935,15 @@ public Response getPointWithResponse(String collectionId, String ite * } *
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -2948,44 +17952,89 @@ public Response getPointWithResponse(String collectionId, String ite * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getPreviewWithResponseAsync(String collectionId, String itemId, - RequestOptions requestOptions) { + public Mono> getSearchTileByScaleWithResponseAsync(String searchId, String tileMatrixSetId, + double z, double x, double y, double scale, RequestOptions requestOptions) { final String accept = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return FluxUtil.withContext(context -> service.getPreview(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getSearchTileByScale(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, z, x, y, scale, accept, + requestOptions, context)); } /** - * Preview + * Searches Tile Tilematrixsetid Scale * - * Create preview of a dataset. + * Create map tile (with TileMatrixSetId and scale, without format). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * * + * * - * + * * - * - * - * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -3013,9 +18062,15 @@ public Mono> getPreviewWithResponseAsync(String collectionI * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -3026,8 +18081,253 @@ public Mono> getPreviewWithResponseAsync(String collectionI * } *
* + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileByScaleWithResponse(String searchId, String tileMatrixSetId, double z, + double x, double y, double scale, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getSearchTileByScaleSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, tileMatrixSetId, z, x, y, scale, accept, requestOptions, Context.NONE); + } + + /** + * Searches Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         collection: String (Optional)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchAssetsForTileWithResponseAsync(String searchId, String tileMatrixSetId, + String collectionId, double z, double x, double y, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getSearchAssetsForTile(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, collectionId, z, x, y, accept, + requestOptions, context)); + } + + /** + * Searches Assets For Tile Tilematrixsetid As Path + * + * Return a list of assets which overlap a given tile. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         collection: String (Optional)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *     }
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param collectionId STAC Collection Identifier. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -3036,42 +18336,93 @@ public Mono> getPreviewWithResponseAsync(String collectionI * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getPreviewWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { - final String accept - = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return service.getPreviewSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, accept, requestOptions, Context.NONE); + public Response getSearchAssetsForTileWithResponse(String searchId, String tileMatrixSetId, + String collectionId, double z, double x, double y, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getSearchAssetsForTileSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, collectionId, z, x, y, accept, + requestOptions, Context.NONE); } /** - * Preview + * Searches TileJson Tilematrixsetid As Path * - * Create preview of a dataset. + * Return TileJSON document for a search with TileMatrixSetId as path. *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * + * + * + * * - * + * * - * - * - * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -3099,67 +18450,150 @@ public Response getPreviewWithResponse(String collectionId, String i * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * BinaryData
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getPreviewWithFormatWithResponseAsync(String collectionId, String itemId, - String format, RequestOptions requestOptions) { - final String accept - = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return FluxUtil.withContext(context -> service.getPreviewWithFormat(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, format, accept, requestOptions, - context)); + public Mono> getSearchTileJsonByTmsWithResponseAsync(String searchId, String tileMatrixSetId, + RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getSearchTileJsonByTms(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, accept, requestOptions, context)); } /** - * Preview + * Searches TileJson Tilematrixsetid As Path * - * Create preview of a dataset. + * Return TileJSON document for a search with TileMatrixSetId as path. *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * + * + * + * + * + * * - * + * * - * - * - * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
dst-crsStringNoOutput Coordinate Reference System.
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoImage output size limit if width and height limits are not - * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -3187,437 +18621,392 @@ public Mono> getPreviewWithFormatWithResponseAsync(String c * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * BinaryData
-     * }
-     * 
- * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getPreviewWithFormatWithResponse(String collectionId, String itemId, String format, - RequestOptions requestOptions) { - final String accept - = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return service.getPreviewWithFormatSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, format, accept, requestOptions, Context.NONE); - } - - /** - * Create Static Image - * - * Create a new image export. - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     cql (Required): {
-     *         String: Object (Required)
-     *     }
-     *     zoom: Double (Optional)
-     *     geometry (Optional): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     render_params: String (Required)
-     *     cols: int (Required)
-     *     rows: int (Required)
-     *     showBranding: Boolean (Optional)
-     *     imageSize: String (Optional)
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
      * {
-     *     url: String (Required)
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
      * }
      * }
      * 
* - * @param collectionId STAC Collection ID. - * @param body Image request body. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response model for image exports along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> createStaticImageWithResponseAsync(String collectionId, BinaryData body, - RequestOptions requestOptions) { - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.createStaticImage(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, contentType, accept, body, requestOptions, - context)); - } - - /** - * Create Static Image - * - * Create a new image export. - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     cql (Required): {
-     *         String: Object (Required)
-     *     }
-     *     zoom: Double (Optional)
-     *     geometry (Optional): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     render_params: String (Required)
-     *     cols: int (Required)
-     *     rows: int (Required)
-     *     showBranding: Boolean (Optional)
-     *     imageSize: String (Optional)
-     * }
-     * }
-     * 
- * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     url: String (Required)
-     * }
-     * }
-     * 
+ * @return tileJSON metadata describing a tile set according to the TileJSON specification * - * @param collectionId STAC Collection ID. - * @param body Image request body. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response model for image exports along with {@link Response}. + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response createStaticImageWithResponse(String collectionId, BinaryData body, + public Response getSearchTileJsonByTmsWithResponse(String searchId, String tileMatrixSetId, RequestOptions requestOptions) { - final String contentType = "application/json"; final String accept = "application/json"; - return service.createStaticImageSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, contentType, accept, body, requestOptions, Context.NONE); - } - - /** - * Get Static Image - * - * Fetch an existing image export by ID. - *

Response Body Schema

- * - *
-     * {@code
-     * BinaryData
-     * }
-     * 
- * - * @param collectionId STAC Collection ID. - * @param id Image export ID. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return static Image - * - * Fetch an existing image export by ID along with {@link Response} on successful completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getStaticImageWithResponseAsync(String collectionId, String id, - RequestOptions requestOptions) { - final String accept = "image/png"; - return FluxUtil.withContext(context -> service.getStaticImage(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, id, accept, requestOptions, context)); + return service.getSearchTileJsonByTmsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, accept, requestOptions, + Context.NONE); } /** - * Get Static Image + * Searches Wmts Tilematrixsetid As Path * - * Fetch an existing image export by ID. + * OGC WMTS endpoint with TileMatrixSetId as path. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * BinaryData
+     * byte[]
      * }
      * 
* - * @param collectionId STAC Collection ID. - * @param id Image export ID. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return static Image - * - * Fetch an existing image export by ID along with {@link Response}. + * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getStaticImageWithResponse(String collectionId, String id, - RequestOptions requestOptions) { - final String accept = "image/png"; - return service.getStaticImageSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, id, accept, requestOptions, Context.NONE); + public Mono> getSearchWmtsCapabilitiesByTmsWithResponseAsync(String searchId, + String tileMatrixSetId, RequestOptions requestOptions) { + final String accept = "application/xml"; + return FluxUtil.withContext(context -> service.getSearchWmtsCapabilitiesByTms(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, accept, requestOptions, context)); } /** - * Statistics + * Searches Wmts Tilematrixsetid As Path * - * Merged assets statistics. + * OGC WMTS endpoint with TileMatrixSetId as path. *

Query Parameters

* * * + * + * + * + * + * * * - * + * * - * + * * - * - * - * - * - * - * - * + *
Query Parameters
NameTypeRequiredDescription
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. + *
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

* - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). + *
+     * {@code
+     * byte[]
+     * }
+     * 
* - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. + * @param searchId Search Id (pgSTAC Search Hash). + * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represent a byte array along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchWmtsCapabilitiesByTmsWithResponse(String searchId, String tileMatrixSetId, + RequestOptions requestOptions) { + final String accept = "application/xml"; + return service.getSearchWmtsCapabilitiesByTmsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, accept, requestOptions, + Context.NONE); + } + + /** + * Searches Info * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html - * - * You can add these to a request with {@link RequestOptions#addQueryParam} + * Get Search query metadata. *

Response Body Schema

* *
      * {@code
      * {
-     *      (Optional): {
-     *         String (Required): {
-     *             min: double (Required)
-     *             max: double (Required)
-     *             mean: double (Required)
-     *             count: double (Required)
-     *             sum: double (Required)
-     *             std: double (Required)
-     *             median: double (Required)
-     *             majority: double (Required)
-     *             minority: double (Required)
-     *             unique: double (Required)
-     *             histogram (Required): [
-     *                  (Required)[
-     *                     double (Required)
-     *                 ]
+     *     search (Required): {
+     *         hash: String (Required)
+     *         search (Required): {
+     *             String: BinaryData (Required)
+     *         }
+     *         lastused: OffsetDateTime (Required)
+     *         usecount: int (Required)
+     *         metadata (Required): {
+     *             type: String(mosaic/search) (Optional)
+     *             bounds: String (Optional)
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             name: String (Optional)
+     *             assets (Optional): [
+     *                 String (Optional)
      *             ]
-     *             valid_percent: double (Required)
-     *             masked_pixels: double (Required)
-     *             valid_pixels: double (Required)
-     *             percentile_2: double (Required)
-     *             percentile_98: double (Required)
+     *             defaults (Optional): {
+     *                 String: String (Required)
+     *             }
      *         }
      *     }
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
      * }
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's statistics along with {@link Response} on successful completion of {@link Mono}. + * @return information about a registered STAC search query along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listStatisticsWithResponseAsync(String collectionId, String itemId, - RequestOptions requestOptions) { + public Mono> getSearchInfoWithResponseAsync(String searchId, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listStatistics(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getSearchInfo(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, accept, requestOptions, context)); } /** - * Statistics - * - * Merged assets statistics. - *

Query Parameters

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
max_sizeIntegerNoMaximum dimension in pixels for the source data used to - * calculate statistics
categoricalBooleanNoReturn statistics for categorical dataset.
cList<String>NoList of pixel categorical values for which to report - * counts. In the form of "," separated string.
pList<Integer>NoList of percentile values (default to [2, 98]). In the - * form of "," separated string.
histogram_binsStringNoDefines the number of equal-width bins in the given - * range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. + * Searches Info * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
histogram_rangeStringNoComma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
- * You can add these to a request with {@link RequestOptions#addQueryParam} + * Get Search query metadata. *

Response Body Schema

* *
      * {@code
      * {
-     *      (Optional): {
-     *         String (Required): {
-     *             min: double (Required)
-     *             max: double (Required)
-     *             mean: double (Required)
-     *             count: double (Required)
-     *             sum: double (Required)
-     *             std: double (Required)
-     *             median: double (Required)
-     *             majority: double (Required)
-     *             minority: double (Required)
-     *             unique: double (Required)
-     *             histogram (Required): [
-     *                  (Required)[
-     *                     double (Required)
-     *                 ]
+     *     search (Required): {
+     *         hash: String (Required)
+     *         search (Required): {
+     *             String: BinaryData (Required)
+     *         }
+     *         lastused: OffsetDateTime (Required)
+     *         usecount: int (Required)
+     *         metadata (Required): {
+     *             type: String(mosaic/search) (Optional)
+     *             bounds: String (Optional)
+     *             minzoom: Integer (Optional)
+     *             maxzoom: Integer (Optional)
+     *             name: String (Optional)
+     *             assets (Optional): [
+     *                 String (Optional)
      *             ]
-     *             valid_percent: double (Required)
-     *             masked_pixels: double (Required)
-     *             valid_pixels: double (Required)
-     *             percentile_2: double (Required)
-     *             percentile_98: double (Required)
+     *             defaults (Optional): {
+     *                 String: String (Required)
+     *             }
      *         }
      *     }
+     *     links (Optional): [
+     *          (Optional){
+     *             rel: String (Optional)
+     *             title: String (Optional)
+     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
+     *             href: String (Optional, Required on create)
+     *             hreflang: String (Optional)
+     *             length: Integer (Optional)
+     *             method: String(GET/POST) (Optional)
+     *             headers (Optional): {
+     *                 String: String (Required)
+     *             }
+     *             body (Optional): {
+     *                 String: BinaryData (Required)
+     *             }
+     *             merge: Boolean (Optional)
+     *         }
+     *     ]
      * }
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. + * @param searchId Search Id (pgSTAC Search Hash). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return return dataset's statistics along with {@link Response}. + * @return information about a registered STAC search query along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listStatisticsWithResponse(String collectionId, String itemId, - RequestOptions requestOptions) { + public Response getSearchInfoWithResponse(String searchId, RequestOptions requestOptions) { final String accept = "application/json"; - return service.listStatisticsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, accept, requestOptions, Context.NONE); + return service.getSearchInfoSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, accept, requestOptions, Context.NONE); } /** - * TileJson Tilematrixsetid As Path + * Searches Bbox * - * Return the TileJson Tilematrixsetid As a path. + * Create an image from part of a dataset (bounding box crop). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * - * - * - * - * - * - * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". + * + * + * + * + * + * * + * * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoDefault will be automatically defined if the output image - * needs a mask (png) or - * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -3645,7 +19034,11 @@ public Response listStatisticsWithResponse(String collectionId, Stri * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
@@ -3654,92 +19047,108 @@ public Response listStatisticsWithResponse(String collectionId, Stri * *
      * {@code
-     * {
-     *     tilejson: String (Optional)
-     *     name: String (Optional)
-     *     description: String (Optional)
-     *     version: String (Optional)
-     *     attribution: String (Optional)
-     *     template: String (Optional)
-     *     legend: String (Optional)
-     *     scheme: String(xyz/tms) (Optional)
-     *     tiles (Required): [
-     *         String (Required)
-     *     ]
-     *     grids (Optional): [
-     *         String (Optional)
-     *     ]
-     *     data (Optional): [
-     *         String (Optional)
-     *     ]
-     *     minzoom: Integer (Optional)
-     *     maxzoom: Integer (Optional)
-     *     bounds (Optional): [
-     *         double (Optional)
-     *     ]
-     *     center (Optional): [
-     *         double (Optional)
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return tileJSON metadata describing a tile set according to the TileJSON specification - * - * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getTileJsonWithResponseAsync(String collectionId, String itemId, - String tileMatrixSetId, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext( - context -> service.getTileJson(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, tileMatrixSetId, accept, requestOptions, context)); + public Mono> getSearchBboxCropWithResponseAsync(String searchId, double minx, double miny, + double maxx, double maxy, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getSearchBboxCrop(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, minx, miny, maxx, maxy, format, accept, + requestOptions, context)); } /** - * TileJson Tilematrixsetid As Path + * Searches Bbox * - * Return the TileJson Tilematrixsetid As a path. + * Create an image from part of a dataset (bounding box crop). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * - * - * - * - * + * + * + * + * + * * + * * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoDefault will be automatically defined if the output image - * needs a mask (png) or - * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -3767,7 +19176,11 @@ public Mono> getTileJsonWithResponseAsync(String collection * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
@@ -3776,83 +19189,105 @@ public Mono> getTileJsonWithResponseAsync(String collection * *
      * {@code
-     * {
-     *     tilejson: String (Optional)
-     *     name: String (Optional)
-     *     description: String (Optional)
-     *     version: String (Optional)
-     *     attribution: String (Optional)
-     *     template: String (Optional)
-     *     legend: String (Optional)
-     *     scheme: String(xyz/tms) (Optional)
-     *     tiles (Required): [
-     *         String (Required)
-     *     ]
-     *     grids (Optional): [
-     *         String (Optional)
-     *     ]
-     *     data (Optional): [
-     *         String (Optional)
-     *     ]
-     *     minzoom: Integer (Optional)
-     *     maxzoom: Integer (Optional)
-     *     bounds (Optional): [
-     *         double (Optional)
-     *     ]
-     *     center (Optional): [
-     *         double (Optional)
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return tileJSON metadata describing a tile set according to the TileJSON specification - * - * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getTileJsonWithResponse(String collectionId, String itemId, String tileMatrixSetId, - RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getTileJsonSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, tileMatrixSetId, accept, requestOptions, Context.NONE); + public Response getSearchBboxCropWithResponse(String searchId, double minx, double miny, double maxx, + double maxy, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getSearchBboxCropSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, minx, miny, maxx, maxy, format, accept, requestOptions, Context.NONE); } /** - * Tile Tilematrixsetid As Path + * Searches Bbox With Dimensions * - * Create map tile from a dataset. + * Create an image from part of a dataset (bounding box crop with dimensions). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * + * + * + * * + * * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * - * - * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -3880,12 +19315,13 @@ public Response getTileJsonWithResponse(String collectionId, String * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<String>NoThe index of a subdataset band within the - * asset. In the form of "," separated string.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -3896,16 +19332,13 @@ public Response getTileJsonWithResponse(String collectionId, String * } *
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and - * representing the scaleDenominator the tile. - * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixHeight-1 for the selected TileMatrix. - * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixWidth-1 for the selected TileMatrix. - * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -3915,43 +19348,88 @@ public Response getTileJsonWithResponse(String collectionId, String * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getTileWithResponseAsync(String collectionId, String itemId, - String tileMatrixSetId, double z, double x, double y, double scale, String format, - RequestOptions requestOptions) { + public Mono> getSearchBboxCropWithDimensionsWithResponseAsync(String searchId, double minx, + double miny, double maxx, double maxy, int width, int height, String format, RequestOptions requestOptions) { final String accept = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return FluxUtil.withContext( - context -> service.getTile(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, tileMatrixSetId, z, x, y, scale, format, accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getSearchBboxCropWithDimensions(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, minx, miny, maxx, maxy, width, height, format, + accept, requestOptions, context)); } /** - * Tile Tilematrixsetid As Path + * Searches Bbox With Dimensions * - * Create map tile from a dataset. + * Create an image from part of a dataset (bounding box crop with dimensions). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * + * + * + * * + * * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
dst_crsStringNoOutput Coordinate Reference System.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -3979,33 +19457,188 @@ public Mono> getTileWithResponseAsync(String collectionId, * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param width Force output image width. + * @param height Force output image height. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchBboxCropWithDimensionsWithResponse(String searchId, double minx, double miny, + double maxx, double maxy, int width, int height, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getSearchBboxCropWithDimensionsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, minx, miny, maxx, maxy, width, height, format, + accept, requestOptions, Context.NONE); + } + + /** + * Searches Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchBboxAssetsWithResponseAsync(String searchId, double minx, double miny, + double maxx, double maxy, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getSearchBboxAssets(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, minx, miny, maxx, maxy, accept, requestOptions, + context)); + } + + /** + * Searches Assets For Bbox + * + * Return a list of assets which overlap a given bounding box for a search. + *

Query Parameters

+ * + * + * + * + * + * + * + * * - * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<String>NoThe index of a subdataset band within the + *
subdataset_bandsList<Integer>NoThe index of a subdataset band within the * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * BinaryData
+     * [
+     *     BinaryData (Required)
+     * ]
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and - * representing the scaleDenominator the tile. - * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixHeight-1 for the selected TileMatrix. - * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixWidth-1 for the selected TileMatrix. - * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param searchId Search Id (pgSTAC Search Hash). + * @param minx Bounding box min X. + * @param miny Bounding box min Y. + * @param maxx Bounding box max X. + * @param maxy Bounding box max Y. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. @@ -4014,47 +19647,87 @@ public Mono> getTileWithResponseAsync(String collectionId, * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getTileWithResponse(String collectionId, String itemId, String tileMatrixSetId, - double z, double x, double y, double scale, String format, RequestOptions requestOptions) { - final String accept - = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return service.getTileSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, tileMatrixSetId, z, x, y, scale, format, accept, requestOptions, Context.NONE); + public Response getSearchBboxAssetsWithResponse(String searchId, double minx, double miny, double maxx, + double maxy, RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getSearchBboxAssetsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, minx, miny, maxx, maxy, accept, requestOptions, Context.NONE); } /** - * Wmts Tilematrixsetid As Path + * Searches Geojson Feature * - * OGC WMTS endpoint. + * Create image from a geojson feature (without format in path). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * - * - * - * - * + * + * + * + * * + * * + * * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", - * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -4082,71 +19755,139 @@ public Response getTileWithResponse(String collectionId, String item * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
      * {@code
-     * byte[]
+     * BinaryData
      * }
      * 
* - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param searchId Search Id (pgSTAC Search Hash). + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getWmtsCapabilitiesWithResponseAsync(String collectionId, String itemId, - String tileMatrixSetId, RequestOptions requestOptions) { - final String accept = "application/xml"; - return FluxUtil.withContext(context -> service.getWmtsCapabilities(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), collectionId, itemId, tileMatrixSetId, accept, requestOptions, + public Mono> cropSearchFeatureWithResponseAsync(String searchId, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.cropSearchFeature(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, contentType, accept, body, requestOptions, context)); } /** - * Wmts Tilematrixsetid As Path + * Searches Geojson Feature * - * OGC WMTS endpoint. + * Create image from a geojson feature (without format in path). *

Query Parameters

* * * + * * * - * + * * - * + * * + * + * + * + * + * + * + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * - * - * - * - * + * + * + * + * * + * * + * * * - * - * - *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", - * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -4169,330 +19910,358 @@ public Mono> getWmtsCapabilitiesWithResponseAsync(String co * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", - * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", - * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", - * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", - * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", - * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * byte[]
-     * }
-     * 
- * - * @param collectionId STAC Collection Identifier. - * @param itemId STAC Item Identifier. - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represent a byte array along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWmtsCapabilitiesWithResponse(String collectionId, String itemId, - String tileMatrixSetId, RequestOptions requestOptions) { - final String accept = "application/xml"; - return service.getWmtsCapabilitiesSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - collectionId, itemId, tileMatrixSetId, accept, requestOptions, Context.NONE); - } - - /** - * Get ClassMap Legend - * - * Generate values and color swatches mapping for a given classmap. - *

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *      (Optional): {
-     *         String: Object (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param classmapName classmap name. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return classMap Legend - * - * Generate values and color swatches mapping for a given classmap along with {@link Response} on successful - * completion of {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getClassMapLegendWithResponseAsync(String classmapName, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getClassMapLegend(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), classmapName, accept, requestOptions, context)); - } - - /** - * Get ClassMap Legend - * - * Generate values and color swatches mapping for a given classmap. - *

Query Parameters

- * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
- * You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *      (Optional): {
-     *         String: Object (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param classmapName classmap name. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return classMap Legend - * - * Generate values and color swatches mapping for a given classmap along with {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getClassMapLegendWithResponse(String classmapName, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getClassMapLegendSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - classmapName, accept, requestOptions, Context.NONE); - } - - /** - * Get Interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow). - *

Query Parameters

- * - * - * - * - * + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
formatStringNoOutput image format. Allowed values: "png", "npy", "tif", + * "jpeg", "jpg", "jp2", "webp", "pngraw".
* You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

+ *

Request Body Schema

* *
      * {@code
-     * [
-     *      (Required)[
-     *          (Required)[
-     *             long (Required)
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
      *         ]
-     *     ]
-     * ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
      * }
      * 
* - * @param classmapName classmap name. + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow) along with - * {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getIntervalLegendWithResponseAsync(String classmapName, + public Response cropSearchFeatureWithResponse(String searchId, BinaryData body, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getIntervalLegend(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), classmapName, accept, requestOptions, context)); + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.cropSearchFeatureSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, contentType, accept, body, requestOptions, Context.NONE); } /** - * Get Interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. + * Searches Geojson Feature Crop With Format * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow). + * Create image from a geojson feature with format. *

Query Parameters

* * * - * - * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
* You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

+ *

Request Body Schema

* *
      * {@code
-     * [
-     *      (Required)[
-     *          (Required)[
-     *             long (Required)
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
      *         ]
-     *     ]
-     * ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
      * }
      * 
* - * @param classmapName classmap name. + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return interval Legend - * - * Generate values and color swatches mapping for a given interval classmap. - * - * Returns a color map for intervals, where each interval is defined by: - * - A numeric range `[min, max]` representing the interval boundaries. - * - An RGBA color `[red, green, blue, alpha]` associated with the interval. - * - * The response is a 2D array of interval definitions, where each element is a pair: - * - The first element is an array of two numbers `[min, max]` defining the interval. - * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. - * - * Example: - * ```json - * [ - * [ - * [-2, 0], [0, 0, 0, 0] - * ], - * [ - * [1, 32], [255, 255, 178, 255] - * ] - * ] - * ``` - * This example defines two intervals: - * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). - * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow) along with - * {@link Response}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getIntervalLegendWithResponse(String classmapName, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getIntervalLegendSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - classmapName, accept, requestOptions, Context.NONE); + public Mono> cropSearchFeatureByFormatWithResponseAsync(String searchId, String format, + BinaryData body, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.cropSearchFeatureByFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, format, contentType, accept, body, requestOptions, + context)); } /** - * Get Legend + * Searches Geojson Feature Crop With Format * - * Generate a legend image for a given colormap. + * Create image from a geojson feature with format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
heightIntegerNoHeight in pixels for the output image
widthIntegerNoWidth in pixels for the output image
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
* - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim. - *

Query Parameters

- * - * - * - * - * - * - * - *
Query Parameters
NameTypeRequiredDescription
heightDoubleNoThe output height of the legend image
widthDoubleNoThe output width of the legend image
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
- * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -4501,46 +20270,155 @@ public Response getIntervalLegendWithResponse(String classmapName, R
      * }
      * 
* - * @param colorMapName The name of the registered colormap to generate a legend for. + * @param searchId Search Id (pgSTAC Search Hash). + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return legend - * - * Generate a legend image for a given colormap. - * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getLegendWithResponseAsync(String colorMapName, RequestOptions requestOptions) { - final String accept = "image/png"; - return FluxUtil.withContext(context -> service.getLegend(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), colorMapName, accept, requestOptions, context)); + public Response cropSearchFeatureByFormatWithResponse(String searchId, String format, BinaryData body, + RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.cropSearchFeatureByFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, format, contentType, accept, body, requestOptions, + Context.NONE); } /** - * Get Legend - * - * Generate a legend image for a given colormap. + * Searches Geojson Feature Crop With Dimensions * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim. + * Create image from a geojson feature with dimensions. *

Query Parameters

* * * - * - * - * - * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
heightDoubleNoThe output height of the legend image
widthDoubleNoThe output width of the legend image
trim_startIntegerNoNumber of items to trim from the start of the - * cmap
trim_endIntegerNoNumber of items to trim from the end of the cmap
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
* You can add these to a request with {@link RequestOptions#addQueryParam} + *

Request Body Schema

+ * + *
+     * {@code
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
+     *         ]
+     *     }
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * *

Response Body Schema

* *
@@ -4549,781 +20427,1314 @@ public Mono> getLegendWithResponseAsync(String colorMapName
      * }
      * 
* - * @param colorMapName The name of the registered colormap to generate a legend for. + * @param searchId Search Id (pgSTAC Search Hash). + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return legend - * - * Generate a legend image for a given colormap. - * - * If the colormap has non-contiguous values at the beginning or end, - * which aren't desired in the output image, they can be trimmed by specifying - * the number of values to trim along with {@link Response}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getLegendWithResponse(String colorMapName, RequestOptions requestOptions) { - final String accept = "image/png"; - return service.getLegendSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - colorMapName, accept, requestOptions, Context.NONE); + public Mono> cropSearchFeatureWidthByHeightWithResponseAsync(String searchId, int width, + int height, String format, BinaryData body, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.cropSearchFeatureWidthByHeight(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, width, height, format, contentType, accept, body, + requestOptions, context)); } /** - * Assets For Point + * Searches Geojson Feature Crop With Dimensions * - * Return a list of assets for a given point. + * Create image from a geojson feature with dimensions. *

Query Parameters

* * * - * + * + * + * + * + * + * + * + * + * * + * to 100). * + * 5). * + * to True). * - * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the * previous items (defaults - * to True in PgSTAC).
coord-crsStringNoCoordinate Reference System of the input coords. Default to + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
coord_crsStringNoCoordinate Reference System of the input coords. Default to * `epsg:4326`.
max_sizeIntegerNoImage output size limit if width and height limits are not + * set.
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
dst_crsStringNoOutput Coordinate Reference System.
* You can add these to a request with {@link RequestOptions#addQueryParam} - *

Response Body Schema

+ *

Request Body Schema

* *
      * {@code
-     * [
-     *      (Required){
-     *         id: String (Required)
-     *         bbox (Required): [
-     *             double (Required)
+     * {
+     *     geometry (Required): {
+     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
+     *         bbox (Optional): [
+     *             double (Optional)
      *         ]
-     *         assets (Required): {
-     *             String (Required): {
-     *                 platform: String (Optional)
-     *                 instruments (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                 constellation: String (Optional)
-     *                 mission: String (Optional)
-     *                 providers (Optional): [
-     *                      (Optional){
-     *                         name: String (Optional, Required on create)
-     *                         description: String (Optional)
-     *                         roles (Optional): [
-     *                             String (Optional)
-     *                         ]
-     *                         url: String (Optional)
-     *                     }
-     *                 ]
-     *                 gsd: Double (Optional)
-     *                 created: OffsetDateTime (Optional)
-     *                 updated: OffsetDateTime (Optional)
-     *                 title: String (Optional)
-     *                 description: String (Optional)
-     *                 href: String (Optional, Required on create)
-     *                 type: String (Optional)
-     *                 roles (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                  (Optional): {
-     *                     String: Object (Required)
-     *                 }
-     *             }
-     *         }
-     *         collection: String (Required)
      *     }
-     * ]
+     *     type: String(Feature) (Required)
+     *     properties (Optional): {
+     *         String: BinaryData (Required)
+     *     }
+     * }
+     * }
+     * 
+ * + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param width Width in pixels for the output image. + * @param height Height in pixels for the output image. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param body Request GeoJson body. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response cropSearchFeatureWidthByHeightWithResponse(String searchId, int width, int height, + String format, BinaryData body, RequestOptions requestOptions) { + final String contentType = "application/json"; + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.cropSearchFeatureWidthByHeightSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, width, height, format, contentType, accept, body, + requestOptions, Context.NONE); + } + + /** + * Searches Wmts + * + * OGC WMTS endpoint. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * byte[]
      * }
      * 
* * @param searchId Search Id (pgSTAC Search Hash). - * @param longitude Longitude. - * @param latitude Latitude. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsAssetsForPointWithResponseAsync(String searchId, double longitude, - double latitude, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getMosaicsAssetsForPoint(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), searchId, longitude, latitude, accept, requestOptions, - context)); + public Mono> getSearchWmtsCapabilitiesWithResponseAsync(String searchId, + RequestOptions requestOptions) { + final String accept = "application/xml"; + return FluxUtil.withContext(context -> service.getSearchWmtsCapabilities(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, accept, requestOptions, context)); } /** - * Assets For Point + * Searches Wmts * - * Return a list of assets for a given point. + * OGC WMTS endpoint. *

Query Parameters

* * * - * - * - * - * - * - * + * + * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the - * previous items (defaults - * to True in PgSTAC).
coord-crsStringNoCoordinate Reference System of the input coords. Default to - * `epsg:4326`.
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: + * 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", + * "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", + * "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", + * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * [
-     *      (Required){
-     *         id: String (Required)
-     *         bbox (Required): [
-     *             double (Required)
-     *         ]
-     *         assets (Required): {
-     *             String (Required): {
-     *                 platform: String (Optional)
-     *                 instruments (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                 constellation: String (Optional)
-     *                 mission: String (Optional)
-     *                 providers (Optional): [
-     *                      (Optional){
-     *                         name: String (Optional, Required on create)
-     *                         description: String (Optional)
-     *                         roles (Optional): [
-     *                             String (Optional)
-     *                         ]
-     *                         url: String (Optional)
-     *                     }
-     *                 ]
-     *                 gsd: Double (Optional)
-     *                 created: OffsetDateTime (Optional)
-     *                 updated: OffsetDateTime (Optional)
-     *                 title: String (Optional)
-     *                 description: String (Optional)
-     *                 href: String (Optional, Required on create)
-     *                 type: String (Optional)
-     *                 roles (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                  (Optional): {
-     *                     String: Object (Required)
-     *                 }
-     *             }
-     *         }
-     *         collection: String (Required)
-     *     }
-     * ]
+     * byte[]
      * }
      * 
* * @param searchId Search Id (pgSTAC Search Hash). - * @param longitude Longitude. - * @param latitude Latitude. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @return represent a byte array along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsAssetsForPointWithResponse(String searchId, double longitude, double latitude, - RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getMosaicsAssetsForPointSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), searchId, longitude, latitude, accept, requestOptions, - Context.NONE); + public Response getSearchWmtsCapabilitiesWithResponse(String searchId, RequestOptions requestOptions) { + final String accept = "application/xml"; + return service.getSearchWmtsCapabilitiesSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, accept, requestOptions, Context.NONE); } /** - * Assets For Tile Tilematrixsetid As Path + * Searches TileJson * - * Return a list of assets which overlap a given tile. + * Return TileJSON document for a search. *

Query Parameters

* * * - * + * + * + * + * + * + * + * + * + * * + * to 100). * + * 5). * + * to True). * + * to True). + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the * previous items (defaults - * to True in PgSTAC).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * [
-     *      (Required){
-     *         id: String (Required)
-     *         collection: String (Optional)
-     *         bbox (Required): [
-     *             double (Required)
-     *         ]
-     *         assets (Required): {
-     *             String (Required): {
-     *                 platform: String (Optional)
-     *                 instruments (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                 constellation: String (Optional)
-     *                 mission: String (Optional)
-     *                 providers (Optional): [
-     *                      (Optional){
-     *                         name: String (Optional, Required on create)
-     *                         description: String (Optional)
-     *                         roles (Optional): [
-     *                             String (Optional)
-     *                         ]
-     *                         url: String (Optional)
-     *                     }
-     *                 ]
-     *                 gsd: Double (Optional)
-     *                 created: OffsetDateTime (Optional)
-     *                 updated: OffsetDateTime (Optional)
-     *                 title: String (Optional)
-     *                 description: String (Optional)
-     *                 href: String (Optional, Required on create)
-     *                 type: String (Optional)
-     *                 roles (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                  (Optional): {
-     *                     String: Object (Required)
-     *                 }
-     *             }
-     *         }
-     *     }
-     * ]
-     * }
-     * 
- * - * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param collectionId STAC Collection Identifier. - * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and - * representing the scaleDenominator the tile. - * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixHeight-1 for the selected TileMatrix. - * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixWidth-1 for the selected TileMatrix. + * { + * tilejson: String (Optional) + * name: String (Optional) + * description: String (Optional) + * version: String (Optional) + * attribution: String (Optional) + * template: String (Optional) + * legend: String (Optional) + * scheme: String(xyz/tms) (Optional) + * tiles (Required): [ + * String (Required) + * ] + * grids (Optional): [ + * String (Optional) + * ] + * data (Optional): [ + * String (Optional) + * ] + * minzoom: Integer (Optional) + * maxzoom: Integer (Optional) + * bounds (Optional): [ + * double (Optional) + * ] + * center (Optional): [ + * double (Optional) + * ] + * } + * } + *
+ * + * @param searchId Search Id (pgSTAC Search Hash). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response} on successful completion of {@link Mono}. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsAssetsForTileWithResponseAsync(String searchId, String tileMatrixSetId, - String collectionId, double z, double x, double y, RequestOptions requestOptions) { + public Mono> getSearchTileJsonWithResponseAsync(String searchId, + RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getMosaicsAssetsForTile(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, collectionId, z, x, y, accept, - requestOptions, context)); + return FluxUtil.withContext(context -> service.getSearchTileJson(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, accept, requestOptions, context)); } /** - * Assets For Tile Tilematrixsetid As Path + * Searches TileJson * - * Return a list of assets which overlap a given tile. + * Return TileJSON document for a search. *

Query Parameters

* * * - * + * + * + * + * + * + * + * + * + * * + * to 100). * + * 5). * + * to True). * + * to True). + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the * previous items (defaults - * to True in PgSTAC).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
tile_formatStringNoDefault will be automatically defined if the output image + * needs a mask (png) or + * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 + * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * [
-     *      (Required){
-     *         id: String (Required)
-     *         collection: String (Optional)
-     *         bbox (Required): [
-     *             double (Required)
-     *         ]
-     *         assets (Required): {
-     *             String (Required): {
-     *                 platform: String (Optional)
-     *                 instruments (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                 constellation: String (Optional)
-     *                 mission: String (Optional)
-     *                 providers (Optional): [
-     *                      (Optional){
-     *                         name: String (Optional, Required on create)
-     *                         description: String (Optional)
-     *                         roles (Optional): [
-     *                             String (Optional)
-     *                         ]
-     *                         url: String (Optional)
-     *                     }
-     *                 ]
-     *                 gsd: Double (Optional)
-     *                 created: OffsetDateTime (Optional)
-     *                 updated: OffsetDateTime (Optional)
-     *                 title: String (Optional)
-     *                 description: String (Optional)
-     *                 href: String (Optional, Required on create)
-     *                 type: String (Optional)
-     *                 roles (Optional): [
-     *                     String (Optional)
-     *                 ]
-     *                  (Optional): {
-     *                     String: Object (Required)
-     *                 }
-     *             }
-     *         }
-     *     }
-     * ]
+     * {
+     *     tilejson: String (Optional)
+     *     name: String (Optional)
+     *     description: String (Optional)
+     *     version: String (Optional)
+     *     attribution: String (Optional)
+     *     template: String (Optional)
+     *     legend: String (Optional)
+     *     scheme: String(xyz/tms) (Optional)
+     *     tiles (Required): [
+     *         String (Required)
+     *     ]
+     *     grids (Optional): [
+     *         String (Optional)
+     *     ]
+     *     data (Optional): [
+     *         String (Optional)
+     *     ]
+     *     minzoom: Integer (Optional)
+     *     maxzoom: Integer (Optional)
+     *     bounds (Optional): [
+     *         double (Optional)
+     *     ]
+     *     center (Optional): [
+     *         double (Optional)
+     *     ]
+     * }
      * }
      * 
* * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param collectionId STAC Collection Identifier. - * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and - * representing the scaleDenominator the tile. - * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixHeight-1 for the selected TileMatrix. - * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixWidth-1 for the selected TileMatrix. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @return tileJSON metadata describing a tile set according to the TileJSON specification + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsAssetsForTileWithResponse(String searchId, String tileMatrixSetId, - String collectionId, double z, double x, double y, RequestOptions requestOptions) { + public Response getSearchTileJsonWithResponse(String searchId, RequestOptions requestOptions) { final String accept = "application/json"; - return service.getMosaicsAssetsForTileSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, collectionId, z, x, y, accept, - requestOptions, Context.NONE); + return service.getSearchTileJsonSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, accept, requestOptions, Context.NONE); } /** - * Info Search + * Searches Tile Plain * - * Get Search query metadata. + * Create a map tile for a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *     search (Required): {
-     *         hash: String (Required)
-     *         search (Required): {
-     *             String: Object (Required)
-     *         }
-     *         _where: String (Required)
-     *         orderby: String (Required)
-     *         lastused: OffsetDateTime (Required)
-     *         usecount: int (Required)
-     *         metadata (Required): {
-     *             type: String(mosaic/search) (Optional)
-     *             bounds: String (Optional)
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             name: String (Optional)
-     *             assets (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             defaults (Optional): {
-     *                 String: String (Required)
-     *             }
-     *         }
-     *     }
-     *     links (Optional): [
-     *          (Optional){
-     *             rel: String (Optional)
-     *             title: String (Optional)
-     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
-     *             href: String (Optional, Required on create)
-     *             hreflang: String (Optional)
-     *             length: Integer (Optional)
-     *             method: String(GET/POST) (Optional)
-     *             headers (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             body (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *             merge: Boolean (Optional)
-     *         }
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return information about a registered STAC search query along with {@link Response} on successful completion of - * {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsSearchInfoWithResponseAsync(String searchId, + public Mono> getSearchTileNoTmsWithResponseAsync(String searchId, double z, double x, double y, RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getMosaicsSearchInfo(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), searchId, accept, requestOptions, context)); + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getSearchTileNoTms(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, z, x, y, accept, requestOptions, context)); } /** - * Info Search + * Searches Tile Plain * - * Get Search query metadata. + * Create a map tile for a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *     search (Required): {
-     *         hash: String (Required)
-     *         search (Required): {
-     *             String: Object (Required)
-     *         }
-     *         _where: String (Required)
-     *         orderby: String (Required)
-     *         lastused: OffsetDateTime (Required)
-     *         usecount: int (Required)
-     *         metadata (Required): {
-     *             type: String(mosaic/search) (Optional)
-     *             bounds: String (Optional)
-     *             minzoom: Integer (Optional)
-     *             maxzoom: Integer (Optional)
-     *             name: String (Optional)
-     *             assets (Optional): [
-     *                 String (Optional)
-     *             ]
-     *             defaults (Optional): {
-     *                 String: String (Required)
-     *             }
-     *         }
-     *     }
-     *     links (Optional): [
-     *          (Optional){
-     *             rel: String (Optional)
-     *             title: String (Optional)
-     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
-     *             href: String (Optional, Required on create)
-     *             hreflang: String (Optional)
-     *             length: Integer (Optional)
-     *             method: String(GET/POST) (Optional)
-     *             headers (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             body (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *             merge: Boolean (Optional)
-     *         }
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return information about a registered STAC search query along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsSearchInfoWithResponse(String searchId, RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getMosaicsSearchInfoSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - searchId, accept, requestOptions, Context.NONE); + public Response getSearchTileNoTmsWithResponse(String searchId, double z, double x, double y, + RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getSearchTileNoTmsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, z, x, y, accept, requestOptions, Context.NONE); } /** - * Register Search - * - * Register a Search query. - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     collections (Optional): [
-     *         String (Optional)
-     *     ]
-     *     ids (Optional): [
-     *         String (Optional)
-     *     ]
-     *     bbox (Optional): [
-     *         double (Optional)
-     *     ]
-     *     intersects (Optional): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     query (Optional): {
-     *         String: Object (Required)
-     *     }
-     *     filter (Optional): {
-     *         String: Object (Required)
-     *     }
-     *     datetime: String (Optional)
-     *     sortby (Optional): [
-     *          (Optional){
-     *             field: String (Required)
-     *             direction: String(asc/desc) (Required)
-     *         }
-     *     ]
-     *     filter-lang: String(cql-json/cql2-json/cql2-text) (Optional)
-     *     metadata (Optional): {
-     *         type: String(mosaic/search) (Optional)
-     *         bounds: String (Optional)
-     *         minzoom: Integer (Optional)
-     *         maxzoom: Integer (Optional)
-     *         name: String (Optional)
-     *         assets (Optional): [
-     *             String (Optional)
-     *         ]
-     *         defaults (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     * }
-     * }
-     * 
+ * Searches Tile Format * - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     searchid: String (Required)
-     *     links (Optional): [
-     *          (Optional){
-     *             rel: String (Optional)
-     *             title: String (Optional)
-     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
-     *             href: String (Optional, Required on create)
-     *             hreflang: String (Optional)
-     *             length: Integer (Optional)
-     *             method: String(GET/POST) (Optional)
-     *             headers (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             body (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *             merge: Boolean (Optional)
-     *         }
-     *     ]
-     * }
+     * Create a map tile for a mosaic search with specified format.
+     * 

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
      * }
      * 
* - * @param registerMosaicsSearchRequest The registerMosaicsSearchRequest parameter. + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from a successful mosaic registration with search ID and related links along with - * {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> registerMosaicsSearchWithResponseAsync(BinaryData registerMosaicsSearchRequest, - RequestOptions requestOptions) { - final String contentType = "application/json"; - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.registerMosaicsSearch(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), contentType, accept, registerMosaicsSearchRequest, - requestOptions, context)); + public Mono> getSearchTileNoTmsByFormatWithResponseAsync(String searchId, double z, double x, + double y, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getSearchTileNoTmsByFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, z, x, y, format, accept, requestOptions, context)); } /** - * Register Search - * - * Register a Search query. - *

Request Body Schema

- * - *
-     * {@code
-     * {
-     *     collections (Optional): [
-     *         String (Optional)
-     *     ]
-     *     ids (Optional): [
-     *         String (Optional)
-     *     ]
-     *     bbox (Optional): [
-     *         double (Optional)
-     *     ]
-     *     intersects (Optional): {
-     *         type: String(Point/LineString/Polygon/MultiPoint/MultiLineString/MultiPolygon) (Required)
-     *         bbox (Optional): [
-     *             double (Optional)
-     *         ]
-     *     }
-     *     query (Optional): {
-     *         String: Object (Required)
-     *     }
-     *     filter (Optional): {
-     *         String: Object (Required)
-     *     }
-     *     datetime: String (Optional)
-     *     sortby (Optional): [
-     *          (Optional){
-     *             field: String (Required)
-     *             direction: String(asc/desc) (Required)
-     *         }
-     *     ]
-     *     filter-lang: String(cql-json/cql2-json/cql2-text) (Optional)
-     *     metadata (Optional): {
-     *         type: String(mosaic/search) (Optional)
-     *         bounds: String (Optional)
-     *         minzoom: Integer (Optional)
-     *         maxzoom: Integer (Optional)
-     *         name: String (Optional)
-     *         assets (Optional): [
-     *             String (Optional)
-     *         ]
-     *         defaults (Optional): {
-     *             String: String (Required)
-     *         }
-     *     }
-     * }
-     * }
-     * 
+ * Searches Tile Format * + * Create a map tile for a mosaic search with specified format. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
scaleIntegerNoNumeric scale factor for the tile. Higher values produce larger + * tiles
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of + * `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: + * https://github.com/mapbox/rio-color)
collectionStringNoSTAC Collection ID
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set + * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", + * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", + * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", + * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", + * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", + * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", + * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", + * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", + * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", + * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", + * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", + * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", + * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", + * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", + * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", + * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", + * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", + * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", + * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", + * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", + * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", + * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", + * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", + * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", + * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *     searchid: String (Required)
-     *     links (Optional): [
-     *          (Optional){
-     *             rel: String (Optional)
-     *             title: String (Optional)
-     *             type: String(image/tiff; application=geotiff/image/jp2/image/png/image/jpeg/image/jpg/image/webp/application/x-binary/application/xml/application/json/application/geo+json/text/html/text/plain/application/x-protobuf) (Optional)
-     *             href: String (Optional, Required on create)
-     *             hreflang: String (Optional)
-     *             length: Integer (Optional)
-     *             method: String(GET/POST) (Optional)
-     *             headers (Optional): {
-     *                 String: String (Required)
-     *             }
-     *             body (Optional): {
-     *                 String: Object (Required)
-     *             }
-     *             merge: Boolean (Optional)
-     *         }
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* - * @param registerMosaicsSearchRequest The registerMosaicsSearchRequest parameter. + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response from a successful mosaic registration with search ID and related links along with - * {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response registerMosaicsSearchWithResponse(BinaryData registerMosaicsSearchRequest, - RequestOptions requestOptions) { - final String contentType = "application/json"; - final String accept = "application/json"; - return service.registerMosaicsSearchSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), contentType, accept, registerMosaicsSearchRequest, - requestOptions, Context.NONE); + public Response getSearchTileNoTmsByFormatWithResponse(String searchId, double z, double x, double y, + String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getSearchTileNoTmsByFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, z, x, y, format, accept, requestOptions, + Context.NONE); } /** - * TileJson Tilematrixsetid As Path + * Searches Tile Scale * - * Return TileJSON document for a searchId. + * Create a map tile for a mosaic search with specified scale. *

Query Parameters

* * * + * * * - * + * * - * + * * - * + * + * * + * to 100). * + * 5). * + * to True). * + * to True). + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * - * - * - * - * + * + * @@ -5333,7 +21744,7 @@ public Response registerMosaicsSearchWithResponse(BinaryData registe * * + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count". * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the * previous items (defaults - * to True in PgSTAC).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
tile_formatStringNoDefault will be automatically defined if the output image - * needs a mask (png) or - * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
bufferStringNoBuffer on each side of the given tile. It must be a multiple of + *
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of * `0.5`. Output * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, * 1.0 = 258x258).
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", - * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -5361,103 +21772,117 @@ public Response registerMosaicsSearchWithResponse(BinaryData registe * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *     tilejson: String (Optional)
-     *     name: String (Optional)
-     *     description: String (Optional)
-     *     version: String (Optional)
-     *     attribution: String (Optional)
-     *     template: String (Optional)
-     *     legend: String (Optional)
-     *     scheme: String(xyz/tms) (Optional)
-     *     tiles (Required): [
-     *         String (Required)
-     *     ]
-     *     grids (Optional): [
-     *         String (Optional)
-     *     ]
-     *     data (Optional): [
-     *         String (Optional)
-     *     ]
-     *     minzoom: Integer (Optional)
-     *     maxzoom: Integer (Optional)
-     *     bounds (Optional): [
-     *         double (Optional)
-     *     ]
-     *     center (Optional): [
-     *         double (Optional)
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return tileJSON metadata describing a tile set according to the TileJSON specification - * - * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response} on successful - * completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsTileJsonWithResponseAsync(String searchId, String tileMatrixSetId, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getMosaicsTileJson(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, accept, requestOptions, context)); + public Mono> getSearchTileNoTmsByScaleWithResponseAsync(String searchId, double z, double x, + double y, double scale, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return FluxUtil.withContext(context -> service.getSearchTileNoTmsByScale(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, z, x, y, scale, accept, requestOptions, context)); } /** - * TileJson Tilematrixsetid As Path + * Searches Tile Scale * - * Return TileJSON document for a searchId. + * Create a map tile for a mosaic search with specified scale. *

Query Parameters

* * * + * * * - * + * * - * + * * - * + * + * * + * to 100). * + * 5). * + * to True). * - * - * - * - * - * - * - * + * + * + * + * + * + * + * + * + * + * + * @@ -5467,7 +21892,7 @@ public Mono> getMosaicsTileJsonWithResponseAsync(String sea * * + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count". * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the - * previous items (defaults - * to True in PgSTAC).
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
tile_formatStringNoDefault will be automatically defined if the output image - * needs a mask (png) or - * not (jpeg). Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
bufferStringNoBuffer on each side of the given tile. It must be a multiple of + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var".
algorithm_paramsStringNoTerrain algorithm parameters
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
formatStringNoOutput format for the tile or image (e.g., png, jpeg, webp). + * Allowed values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of * `0.5`. Output * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, * 1.0 = 258x258).
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", - * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -5495,95 +21920,116 @@ public Mono> getMosaicsTileJsonWithResponseAsync(String sea * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * {
-     *     tilejson: String (Optional)
-     *     name: String (Optional)
-     *     description: String (Optional)
-     *     version: String (Optional)
-     *     attribution: String (Optional)
-     *     template: String (Optional)
-     *     legend: String (Optional)
-     *     scheme: String(xyz/tms) (Optional)
-     *     tiles (Required): [
-     *         String (Required)
-     *     ]
-     *     grids (Optional): [
-     *         String (Optional)
-     *     ]
-     *     data (Optional): [
-     *         String (Optional)
-     *     ]
-     *     minzoom: Integer (Optional)
-     *     maxzoom: Integer (Optional)
-     *     bounds (Optional): [
-     *         double (Optional)
-     *     ]
-     *     center (Optional): [
-     *         double (Optional)
-     *     ]
-     * }
+     * BinaryData
      * }
      * 
* * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return tileJSON metadata describing a tile set according to the TileJSON specification - * - * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsTileJsonWithResponse(String searchId, String tileMatrixSetId, - RequestOptions requestOptions) { - final String accept = "application/json"; - return service.getMosaicsTileJsonSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - searchId, tileMatrixSetId, accept, requestOptions, Context.NONE); + public Response getSearchTileNoTmsByScaleWithResponse(String searchId, double z, double x, double y, + double scale, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getSearchTileNoTmsByScaleSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, z, x, y, scale, accept, requestOptions, + Context.NONE); } /** - * Tile Tilematrixsetid As Path + * Searches Tile * - * Create map tile. + * Create a map tile for a mosaic search with specified scale and format. *

Query Parameters

* * * + * * * - * + * * - * + * * - * + * + * * + * to 100). * + * 5). * + * to True). * + * to True). + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * + * @@ -5593,7 +22039,7 @@ public Response getMosaicsTileJsonWithResponse(String searchId, Stri * * + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count". * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the * previous items (defaults - * to True in PgSTAC).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
bufferStringNoBuffer on each side of the given tile. It must be a multiple of + *
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of * `0.5`. Output * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, * 1.0 = 258x258).
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", - * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -5621,9 +22067,15 @@ public Response getMosaicsTileJsonWithResponse(String searchId, Stri * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -5635,7 +22087,6 @@ public Response getMosaicsTileJsonWithResponse(String searchId, Stri *
* * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and * representing the scaleDenominator the tile. * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the @@ -5652,46 +22103,81 @@ public Response getMosaicsTileJsonWithResponse(String searchId, Stri * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsTileWithResponseAsync(String searchId, String tileMatrixSetId, double z, + public Mono> getSearchTileNoTmsByScaleAndFormatWithResponseAsync(String searchId, double z, double x, double y, double scale, String format, RequestOptions requestOptions) { final String accept = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return FluxUtil.withContext( - context -> service.getMosaicsTile(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - searchId, tileMatrixSetId, z, x, y, scale, format, accept, requestOptions, context)); + return FluxUtil.withContext(context -> service.getSearchTileNoTmsByScaleAndFormat(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, z, x, y, scale, format, accept, requestOptions, + context)); } /** - * Tile Tilematrixsetid As Path + * Searches Tile * - * Create map tile. + * Create a map tile for a mosaic search with specified scale and format. *

Query Parameters

* * * + * * * - * + * * - * + * * - * + * + * * + * to 100). * + * 5). * + * to True). * + * to True). + * + * + * + * + * + * * + * "contours", "normalizedIndex", "terrarium", "terrainrgb", "slope", "cast", "ceil", "floor", "min", "max", + * "median", "mean", "std", "var". * - * + * @@ -5701,7 +22187,7 @@ public Mono> getMosaicsTileWithResponseAsync(String searchI * * + * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh", "count". * * + * "ylorrd_r", "algae", "algae_r", "amp", "amp_r", "balance", "balance_r", "curl", "curl_r", "deep", "deep_r", + * "delta", "delta_r", "dense", "dense_r", "diff", "diff_r", "haline", "haline_r", "ice", "ice_r", "matter", + * "matter_r", "oxy", "oxy_r", "phase", "phase_r", "rain", "rain_r", "solar", "solar_r", "speed", "speed_r", "tarn", + * "tarn_r", "tempo", "tempo_r", "thermal", "thermal_r", "topo", "topo_r", "turbid", "turbid_r", "turbo", + * "turbo_r". * * + * + *
Query Parameters
NameTypeRequiredDescription
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
scan_limitIntegerNoReturn as soon as we scan N items (defaults to 10000 in - * PgSTAC).
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults - * to 100 in PgSTAC).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to - * 5 in PgSTAC).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults - * to True in PgSTAC).
skipcoveredBooleanNoSkip any items that would show up completely under the * previous items (defaults - * to True in PgSTAC).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
bufferStringNoBuffer on each side of the given tile. It must be a multiple of + *
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
bufferDoubleNoBuffer on each side of the given tile. It must be a multiple of * `0.5`. Output * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, * 1.0 = 258x258).
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
pixel_selectionStringNoPixel selection method. Allowed values: "first", - * "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhigh".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", @@ -5729,223 +22215,641 @@ public Mono> getMosaicsTileWithResponseAsync(String searchI * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
paddingIntegerNoPadding to apply to each tile edge. Helps reduce resampling + * artefacts along edges. Defaults to `0`.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * BinaryData
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. + * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchTileNoTmsByScaleAndFormatWithResponse(String searchId, double z, double x, + double y, double scale, String format, RequestOptions requestOptions) { + final String accept + = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; + return service.getSearchTileNoTmsByScaleAndFormatSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, z, x, y, scale, format, accept, requestOptions, + Context.NONE); + } + + /** + * Searches Assets For Tile + * + * Return a list of assets which overlap a given tile for a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchAssetsForTileNoTmsWithResponseAsync(String searchId, double z, double x, + double y, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getSearchAssetsForTileNoTms(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, z, x, y, accept, requestOptions, context)); + } + + /** + * Searches Assets For Tile + * + * Return a list of assets which overlap a given tile for a mosaic search. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
TileMatrixSetIdStringNoIdentifier selecting one of the TileMatrixSetId + * supported (default: 'WebMercatorQuad'). Allowed values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", + * "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", + * "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * [
+     *     BinaryData (Required)
+     * ]
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and + * representing the scaleDenominator the tile. + * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixHeight-1 for the selected TileMatrix. + * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the + * MatrixWidth-1 for the selected TileMatrix. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getSearchAssetsForTileNoTmsWithResponse(String searchId, double z, double x, double y, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getSearchAssetsForTileNoTmsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, z, x, y, accept, requestOptions, Context.NONE); + } + + /** + * Searches Point + * + * Get Point value for a search dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
+ * You can add these to a request with {@link RequestOptions#addQueryParam} + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
+     * }
+     * }
+     * 
+ * + * @param searchId Search Id (pgSTAC Search Hash). + * @param longitude Longitude. + * @param latitude Latitude. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return response model for point query operations providing values at a specific location along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getSearchPointWithResponseAsync(String searchId, double longitude, + double latitude, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext( + context -> service.getSearchPoint(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, longitude, latitude, accept, requestOptions, context)); + } + + /** + * Searches Point + * + * Get Point value for a search dataset. + *

Query Parameters

+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
bidxList<Integer>NoDataset band indexes. Call + * {@link RequestOptions#addQueryParam} to add string to array.
assetsList<String>NoAsset's names. Call + * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxList<String>NoPer asset band indexes (coma separated indexes, + * e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image"). In the form of "," separated + * string.
asset_as_bandBooleanNoAsset as Band
nodataStringNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
reprojectStringNoWarpKernel resampling algorithm (only used when doing + * re-projection). Defaults to `nearest`. Allowed values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", + * "average", "mode", "max", "min", "med", "q1", "q3", "sum", "rms".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", + * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * BinaryData
+     * {
+     *     coordinates (Required): [
+     *         double (Required)
+     *     ]
+     *     values (Required): [
+     *         double (Required)
+     *     ]
+     *     band_names (Required): [
+     *         String (Required)
+     *     ]
+     * }
      * }
      * 
* * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. - * @param z Identifier (Z) selecting one of the scales defined in the TileMatrixSet and - * representing the scaleDenominator the tile. - * @param x Column (X) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixHeight-1 for the selected TileMatrix. - * @param y Row (Y) index of the tile on the selected TileMatrix. It cannot exceed the - * MatrixWidth-1 for the selected TileMatrix. - * @param scale Numeric scale factor for the tile. Higher values produce larger tiles. - * @param format Output format for the tile or image (e.g., png, jpeg, webp). + * @param longitude Longitude. + * @param latitude Latitude. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response body along with {@link Response}. + * @return response model for point query operations providing values at a specific location along with + * {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsTileWithResponse(String searchId, String tileMatrixSetId, double z, double x, - double y, double scale, String format, RequestOptions requestOptions) { - final String accept - = "image/png, image/jpeg, image/jpg, image/webp, image/jp2, image/tiff; application=geotiff, application/x-binary"; - return service.getMosaicsTileSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), - searchId, tileMatrixSetId, z, x, y, scale, format, accept, requestOptions, Context.NONE); + public Response getSearchPointWithResponse(String searchId, double longitude, double latitude, + RequestOptions requestOptions) { + final String accept = "application/json"; + return service.getSearchPointSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + searchId, longitude, latitude, accept, requestOptions, Context.NONE); } /** - * Wmts Tilematrixsetid As Path + * Searches Point Assets * - * OGC WMTS endpoint. + * Return a list of assets for a given point in a search. *

Query Parameters

* * * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * + * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", - * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: - * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set - * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", - * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", - * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", - * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", - * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", - * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", - * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", - * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", - * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", - * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", - * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", - * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", - * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", - * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", - * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", - * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", - * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", - * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", - * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", - * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", - * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", - * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", - * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", - * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", - * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * byte[]
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *         collection: String (Required)
+     *     }
+     * ]
      * }
      * 
* * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param longitude Longitude. + * @param latitude Latitude. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represent a byte array along with {@link Response} on successful completion of {@link Mono}. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getMosaicsWmtsCapabilitiesWithResponseAsync(String searchId, - String tileMatrixSetId, RequestOptions requestOptions) { - final String accept = "application/xml"; - return FluxUtil.withContext(context -> service.getMosaicsWmtsCapabilities(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, accept, requestOptions, context)); + public Mono> getSearchPointWithAssetsWithResponseAsync(String searchId, double longitude, + double latitude, RequestOptions requestOptions) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.getSearchPointWithAssets(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, longitude, latitude, accept, requestOptions, + context)); } /** - * Wmts Tilematrixsetid As Path + * Searches Point Assets * - * OGC WMTS endpoint. + * Return a list of assets for a given point in a search. *

Query Parameters

* * * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * + * + * + * + * + * + * + * + * + * + * + * + * *
Query Parameters
NameTypeRequiredDescription
assetsList<String>NoAsset's names. Call - * {@link RequestOptions#addQueryParam} to add string to array.
expressionStringNoBand math expression between assets
asset_bidxStringNoPer asset band indexes (coma separated indexes, e.g. - * "image|1,2,3" means use the bands 1, 2, and 3 from the asset named "image")
asset_as_bandBooleanNoAsset as Band
nodataDoubleNoOverwrite internal Nodata value
unscaleBooleanNoApply internal Scale or Offset
algorithmStringNoTerrain algorithm name. Allowed values: "hillshade", - * "contours", "normalizedIndex", "terrarium", "terrainrgb".
algorithm_paramsStringNoTerrain algorithm parameters
tile_formatStringNoOutput image type. Default is png. Allowed values: "png", - * "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw".
tile_scaleIntegerNoTile scale factor affecting output size. Values > 1 - * produce larger tiles (e.g., 1=256x256, 2=512x512).
minzoomIntegerNoOverwrite default minzoom.
maxzoomIntegerNoOverwrite default maxzoom.
bufferStringNoBuffer on each side of the given tile. It must be a multiple of - * `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258).
color_formulaStringNorio-color formula (info: - * https://github.com/mapbox/rio-color)
resamplingStringNoResampling method. Allowed values: "nearest", "bilinear", - * "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms".
rescaleList<String>Nocomma (',') delimited Min,Max range. Can set - * multiple time for multiple bands. Call {@link RequestOptions#addQueryParam} to add string to array.
colormap_nameStringNoColormap name. Allowed values: "accent", "accent_r", - * "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", - * "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", - * "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", - * "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", - * "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", - * "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", - * "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", - * "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", - * "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", - * "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", - * "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", - * "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", - * "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", - * "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", - * "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", - * "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", - * "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", - * "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", - * "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", - * "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", - * "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", - * "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", - * "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", - * "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", - * "ylorrd_r".
colormapStringNoJSON encoded custom Colormap
return_maskBooleanNoAdd mask to the output data.
scan_limitIntegerNoReturn as soon as we scan N items (defaults to + * 10000).
items_limitIntegerNoReturn as soon as we have N items per geometry (defaults + * to 100).
time_limitIntegerNoReturn after N seconds to avoid long requests (defaults to + * 5).
exitwhenfullBooleanNoReturn as soon as the geometry is fully covered (defaults + * to True).
skipcoveredBooleanNoSkip any items that would show up completely under the + * previous items (defaults + * to True).
subdataset_nameStringNoThe name of a subdataset within the asset.
subdataset_bandsList<Integer>NoThe index of a subdataset band within the + * asset. In the form of "," separated string.
crsStringNoCoordinate Reference System.
datetimeStringNoEither a date-time or an interval, open or closed. Date and + * time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties.
selList<String>NoXarray Indexing using dimension names + * `{dimension}={value}`. Call {@link RequestOptions#addQueryParam} to add string to array.
sel_methodStringNoXarray indexing method to use for inexact matches. Allowed + * values: "nearest", "linear", "bilinear", "cubic", "cubic_spline", "lanczos", "area", "mode".
coord_crsStringNoCoordinate Reference System of the input coords. Default to + * `epsg:4326`.
* You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
      * {@code
-     * byte[]
+     * [
+     *      (Required){
+     *         id: String (Required)
+     *         bbox (Required): [
+     *             double (Required)
+     *         ]
+     *         assets (Required): {
+     *             String (Required): {
+     *                 platform: String (Optional)
+     *                 instruments (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                 constellation: String (Optional)
+     *                 mission: String (Optional)
+     *                 providers (Optional): [
+     *                      (Optional){
+     *                         name: String (Optional, Required on create)
+     *                         description: String (Optional)
+     *                         roles (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         url: String (Optional)
+     *                     }
+     *                 ]
+     *                 gsd: Double (Optional)
+     *                 created: OffsetDateTime (Optional)
+     *                 updated: OffsetDateTime (Optional)
+     *                 title: String (Optional)
+     *                 description: String (Optional)
+     *                 href: String (Optional, Required on create)
+     *                 type: String (Optional)
+     *                 roles (Optional): [
+     *                     String (Optional)
+     *                 ]
+     *                  (Optional): {
+     *                     String: BinaryData (Required)
+     *                 }
+     *             }
+     *         }
+     *         collection: String (Required)
+     *     }
+     * ]
      * }
      * 
* * @param searchId Search Id (pgSTAC Search Hash). - * @param tileMatrixSetId Identifier selecting one of the TileMatrixSetId supported. + * @param longitude Longitude. + * @param latitude Latitude. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return represent a byte array along with {@link Response}. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMosaicsWmtsCapabilitiesWithResponse(String searchId, String tileMatrixSetId, + public Response getSearchPointWithAssetsWithResponse(String searchId, double longitude, double latitude, RequestOptions requestOptions) { - final String accept = "application/xml"; - return service.getMosaicsWmtsCapabilitiesSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), searchId, tileMatrixSetId, accept, requestOptions, + final String accept = "application/json"; + return service.getSearchPointWithAssetsSync(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), searchId, longitude, latitude, accept, requestOptions, Context.NONE); } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/IngestionsImpl.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/IngestionsImpl.java index 1dc288d947f0..cdd33f10b5e9 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/IngestionsImpl.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/IngestionsImpl.java @@ -603,7 +603,8 @@ public Response cancelOperationWithResponse(String operationId, RequestOpt } /** - * Cancel all running operations of a geo-catalog collection. + * Cancel all pending and running operations across the entire GeoCatalog instance. This is a catalog-wide operation + * and is not scoped to a specific collection. * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -619,7 +620,8 @@ public Mono> cancelAllOperationsWithResponseAsync(RequestOptions } /** - * Cancel all running operations of a geo-catalog collection. + * Cancel all pending and running operations across the entire GeoCatalog instance. This is a catalog-wide operation + * and is not scoped to a specific collection. * * @param requestOptions The options to configure the HTTP request before HTTP client sends it. * @throws HttpResponseException thrown if the request is rejected by server. @@ -1456,9 +1458,10 @@ public PagedIterable listRuns(String collectionId, String ingestionI * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -1473,9 +1476,10 @@ public PagedIterable listRuns(String collectionId, String ingestionI * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -1512,9 +1516,10 @@ public Mono> createWithResponseAsync(String collectionId, B * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -1529,9 +1534,10 @@ public Mono> createWithResponseAsync(String collectionId, B * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -1903,9 +1909,10 @@ public SyncPoller beginDelete(String collectionId, String inge * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -1939,9 +1946,10 @@ public Mono> getWithResponseAsync(String collectionId, Stri * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -1983,9 +1991,10 @@ public Response getWithResponse(String collectionId, String ingestio * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -2028,9 +2037,10 @@ private Mono> listSinglePageAsync(String collectionId, * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -2072,9 +2082,10 @@ public PagedFlux listAsync(String collectionId, RequestOptions reque * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -2116,9 +2127,10 @@ private PagedResponse listSinglePage(String collectionId, RequestOpt * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -2152,9 +2164,10 @@ public PagedIterable list(String collectionId, RequestOptions reques * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -2169,9 +2182,10 @@ public PagedIterable list(String collectionId, RequestOptions reques * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -2209,9 +2223,10 @@ public Mono> updateWithResponseAsync(String collectionId, S * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -2226,9 +2241,10 @@ public Mono> updateWithResponseAsync(String collectionId, S * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -3015,9 +3031,10 @@ private PagedResponse listRunsNextSinglePage(String nextLink, Reques * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) @@ -3052,9 +3069,10 @@ private Mono> listNextSinglePageAsync(String nextLink, * {@code * { * id: String (Required) - * importType: String(StaticCatalog) (Optional, Required on create) + * importType: String(StaticCatalog/StacGeoparquet) (Optional, Required on create) * displayName: String (Optional) * sourceCatalogUrl: String (Optional) + * stacGeoparquetUrl: String (Optional) * skipExistingItems: Boolean (Optional) * keepOriginalAssets: Boolean (Optional) * creationTime: OffsetDateTime (Required) diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/PlanetaryComputerProClientImpl.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/PlanetaryComputerProClientImpl.java index 1f5627bba818..ea4f7ef07b36 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/PlanetaryComputerProClientImpl.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/PlanetaryComputerProClientImpl.java @@ -17,12 +17,12 @@ */ public final class PlanetaryComputerProClientImpl { /** - * Service host. + * GeoCatalog endpoint, e.g. https://contoso-catalog.gwhqfdeddydpareu.uksouth.geocatalog.spatio.azure.com. */ private final String endpoint; /** - * Gets Service host. + * Gets GeoCatalog endpoint, e.g. https://contoso-catalog.gwhqfdeddydpareu.uksouth.geocatalog.spatio.azure.com. * * @return the endpoint value. */ @@ -131,7 +131,8 @@ public SharedAccessSignaturesImpl getSharedAccessSignatures() { /** * Initializes an instance of PlanetaryComputerProClient client. * - * @param endpoint Service host. + * @param endpoint GeoCatalog endpoint, e.g. + * https://contoso-catalog.gwhqfdeddydpareu.uksouth.geocatalog.spatio.azure.com. * @param serviceVersion Service version. */ public PlanetaryComputerProClientImpl(String endpoint, PlanetaryComputerServiceVersion serviceVersion) { @@ -143,7 +144,8 @@ public PlanetaryComputerProClientImpl(String endpoint, PlanetaryComputerServiceV * Initializes an instance of PlanetaryComputerProClient client. * * @param httpPipeline The HTTP pipeline to send requests through. - * @param endpoint Service host. + * @param endpoint GeoCatalog endpoint, e.g. + * https://contoso-catalog.gwhqfdeddydpareu.uksouth.geocatalog.spatio.azure.com. * @param serviceVersion Service version. */ public PlanetaryComputerProClientImpl(HttpPipeline httpPipeline, String endpoint, @@ -156,7 +158,8 @@ public PlanetaryComputerProClientImpl(HttpPipeline httpPipeline, String endpoint * * @param httpPipeline The HTTP pipeline to send requests through. * @param serializerAdapter The serializer to serialize an object into a string. - * @param endpoint Service host. + * @param endpoint GeoCatalog endpoint, e.g. + * https://contoso-catalog.gwhqfdeddydpareu.uksouth.geocatalog.spatio.azure.com. * @param serviceVersion Service version. */ public PlanetaryComputerProClientImpl(HttpPipeline httpPipeline, SerializerAdapter serializerAdapter, diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/SharedAccessSignaturesImpl.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/SharedAccessSignaturesImpl.java index 1926febb1e4a..63d31006ce91 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/SharedAccessSignaturesImpl.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/SharedAccessSignaturesImpl.java @@ -76,7 +76,7 @@ public interface SharedAccessSignaturesService { @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getSign(@HostParam("endpoint") String endpoint, + Mono> getUrl(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @QueryParam(value = "href", encoded = true) String href, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -86,7 +86,7 @@ Mono> getSign(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getSignSync(@HostParam("endpoint") String endpoint, + Response getUrlSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @QueryParam(value = "href", encoded = true) String href, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -166,9 +166,9 @@ Response revokeTokenSync(@HostParam("endpoint") String endpoint, * @return unsignedLink along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getSignWithResponseAsync(String href, RequestOptions requestOptions) { + public Mono> getUrlWithResponseAsync(String href, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.getSign(this.client.getEndpoint(), + return FluxUtil.withContext(context -> service.getUrl(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), href, accept, requestOptions, context)); } @@ -209,10 +209,10 @@ public Mono> getSignWithResponseAsync(String href, RequestO * @return unsignedLink along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSignWithResponse(String href, RequestOptions requestOptions) { + public Response getUrlWithResponse(String href, RequestOptions requestOptions) { final String accept = "application/json"; - return service.getSignSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), href, - accept, requestOptions, Context.NONE); + return service.getUrlSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), href, accept, + requestOptions, Context.NONE); } /** diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/StacsImpl.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/StacsImpl.java index 67c1e40927f5..22e2b268b20b 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/StacsImpl.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/StacsImpl.java @@ -267,7 +267,7 @@ Response getMosaicSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listMosaics(@HostParam("endpoint") String endpoint, + Mono> getMosaics(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -277,7 +277,7 @@ Mono> listMosaics(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listMosaicsSync(@HostParam("endpoint") String endpoint, + Response getMosaicsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -309,7 +309,7 @@ Response createCollectionSync(@HostParam("endpoint") String endpoint @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> createOrReplaceCollection(@HostParam("endpoint") String endpoint, + Mono> replaceCollection(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); @@ -320,7 +320,7 @@ Mono> createOrReplaceCollection(@HostParam("endpoint") Stri @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response createOrReplaceCollectionSync(@HostParam("endpoint") String endpoint, + Response replaceCollectionSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, RequestOptions requestOptions, Context context); @@ -521,7 +521,7 @@ Response getRenderOptionSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listRenderOptions(@HostParam("endpoint") String endpoint, + Mono> getRenderOptions(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -531,7 +531,7 @@ Mono> listRenderOptions(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listRenderOptionsSync(@HostParam("endpoint") String endpoint, + Response getRenderOptionsSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -603,7 +603,7 @@ Response replaceTileSettingsSync(@HostParam("endpoint") String endpo @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> getConformanceClass(@HostParam("endpoint") String endpoint, + Mono> getConformanceClasses(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -613,7 +613,7 @@ Mono> getConformanceClass(@HostParam("endpoint") String end @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response getConformanceClassSync(@HostParam("endpoint") String endpoint, + Response getConformanceClassesSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -665,7 +665,7 @@ Response createItemSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> createOrReplaceItem(@HostParam("endpoint") String endpoint, + Mono> replaceItem(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @PathParam("itemId") String itemId, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, @@ -677,7 +677,7 @@ Mono> createOrReplaceItem(@HostParam("endpoint") String end @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response createOrReplaceItemSync(@HostParam("endpoint") String endpoint, + Response replaceItemSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @PathParam("collectionId") String collectionId, @PathParam("itemId") String itemId, @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept, @BodyParam("application/json") BinaryData body, @@ -843,7 +843,7 @@ Response deleteQueryableSync(@HostParam("endpoint") String endpoint, @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listQueryables(@HostParam("endpoint") String endpoint, + Mono> getQueryables(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -853,7 +853,7 @@ Mono> listQueryables(@HostParam("endpoint") String endpoint @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listQueryablesSync(@HostParam("endpoint") String endpoint, + Response getQueryablesSync(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); @@ -932,7 +932,7 @@ Response searchSync(@HostParam("endpoint") String endpoint, * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -968,7 +968,7 @@ Response searchSync(@HostParam("endpoint") String endpoint, * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -994,7 +994,7 @@ Response searchSync(@HostParam("endpoint") String endpoint, * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1022,10 +1022,10 @@ Response searchSync(@HostParam("endpoint") String endpoint, * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1084,7 +1084,7 @@ public Mono> createCollectionAssetWithResponseAsync(String * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -1120,7 +1120,7 @@ public Mono> createCollectionAssetWithResponseAsync(String * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1146,7 +1146,7 @@ public Mono> createCollectionAssetWithResponseAsync(String * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1174,10 +1174,10 @@ public Mono> createCollectionAssetWithResponseAsync(String * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1235,7 +1235,7 @@ public Response createCollectionAssetWithResponse(String collectionI * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -1271,7 +1271,7 @@ public Response createCollectionAssetWithResponse(String collectionI * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1297,7 +1297,7 @@ public Response createCollectionAssetWithResponse(String collectionI * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1325,10 +1325,10 @@ public Response createCollectionAssetWithResponse(String collectionI * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1387,7 +1387,7 @@ public Mono> replaceCollectionAssetWithResponseAsync(String * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -1423,7 +1423,7 @@ public Mono> replaceCollectionAssetWithResponseAsync(String * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1449,7 +1449,7 @@ public Mono> replaceCollectionAssetWithResponseAsync(String * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1477,10 +1477,10 @@ public Mono> replaceCollectionAssetWithResponseAsync(String * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1539,7 +1539,7 @@ public Response replaceCollectionAssetWithResponse(String collection * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -1575,7 +1575,7 @@ public Response replaceCollectionAssetWithResponse(String collection * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1601,7 +1601,7 @@ public Response replaceCollectionAssetWithResponse(String collection * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1629,10 +1629,10 @@ public Response replaceCollectionAssetWithResponse(String collection * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1688,7 +1688,7 @@ public Mono> deleteCollectionAssetWithResponseAsync(String * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -1724,7 +1724,7 @@ public Mono> deleteCollectionAssetWithResponseAsync(String * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1750,7 +1750,7 @@ public Mono> deleteCollectionAssetWithResponseAsync(String * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1778,10 +1778,10 @@ public Mono> deleteCollectionAssetWithResponseAsync(String * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1833,7 +1833,7 @@ public Response deleteCollectionAssetWithResponse(String collectionI * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -1875,7 +1875,7 @@ public Response deleteCollectionAssetWithResponse(String collectionI * ] * defaultLocation (Optional): (recursive schema, see defaultLocation above) * defaultCustomQuery (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -1928,7 +1928,7 @@ public Mono> getCollectionConfigurationWithResponseAsync(St * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -1970,7 +1970,7 @@ public Mono> getCollectionConfigurationWithResponseAsync(St * ] * defaultLocation (Optional): (recursive schema, see defaultLocation above) * defaultCustomQuery (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -2009,7 +2009,7 @@ public Response getCollectionConfigurationWithResponse(String collec * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2026,7 +2026,7 @@ public Response getCollectionConfigurationWithResponse(String collec * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2067,7 +2067,7 @@ public Mono> addMosaicWithResponseAsync(String collectionId * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2084,7 +2084,7 @@ public Mono> addMosaicWithResponseAsync(String collectionId * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2123,7 +2123,7 @@ public Response addMosaicWithResponse(String collectionId, BinaryDat * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2140,7 +2140,7 @@ public Response addMosaicWithResponse(String collectionId, BinaryDat * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2182,7 +2182,7 @@ public Mono> replaceMosaicWithResponseAsync(String collecti * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2199,7 +2199,7 @@ public Mono> replaceMosaicWithResponseAsync(String collecti * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2281,7 +2281,7 @@ public Response deleteMosaicWithResponse(String collectionId, String mosai * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2322,7 +2322,7 @@ public Mono> getMosaicWithResponseAsync(String collectionId * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2363,7 +2363,7 @@ public Response getMosaicWithResponse(String collectionId, String mo * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2383,9 +2383,9 @@ public Response getMosaicWithResponse(String collectionId, String mo * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listMosaicsWithResponseAsync(String collectionId, RequestOptions requestOptions) { + public Mono> getMosaicsWithResponseAsync(String collectionId, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listMosaics(this.client.getEndpoint(), + return FluxUtil.withContext(context -> service.getMosaics(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), collectionId, accept, requestOptions, context)); } @@ -2404,7 +2404,7 @@ public Mono> listMosaicsWithResponseAsync(String collection * description: String (Optional) * cql (Required): [ * (Required){ - * String: Object (Required) + * String: BinaryData (Required) * } * ] * } @@ -2423,9 +2423,9 @@ public Mono> listMosaicsWithResponseAsync(String collection * Get the mosaic definitions for a given collection along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listMosaicsWithResponse(String collectionId, RequestOptions requestOptions) { + public Response getMosaicsWithResponse(String collectionId, RequestOptions requestOptions) { final String accept = "application/json"; - return service.listMosaicsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + return service.getMosaicsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), collectionId, accept, requestOptions, Context.NONE); } @@ -2460,7 +2460,7 @@ public Response listMosaicsWithResponse(String collectionId, Request * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -2496,7 +2496,7 @@ public Response listMosaicsWithResponse(String collectionId, Request * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -2522,7 +2522,7 @@ public Response listMosaicsWithResponse(String collectionId, Request * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -2550,10 +2550,10 @@ public Response listMosaicsWithResponse(String collectionId, Request * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -2640,7 +2640,7 @@ private Mono> createCollectionWithResponseAsync(BinaryData * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -2676,7 +2676,7 @@ private Mono> createCollectionWithResponseAsync(BinaryData * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -2702,7 +2702,7 @@ private Mono> createCollectionWithResponseAsync(BinaryData * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -2730,10 +2730,10 @@ private Mono> createCollectionWithResponseAsync(BinaryData * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -2818,7 +2818,7 @@ private Response createCollectionWithResponse(BinaryData body, Reque * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -2854,7 +2854,7 @@ private Response createCollectionWithResponse(BinaryData body, Reque * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -2880,7 +2880,7 @@ private Response createCollectionWithResponse(BinaryData body, Reque * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -2908,10 +2908,10 @@ private Response createCollectionWithResponse(BinaryData body, Reque * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3002,7 +3002,7 @@ public PollerFlux beginCreateCollectionWithModelAsync(BinaryDat * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -3038,7 +3038,7 @@ public PollerFlux beginCreateCollectionWithModelAsync(BinaryDat * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3064,7 +3064,7 @@ public PollerFlux beginCreateCollectionWithModelAsync(BinaryDat * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3092,10 +3092,10 @@ public PollerFlux beginCreateCollectionWithModelAsync(BinaryDat * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3185,7 +3185,7 @@ public SyncPoller beginCreateCollectionWithModel(BinaryData bod * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -3221,7 +3221,7 @@ public SyncPoller beginCreateCollectionWithModel(BinaryData bod * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3247,7 +3247,7 @@ public SyncPoller beginCreateCollectionWithModel(BinaryData bod * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3275,10 +3275,10 @@ public SyncPoller beginCreateCollectionWithModel(BinaryData bod * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3369,7 +3369,7 @@ public PollerFlux beginCreateCollectionAsync(BinaryData * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -3405,7 +3405,7 @@ public PollerFlux beginCreateCollectionAsync(BinaryData * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3431,7 +3431,7 @@ public PollerFlux beginCreateCollectionAsync(BinaryData * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3459,10 +3459,10 @@ public PollerFlux beginCreateCollectionAsync(BinaryData * (recursive schema, see above) * ] * summaries (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -3522,9 +3522,9 @@ public SyncPoller beginCreateCollection(BinaryData body, } /** - * Create or update Collection + * Replace Collection * - * Create or replace a collection in the GeoCatalog instance. + * Replace an existing collection in the GeoCatalog instance. *

Request Body Schema

* *
@@ -3552,7 +3552,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -3588,7 +3588,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -3614,7 +3614,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -3642,10 +3642,10 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -3678,7 +3678,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -3714,7 +3714,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -3740,7 +3740,7 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -3768,10 +3768,10 @@ public SyncPoller beginCreateCollection(BinaryData body,
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -3789,19 +3789,19 @@ public SyncPoller beginCreateCollection(BinaryData body,
      * Represents a STAC collection along with {@link Response} on successful completion of {@link Mono}.
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono> createOrReplaceCollectionWithResponseAsync(String collectionId, BinaryData body,
+    public Mono> replaceCollectionWithResponseAsync(String collectionId, BinaryData body,
         RequestOptions requestOptions) {
         final String contentType = "application/json";
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.createOrReplaceCollection(this.client.getEndpoint(),
+        return FluxUtil.withContext(context -> service.replaceCollection(this.client.getEndpoint(),
             this.client.getServiceVersion().getVersion(), collectionId, contentType, accept, body, requestOptions,
             context));
     }
 
     /**
-     * Create or update Collection
+     * Replace Collection
      * 
-     * Create or replace a collection in the GeoCatalog instance.
+     * Replace an existing collection in the GeoCatalog instance.
      * 

Request Body Schema

* *
@@ -3829,7 +3829,7 @@ public Mono> createOrReplaceCollectionWithResponseAsync(Str
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -3865,7 +3865,7 @@ public Mono> createOrReplaceCollectionWithResponseAsync(Str
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -3891,7 +3891,7 @@ public Mono> createOrReplaceCollectionWithResponseAsync(Str
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -3919,10 +3919,10 @@ public Mono> createOrReplaceCollectionWithResponseAsync(Str
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -3955,7 +3955,7 @@ public Mono> createOrReplaceCollectionWithResponseAsync(Str
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -3991,7 +3991,7 @@ public Mono> createOrReplaceCollectionWithResponseAsync(Str
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -4017,7 +4017,7 @@ public Mono> createOrReplaceCollectionWithResponseAsync(Str
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -4045,10 +4045,10 @@ public Mono> createOrReplaceCollectionWithResponseAsync(Str
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -4066,13 +4066,12 @@ public Mono> createOrReplaceCollectionWithResponseAsync(Str
      * Represents a STAC collection along with {@link Response}.
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Response createOrReplaceCollectionWithResponse(String collectionId, BinaryData body,
+    public Response replaceCollectionWithResponse(String collectionId, BinaryData body,
         RequestOptions requestOptions) {
         final String contentType = "application/json";
         final String accept = "application/json";
-        return service.createOrReplaceCollectionSync(this.client.getEndpoint(),
-            this.client.getServiceVersion().getVersion(), collectionId, contentType, accept, body, requestOptions,
-            Context.NONE);
+        return service.replaceCollectionSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(),
+            collectionId, contentType, accept, body, requestOptions, Context.NONE);
     }
 
     /**
@@ -4449,7 +4448,7 @@ public SyncPoller beginDeleteCollection(String collectionId, R
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -4485,7 +4484,7 @@ public SyncPoller beginDeleteCollection(String collectionId, R
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -4511,7 +4510,7 @@ public SyncPoller beginDeleteCollection(String collectionId, R
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -4539,10 +4538,10 @@ public SyncPoller beginDeleteCollection(String collectionId, R
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -4606,7 +4605,7 @@ public Mono> getCollectionWithResponseAsync(String collecti
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -4642,7 +4641,7 @@ public Mono> getCollectionWithResponseAsync(String collecti
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -4668,7 +4667,7 @@ public Mono> getCollectionWithResponseAsync(String collecti
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -4696,10 +4695,10 @@ public Mono> getCollectionWithResponseAsync(String collecti
      *         (recursive schema, see above)
      *     ]
      *     summaries (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      *      (Optional): {
-     *         String: Object (Required)
+     *         String: BinaryData (Required)
      *     }
      * }
      * }
@@ -4753,7 +4752,7 @@ public Response getCollectionWithResponse(String collectionId, Reque
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -4803,7 +4802,7 @@ public Response getCollectionWithResponse(String collectionId, Reque
      *                         String (Optional)
      *                     ]
      *                      (Optional): {
-     *                         String: Object (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 }
      *             }
@@ -4829,7 +4828,7 @@ public Response getCollectionWithResponse(String collectionId, Reque
      *                         String (Optional)
      *                     ]
      *                      (Optional): {
-     *                         String: Object (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 }
      *             }
@@ -4857,10 +4856,10 @@ public Response getCollectionWithResponse(String collectionId, Reque
      *                 (recursive schema, see above)
      *             ]
      *             summaries (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     ]
@@ -4916,7 +4915,7 @@ public Mono> getCollectionsWithResponseAsync(RequestOptions
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -4966,7 +4965,7 @@ public Mono> getCollectionsWithResponseAsync(RequestOptions
      *                         String (Optional)
      *                     ]
      *                      (Optional): {
-     *                         String: Object (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 }
      *             }
@@ -4992,7 +4991,7 @@ public Mono> getCollectionsWithResponseAsync(RequestOptions
      *                         String (Optional)
      *                     ]
      *                      (Optional): {
-     *                         String: Object (Required)
+     *                         String: BinaryData (Required)
      *                     }
      *                 }
      *             }
@@ -5020,10 +5019,10 @@ public Mono> getCollectionsWithResponseAsync(RequestOptions
      *                 (recursive schema, see above)
      *             ]
      *             summaries (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     ]
@@ -5826,10 +5825,10 @@ public Response getRenderOptionWithResponse(String collectionId, Str
      * {@link Mono}.
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono> listRenderOptionsWithResponseAsync(String collectionId,
+    public Mono> getRenderOptionsWithResponseAsync(String collectionId,
         RequestOptions requestOptions) {
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.listRenderOptions(this.client.getEndpoint(),
+        return FluxUtil.withContext(context -> service.getRenderOptions(this.client.getEndpoint(),
             this.client.getServiceVersion().getVersion(), collectionId, accept, requestOptions, context));
     }
 
@@ -5890,9 +5889,9 @@ public Mono> listRenderOptionsWithResponseAsync(String coll
      * Get all render options for a given collection along with {@link Response}.
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Response listRenderOptionsWithResponse(String collectionId, RequestOptions requestOptions) {
+    public Response getRenderOptionsWithResponse(String collectionId, RequestOptions requestOptions) {
         final String accept = "application/json";
-        return service.listRenderOptionsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(),
+        return service.getRenderOptionsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(),
             collectionId, accept, requestOptions, Context.NONE);
     }
 
@@ -6176,9 +6175,9 @@ public Response replaceTileSettingsWithResponse(String collectionId,
      * {@link Mono}.
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Mono> getConformanceClassWithResponseAsync(RequestOptions requestOptions) {
+    public Mono> getConformanceClassesWithResponseAsync(RequestOptions requestOptions) {
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.getConformanceClass(this.client.getEndpoint(),
+        return FluxUtil.withContext(context -> service.getConformanceClasses(this.client.getEndpoint(),
             this.client.getServiceVersion().getVersion(), accept, requestOptions, context));
     }
 
@@ -6208,10 +6207,10 @@ public Mono> getConformanceClassWithResponseAsync(RequestOp
      * Represents the OGC API conformance declaration along with {@link Response}.
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
-    public Response getConformanceClassWithResponse(RequestOptions requestOptions) {
+    public Response getConformanceClassesWithResponse(RequestOptions requestOptions) {
         final String accept = "application/json";
-        return service.getConformanceClassSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(),
-            accept, requestOptions, Context.NONE);
+        return service.getConformanceClassesSync(this.client.getEndpoint(),
+            this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE);
     }
 
     /**
@@ -6249,7 +6248,7 @@ public Response getConformanceClassWithResponse(RequestOptions reque
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -6311,7 +6310,7 @@ public Mono> getLandingPageWithResponseAsync(RequestOptions
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -6359,7 +6358,7 @@ public Response getLandingPageWithResponse(RequestOptions requestOpt
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -6459,7 +6458,7 @@ private Mono> createItemWithResponseAsync(String collection
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -6557,7 +6556,7 @@ private Response createItemWithResponse(String collectionId, BinaryD
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -6660,7 +6659,7 @@ public PollerFlux beginCreateItemWithModelAsync(String collecti
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -6763,7 +6762,7 @@ public SyncPoller beginCreateItemWithModel(String collectionId,
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -6866,7 +6865,7 @@ public PollerFlux beginCreateItemAsync(String collection
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -6948,7 +6947,7 @@ public SyncPoller beginCreateItem(String collectionId, B
     }
 
     /**
-     * Create or replace a STAC item in a collection.
+     * Replace a STAC item in a collection.
      * 

Request Body Schema

* *
@@ -6969,7 +6968,7 @@ public SyncPoller beginCreateItem(String collectionId, B
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -7017,7 +7016,7 @@ public SyncPoller beginCreateItem(String collectionId, B
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -7042,7 +7041,7 @@ public SyncPoller beginCreateItem(String collectionId, B
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -7096,17 +7095,17 @@ public SyncPoller beginCreateItem(String collectionId, B
      * completion of {@link Mono}.
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
-    private Mono> createOrReplaceItemWithResponseAsync(String collectionId, String itemId,
-        BinaryData body, RequestOptions requestOptions) {
+    private Mono> replaceItemWithResponseAsync(String collectionId, String itemId, BinaryData body,
+        RequestOptions requestOptions) {
         final String contentType = "application/json";
         final String accept = "application/json";
-        return FluxUtil.withContext(context -> service.createOrReplaceItem(this.client.getEndpoint(),
-            this.client.getServiceVersion().getVersion(), collectionId, itemId, contentType, accept, body,
-            requestOptions, context));
+        return FluxUtil.withContext(
+            context -> service.replaceItem(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(),
+                collectionId, itemId, contentType, accept, body, requestOptions, context));
     }
 
     /**
-     * Create or replace a STAC item in a collection.
+     * Replace a STAC item in a collection.
      * 

Request Body Schema

* *
@@ -7127,7 +7126,7 @@ private Mono> createOrReplaceItemWithResponseAsync(String c
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -7175,7 +7174,7 @@ private Mono> createOrReplaceItemWithResponseAsync(String c
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -7200,7 +7199,7 @@ private Mono> createOrReplaceItemWithResponseAsync(String c
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -7253,16 +7252,16 @@ private Mono> createOrReplaceItemWithResponseAsync(String c
      * @return microsoft Planetary Computer Pro geo-catalog operation along with {@link Response}.
      */
     @ServiceMethod(returns = ReturnType.SINGLE)
-    private Response createOrReplaceItemWithResponse(String collectionId, String itemId, BinaryData body,
+    private Response replaceItemWithResponse(String collectionId, String itemId, BinaryData body,
         RequestOptions requestOptions) {
         final String contentType = "application/json";
         final String accept = "application/json";
-        return service.createOrReplaceItemSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(),
+        return service.replaceItemSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(),
             collectionId, itemId, contentType, accept, body, requestOptions, Context.NONE);
     }
 
     /**
-     * Create or replace a STAC item in a collection.
+     * Replace a STAC item in a collection.
      * 

Request Body Schema

* *
@@ -7283,7 +7282,7 @@ private Response createOrReplaceItemWithResponse(String collectionId
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -7331,7 +7330,7 @@ private Response createOrReplaceItemWithResponse(String collectionId
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -7356,7 +7355,7 @@ private Response createOrReplaceItemWithResponse(String collectionId
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -7409,10 +7408,10 @@ private Response createOrReplaceItemWithResponse(String collectionId
      * @return the {@link PollerFlux} for polling of microsoft Planetary Computer Pro geo-catalog operation.
      */
     @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
-    public PollerFlux beginCreateOrReplaceItemWithModelAsync(String collectionId, String itemId,
+    public PollerFlux beginReplaceItemWithModelAsync(String collectionId, String itemId,
         BinaryData body, RequestOptions requestOptions) {
         return PollerFlux.create(Duration.ofSeconds(1),
-            () -> this.createOrReplaceItemWithResponseAsync(collectionId, itemId, body, requestOptions),
+            () -> this.replaceItemWithResponseAsync(collectionId, itemId, body, requestOptions),
             new DefaultPollingStrategy<>(new PollingStrategyOptions(this.client.getHttpPipeline())
                 .setEndpoint("{endpoint}".replace("{endpoint}", this.client.getEndpoint()))
                 .setContext(requestOptions != null && requestOptions.getContext() != null
@@ -7423,7 +7422,7 @@ public PollerFlux beginCreateOrReplaceItemWithModelAsync(String
     }
 
     /**
-     * Create or replace a STAC item in a collection.
+     * Replace a STAC item in a collection.
      * 

Request Body Schema

* *
@@ -7444,7 +7443,7 @@ public PollerFlux beginCreateOrReplaceItemWithModelAsync(String
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -7492,7 +7491,7 @@ public PollerFlux beginCreateOrReplaceItemWithModelAsync(String
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -7517,7 +7516,7 @@ public PollerFlux beginCreateOrReplaceItemWithModelAsync(String
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -7570,10 +7569,10 @@ public PollerFlux beginCreateOrReplaceItemWithModelAsync(String
      * @return the {@link SyncPoller} for polling of microsoft Planetary Computer Pro geo-catalog operation.
      */
     @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
-    public SyncPoller beginCreateOrReplaceItemWithModel(String collectionId, String itemId,
-        BinaryData body, RequestOptions requestOptions) {
+    public SyncPoller beginReplaceItemWithModel(String collectionId, String itemId, BinaryData body,
+        RequestOptions requestOptions) {
         return SyncPoller.createPoller(Duration.ofSeconds(1),
-            () -> this.createOrReplaceItemWithResponse(collectionId, itemId, body, requestOptions),
+            () -> this.replaceItemWithResponse(collectionId, itemId, body, requestOptions),
             new SyncDefaultPollingStrategy<>(new PollingStrategyOptions(this.client.getHttpPipeline())
                 .setEndpoint("{endpoint}".replace("{endpoint}", this.client.getEndpoint()))
                 .setContext(requestOptions != null && requestOptions.getContext() != null
@@ -7584,7 +7583,7 @@ public SyncPoller beginCreateOrReplaceItemWithModel(String coll
     }
 
     /**
-     * Create or replace a STAC item in a collection.
+     * Replace a STAC item in a collection.
      * 

Request Body Schema

* *
@@ -7605,7 +7604,7 @@ public SyncPoller beginCreateOrReplaceItemWithModel(String coll
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -7653,7 +7652,7 @@ public SyncPoller beginCreateOrReplaceItemWithModel(String coll
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -7678,7 +7677,7 @@ public SyncPoller beginCreateOrReplaceItemWithModel(String coll
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -7731,10 +7730,10 @@ public SyncPoller beginCreateOrReplaceItemWithModel(String coll
      * @return the {@link PollerFlux} for polling of microsoft Planetary Computer Pro geo-catalog operation.
      */
     @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
-    public PollerFlux beginCreateOrReplaceItemAsync(String collectionId, String itemId,
-        BinaryData body, RequestOptions requestOptions) {
+    public PollerFlux beginReplaceItemAsync(String collectionId, String itemId, BinaryData body,
+        RequestOptions requestOptions) {
         return PollerFlux.create(Duration.ofSeconds(1),
-            () -> this.createOrReplaceItemWithResponseAsync(collectionId, itemId, body, requestOptions),
+            () -> this.replaceItemWithResponseAsync(collectionId, itemId, body, requestOptions),
             new DefaultPollingStrategy<>(new PollingStrategyOptions(this.client.getHttpPipeline())
                 .setEndpoint("{endpoint}".replace("{endpoint}", this.client.getEndpoint()))
                 .setContext(requestOptions != null && requestOptions.getContext() != null
@@ -7745,7 +7744,7 @@ public PollerFlux beginCreateOrReplaceItemAsync(String c
     }
 
     /**
-     * Create or replace a STAC item in a collection.
+     * Replace a STAC item in a collection.
      * 

Request Body Schema

* *
@@ -7766,7 +7765,7 @@ public PollerFlux beginCreateOrReplaceItemAsync(String c
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -7814,7 +7813,7 @@ public PollerFlux beginCreateOrReplaceItemAsync(String c
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -7839,7 +7838,7 @@ public PollerFlux beginCreateOrReplaceItemAsync(String c
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -7892,10 +7891,10 @@ public PollerFlux beginCreateOrReplaceItemAsync(String c
      * @return the {@link SyncPoller} for polling of microsoft Planetary Computer Pro geo-catalog operation.
      */
     @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
-    public SyncPoller beginCreateOrReplaceItem(String collectionId, String itemId,
-        BinaryData body, RequestOptions requestOptions) {
+    public SyncPoller beginReplaceItem(String collectionId, String itemId, BinaryData body,
+        RequestOptions requestOptions) {
         return SyncPoller.createPoller(Duration.ofSeconds(1),
-            () -> this.createOrReplaceItemWithResponse(collectionId, itemId, body, requestOptions),
+            () -> this.replaceItemWithResponse(collectionId, itemId, body, requestOptions),
             new SyncDefaultPollingStrategy<>(new PollingStrategyOptions(this.client.getHttpPipeline())
                 .setEndpoint("{endpoint}".replace("{endpoint}", this.client.getEndpoint()))
                 .setContext(requestOptions != null && requestOptions.getContext() != null
@@ -8238,6 +8237,15 @@ public SyncPoller beginDeleteItem(String collectionId, String
 
     /**
      * Fetch a single STAC Item.
+     * 

Query Parameters

+ * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
signStringNoWhether to sign asset URLs in the response. Allowed values: + * "true", "false".
durationIntegerNoURL signature duration in minutes.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -8258,7 +8266,7 @@ public SyncPoller beginDeleteItem(String collectionId, String
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -8306,7 +8314,7 @@ public SyncPoller beginDeleteItem(String collectionId, String
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -8331,7 +8339,7 @@ public SyncPoller beginDeleteItem(String collectionId, String
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -8361,6 +8369,15 @@ public Mono> getItemWithResponseAsync(String collectionId,
 
     /**
      * Fetch a single STAC Item.
+     * 

Query Parameters

+ * + * + * + * + * + *
Query Parameters
NameTypeRequiredDescription
signStringNoWhether to sign asset URLs in the response. Allowed values: + * "true", "false".
durationIntegerNoURL signature duration in minutes.
+ * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

* *
@@ -8381,7 +8398,7 @@ public Mono> getItemWithResponseAsync(String collectionId,
      *                 String: String (Required)
      *             }
      *             body (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *             merge: Boolean (Optional)
      *         }
@@ -8429,7 +8446,7 @@ public Mono> getItemWithResponseAsync(String collectionId,
      *         start_datetime: OffsetDateTime (Optional)
      *         end_datetime: OffsetDateTime (Optional)
      *          (Optional): {
-     *             String: Object (Required)
+     *             String: BinaryData (Required)
      *         }
      *     }
      *     assets (Optional, Required on create): {
@@ -8454,7 +8471,7 @@ public Mono> getItemWithResponseAsync(String collectionId,
      *                 String (Optional)
      *             ]
      *              (Optional): {
-     *                 String: Object (Required)
+     *                 String: BinaryData (Required)
      *             }
      *         }
      *     }
@@ -8542,6 +8559,10 @@ public Response getItemWithResponse(String collectionId, String item
      * If a feature has multiple temporal properties, it is the decision of the
      * server whether only a single temporal property is used to determine
      * the extent or all relevant temporal properties.
+     * signStringNoWhether to sign asset URLs in the response. Allowed values:
+     * "true", "false".
+     * durationIntegerNoURL signature duration in minutes.
+     * tokenStringNoPagination token for fetching the next set of results.
      * 
      * You can add these to a request with {@link RequestOptions#addQueryParam}
      * 

Response Body Schema

@@ -8564,7 +8585,7 @@ public Response getItemWithResponse(String collectionId, String item * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -8625,7 +8646,7 @@ public Response getItemWithResponse(String collectionId, String item * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -8650,7 +8671,7 @@ public Response getItemWithResponse(String collectionId, String item * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -8751,6 +8772,10 @@ public Mono> getItemCollectionWithResponseAsync(String coll * If a feature has multiple temporal properties, it is the decision of the * server whether only a single temporal property is used to determine * the extent or all relevant temporal properties. + * signStringNoWhether to sign asset URLs in the response. Allowed values: + * "true", "false". + * durationIntegerNoURL signature duration in minutes. + * tokenStringNoPagination token for fetching the next set of results. * * You can add these to a request with {@link RequestOptions#addQueryParam} *

Response Body Schema

@@ -8773,7 +8798,7 @@ public Mono> getItemCollectionWithResponseAsync(String coll * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -8834,7 +8859,7 @@ public Mono> getItemCollectionWithResponseAsync(String coll * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -8859,7 +8884,7 @@ public Mono> getItemCollectionWithResponseAsync(String coll * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -8918,7 +8943,7 @@ public Response getItemCollectionWithResponse(String collectionId, R * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -8966,7 +8991,7 @@ public Response getItemCollectionWithResponse(String collectionId, R * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -8991,7 +9016,7 @@ public Response getItemCollectionWithResponse(String collectionId, R * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -9075,7 +9100,7 @@ private Mono> updateItemWithResponseAsync(String collection * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -9123,7 +9148,7 @@ private Mono> updateItemWithResponseAsync(String collection * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -9148,7 +9173,7 @@ private Mono> updateItemWithResponseAsync(String collection * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -9232,7 +9257,7 @@ private Response updateItemWithResponse(String collectionId, String * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -9280,7 +9305,7 @@ private Response updateItemWithResponse(String collectionId, String * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -9305,7 +9330,7 @@ private Response updateItemWithResponse(String collectionId, String * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -9393,7 +9418,7 @@ public PollerFlux beginUpdateItemAsync(String collection * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -9441,7 +9466,7 @@ public PollerFlux beginUpdateItemAsync(String collection * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -9466,7 +9491,7 @@ public PollerFlux beginUpdateItemAsync(String collection * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -9544,7 +9569,7 @@ public SyncPoller beginUpdateItem(String collectionId, S * (Required){ * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -9561,7 +9586,7 @@ public SyncPoller beginUpdateItem(String collectionId, S * (Required){ * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -9601,7 +9626,7 @@ public Mono> createQueryablesWithResponseAsync(String colle * (Required){ * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -9618,7 +9643,7 @@ public Mono> createQueryablesWithResponseAsync(String colle * (Required){ * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -9657,7 +9682,7 @@ public Response createQueryablesWithResponse(String collectionId, Bi * { * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -9672,7 +9697,7 @@ public Response createQueryablesWithResponse(String collectionId, Bi * { * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -9713,7 +9738,7 @@ public Mono> replaceQueryableWithResponseAsync(String colle * { * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -9728,7 +9753,7 @@ public Mono> replaceQueryableWithResponseAsync(String colle * { * name: String (Required) * definition (Required): { - * String: Object (Required) + * String: BinaryData (Required) * } * create_index: Boolean (Optional) * data_type: String(string/number/boolean/timestamp/date) (Optional) @@ -9807,7 +9832,7 @@ public Response deleteQueryableWithResponse(String collectionId, String qu * {@code * { * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -9821,9 +9846,9 @@ public Response deleteQueryableWithResponse(String collectionId, String qu * @return queryable definitions response along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> listQueryablesWithResponseAsync(RequestOptions requestOptions) { + public Mono> getQueryablesWithResponseAsync(RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil.withContext(context -> service.listQueryables(this.client.getEndpoint(), + return FluxUtil.withContext(context -> service.getQueryables(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), accept, requestOptions, context)); } @@ -9837,7 +9862,7 @@ public Mono> listQueryablesWithResponseAsync(RequestOptions * {@code * { * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -9851,9 +9876,9 @@ public Mono> listQueryablesWithResponseAsync(RequestOptions * @return queryable definitions response along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listQueryablesWithResponse(RequestOptions requestOptions) { + public Response getQueryablesWithResponse(RequestOptions requestOptions) { final String accept = "application/json"; - return service.listQueryablesSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + return service.getQueryablesSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), accept, requestOptions, Context.NONE); } @@ -9867,7 +9892,7 @@ public Response listQueryablesWithResponse(RequestOptions requestOpt * {@code * { * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -9899,7 +9924,7 @@ public Mono> getCollectionQueryablesWithResponseAsync(Strin * {@code * { * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -9957,10 +9982,10 @@ public Response getCollectionQueryablesWithResponse(String collectio * datetime: String (Optional) * limit: Integer (Optional) * conf (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * query (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * sortby (Optional): [ * (Optional){ @@ -9979,7 +10004,7 @@ public Response getCollectionQueryablesWithResponse(String collectio * } * ] * filter (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * filter-crs: String (Optional) * filter-lang: String(cql-json/cql2-json/cql2-text) (Optional) @@ -10008,7 +10033,7 @@ public Response getCollectionQueryablesWithResponse(String collectio * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -10069,7 +10094,7 @@ public Response getCollectionQueryablesWithResponse(String collectio * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -10094,7 +10119,7 @@ public Response getCollectionQueryablesWithResponse(String collectio * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } @@ -10169,10 +10194,10 @@ public Mono> searchWithResponseAsync(BinaryData body, Reque * datetime: String (Optional) * limit: Integer (Optional) * conf (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * query (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * sortby (Optional): [ * (Optional){ @@ -10191,7 +10216,7 @@ public Mono> searchWithResponseAsync(BinaryData body, Reque * } * ] * filter (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * filter-crs: String (Optional) * filter-lang: String(cql-json/cql2-json/cql2-text) (Optional) @@ -10220,7 +10245,7 @@ public Mono> searchWithResponseAsync(BinaryData body, Reque * String: String (Required) * } * body (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * merge: Boolean (Optional) * } @@ -10281,7 +10306,7 @@ public Mono> searchWithResponseAsync(BinaryData body, Reque * start_datetime: OffsetDateTime (Optional) * end_datetime: OffsetDateTime (Optional) * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * assets (Optional, Required on create): { @@ -10306,7 +10331,7 @@ public Mono> searchWithResponseAsync(BinaryData body, Reque * String (Optional) * ] * (Optional): { - * String: Object (Required) + * String: BinaryData (Required) * } * } * } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/models/RegisterMosaicsSearchRequest.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/models/RegisterMosaicsSearchRequest.java index ffc04f7e1406..774829df139c 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/models/RegisterMosaicsSearchRequest.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/models/RegisterMosaicsSearchRequest.java @@ -10,6 +10,7 @@ import com.azure.analytics.planetarycomputer.models.StacSortExtension; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -51,16 +52,30 @@ public final class RegisterMosaicsSearchRequest implements JsonSerializable query; + private Map query; /* * Filter */ @Generated - private Map filter; + private Map filter; /* - * Temporal filter in RFC 3339 format or interval + * Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. */ @Generated private String datetime; @@ -184,7 +199,7 @@ public RegisterMosaicsSearchRequest setIntersects(Geometry intersects) { * @return the query value. */ @Generated - public Map getQuery() { + public Map getQuery() { return this.query; } @@ -195,7 +210,7 @@ public Map getQuery() { * @return the RegisterMosaicsSearchRequest object itself. */ @Generated - public RegisterMosaicsSearchRequest setQuery(Map query) { + public RegisterMosaicsSearchRequest setQuery(Map query) { this.query = query; return this; } @@ -206,7 +221,7 @@ public RegisterMosaicsSearchRequest setQuery(Map query) { * @return the filter value. */ @Generated - public Map getFilter() { + public Map getFilter() { return this.filter; } @@ -217,13 +232,27 @@ public Map getFilter() { * @return the RegisterMosaicsSearchRequest object itself. */ @Generated - public RegisterMosaicsSearchRequest setFilter(Map filter) { + public RegisterMosaicsSearchRequest setFilter(Map filter) { this.filter = filter; return this; } /** - * Get the datetime property: Temporal filter in RFC 3339 format or interval. + * Get the datetime property: Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. * * @return the datetime value. */ @@ -233,7 +262,21 @@ public String getDatetime() { } /** - * Set the datetime property: Temporal filter in RFC 3339 format or interval. + * Set the datetime property: Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. * * @param datetime the datetime value to set. * @return the RegisterMosaicsSearchRequest object itself. @@ -321,8 +364,20 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeArrayField("ids", this.ids, (writer, element) -> writer.writeString(element)); jsonWriter.writeArrayField("bbox", this.boundingBox, (writer, element) -> writer.writeDouble(element)); jsonWriter.writeJsonField("intersects", this.intersects); - jsonWriter.writeMapField("query", this.query, (writer, element) -> writer.writeUntyped(element)); - jsonWriter.writeMapField("filter", this.filter, (writer, element) -> writer.writeUntyped(element)); + jsonWriter.writeMapField("query", this.query, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeMapField("filter", this.filter, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); jsonWriter.writeStringField("datetime", this.datetime); jsonWriter.writeArrayField("sortby", this.sortBy, (writer, element) -> writer.writeJson(element)); jsonWriter.writeStringField("filter-lang", this.filterLanguage == null ? null : this.filterLanguage.toString()); @@ -358,10 +413,12 @@ public static RegisterMosaicsSearchRequest fromJson(JsonReader jsonReader) throw } else if ("intersects".equals(fieldName)) { deserializedRegisterMosaicsSearchRequest.intersects = Geometry.fromJson(reader); } else if ("query".equals(fieldName)) { - Map query = reader.readMap(reader1 -> reader1.readUntyped()); + Map query = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); deserializedRegisterMosaicsSearchRequest.query = query; } else if ("filter".equals(fieldName)) { - Map filter = reader.readMap(reader1 -> reader1.readUntyped()); + Map filter = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); deserializedRegisterMosaicsSearchRequest.filter = filter; } else if ("datetime".equals(fieldName)) { deserializedRegisterMosaicsSearchRequest.datetime = reader.getString(); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ClassMapLegendResponse.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ClassMapLegendResponse.java index 30dc68fb0cc7..b19a6a4868c8 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ClassMapLegendResponse.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ClassMapLegendResponse.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Generated; import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -23,7 +24,7 @@ public final class ClassMapLegendResponse implements JsonSerializable additionalProperties; + private Map additionalProperties; /** * Creates an instance of ClassMapLegendResponse class. @@ -38,7 +39,7 @@ private ClassMapLegendResponse() { * @return the additionalProperties value. */ @Generated - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @@ -50,8 +51,13 @@ public Map getAdditionalProperties() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeUntypedField(additionalProperty.getKey(), additionalProperty.getValue()); + for (Map.Entry additionalProperty : additionalProperties.entrySet()) { + jsonWriter.writeFieldName(additionalProperty.getKey()); + if (additionalProperty.getValue() == null) { + jsonWriter.writeNull(); + } else { + additionalProperty.getValue().writeTo(jsonWriter); + } } } return jsonWriter.writeEndObject(); @@ -69,7 +75,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { public static ClassMapLegendResponse fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { ClassMapLegendResponse deserializedClassMapLegendResponse = new ClassMapLegendResponse(); - Map additionalProperties = null; + Map additionalProperties = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -78,7 +84,8 @@ public static ClassMapLegendResponse fromJson(JsonReader jsonReader) throws IOEx additionalProperties = new LinkedHashMap<>(); } - additionalProperties.put(fieldName, reader.readUntyped()); + additionalProperties.put(fieldName, + reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } deserializedClassMapLegendResponse.additionalProperties = additionalProperties; diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ColorMapNames.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ColorMapNames.java index 274f1fc28d1b..b45362d63b87 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ColorMapNames.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ColorMapNames.java @@ -1308,6 +1308,270 @@ public final class ColorMapNames extends ExpandableStringEnum { @Generated public static final ColorMapNames YLORRD_R = fromString("ylorrd_r"); + /** + * Algae colormap - sequential green colormap for ocean data. + */ + @Generated + public static final ColorMapNames ALGAE = fromString("algae"); + + /** + * Reversed algae colormap. + */ + @Generated + public static final ColorMapNames ALGAE_R = fromString("algae_r"); + + /** + * Amp colormap - sequential magenta colormap for ocean data. + */ + @Generated + public static final ColorMapNames AMP = fromString("amp"); + + /** + * Reversed amp colormap. + */ + @Generated + public static final ColorMapNames AMP_R = fromString("amp_r"); + + /** + * Balance colormap - diverging blue to red for ocean data. + */ + @Generated + public static final ColorMapNames BALANCE = fromString("balance"); + + /** + * Reversed balance colormap. + */ + @Generated + public static final ColorMapNames BALANCE_R = fromString("balance_r"); + + /** + * Curl colormap - diverging teal to red for ocean data. + */ + @Generated + public static final ColorMapNames CURL = fromString("curl"); + + /** + * Reversed curl colormap. + */ + @Generated + public static final ColorMapNames CURL_R = fromString("curl_r"); + + /** + * Deep colormap - sequential blue colormap for ocean data. + */ + @Generated + public static final ColorMapNames DEEP = fromString("deep"); + + /** + * Reversed deep colormap. + */ + @Generated + public static final ColorMapNames DEEP_R = fromString("deep_r"); + + /** + * Delta colormap - diverging blue to green for ocean data. + */ + @Generated + public static final ColorMapNames DELTA = fromString("delta"); + + /** + * Reversed delta colormap. + */ + @Generated + public static final ColorMapNames DELTA_R = fromString("delta_r"); + + /** + * Dense colormap - sequential purple colormap for ocean data. + */ + @Generated + public static final ColorMapNames DENSE = fromString("dense"); + + /** + * Reversed dense colormap. + */ + @Generated + public static final ColorMapNames DENSE_R = fromString("dense_r"); + + /** + * Diff colormap - diverging colormap for difference data. + */ + @Generated + public static final ColorMapNames DIFF = fromString("diff"); + + /** + * Reversed diff colormap. + */ + @Generated + public static final ColorMapNames DIFF_R = fromString("diff_r"); + + /** + * Haline colormap - sequential blue to yellow for salinity data. + */ + @Generated + public static final ColorMapNames HALINE = fromString("haline"); + + /** + * Reversed haline colormap. + */ + @Generated + public static final ColorMapNames HALINE_R = fromString("haline_r"); + + /** + * Ice colormap - sequential blue colormap for ice data. + */ + @Generated + public static final ColorMapNames ICE = fromString("ice"); + + /** + * Reversed ice colormap. + */ + @Generated + public static final ColorMapNames ICE_R = fromString("ice_r"); + + /** + * Matter colormap - sequential yellow to brown for ocean data. + */ + @Generated + public static final ColorMapNames MATTER = fromString("matter"); + + /** + * Reversed matter colormap. + */ + @Generated + public static final ColorMapNames MATTER_R = fromString("matter_r"); + + /** + * Oxy colormap - diverging colormap for oxygen data. + */ + @Generated + public static final ColorMapNames OXY = fromString("oxy"); + + /** + * Reversed oxy colormap. + */ + @Generated + public static final ColorMapNames OXY_R = fromString("oxy_r"); + + /** + * Phase colormap - circular colormap for phase data. + */ + @Generated + public static final ColorMapNames PHASE = fromString("phase"); + + /** + * Reversed phase colormap. + */ + @Generated + public static final ColorMapNames PHASE_R = fromString("phase_r"); + + /** + * Rain colormap - sequential colormap for precipitation data. + */ + @Generated + public static final ColorMapNames RAIN = fromString("rain"); + + /** + * Reversed rain colormap. + */ + @Generated + public static final ColorMapNames RAIN_R = fromString("rain_r"); + + /** + * Solar colormap - sequential colormap for solar radiation data. + */ + @Generated + public static final ColorMapNames SOLAR = fromString("solar"); + + /** + * Reversed solar colormap. + */ + @Generated + public static final ColorMapNames SOLAR_R = fromString("solar_r"); + + /** + * Speed colormap - sequential colormap for velocity data. + */ + @Generated + public static final ColorMapNames SPEED = fromString("speed"); + + /** + * Reversed speed colormap. + */ + @Generated + public static final ColorMapNames SPEED_R = fromString("speed_r"); + + /** + * Tarn colormap - sequential colormap for topographic data. + */ + @Generated + public static final ColorMapNames TARN = fromString("tarn"); + + /** + * Reversed tarn colormap. + */ + @Generated + public static final ColorMapNames TARN_R = fromString("tarn_r"); + + /** + * Tempo colormap - sequential colormap for temporal data. + */ + @Generated + public static final ColorMapNames TEMPO = fromString("tempo"); + + /** + * Reversed tempo colormap. + */ + @Generated + public static final ColorMapNames TEMPO_R = fromString("tempo_r"); + + /** + * Thermal colormap - sequential colormap for temperature data. + */ + @Generated + public static final ColorMapNames THERMAL = fromString("thermal"); + + /** + * Reversed thermal colormap. + */ + @Generated + public static final ColorMapNames THERMAL_R = fromString("thermal_r"); + + /** + * Topo colormap - sequential colormap for topographic data. + */ + @Generated + public static final ColorMapNames TOPO = fromString("topo"); + + /** + * Reversed topo colormap. + */ + @Generated + public static final ColorMapNames TOPO_R = fromString("topo_r"); + + /** + * Turbid colormap - sequential colormap for turbidity data. + */ + @Generated + public static final ColorMapNames TURBID = fromString("turbid"); + + /** + * Reversed turbid colormap. + */ + @Generated + public static final ColorMapNames TURBID_R = fromString("turbid_r"); + + /** + * Turbo colormap - improved rainbow colormap. + */ + @Generated + public static final ColorMapNames TURBO = fromString("turbo"); + + /** + * Reversed turbo colormap. + */ + @Generated + public static final ColorMapNames TURBO_R = fromString("turbo_r"); + /** * Creates a new instance of ColorMapNames value. * diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/CropGeoJsonOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/CropGeoJsonOptions.java deleted file mode 100644 index 6e51e7bd2d59..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/CropGeoJsonOptions.java +++ /dev/null @@ -1,475 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for cropping GeoJSON. - */ -@Fluent -public final class CropGeoJsonOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Terrain algorithm name - */ - @Generated - private TerrainAlgorithm algorithm; - - /* - * Terrain algorithm parameters - */ - @Generated - private String algorithmParams; - - /* - * rio-color formula (info: https://github.com/mapbox/rio-color) - */ - @Generated - private String colorFormula; - - /* - * Coordinate Reference System of the input coords. Default to `epsg:4326`. - */ - @Generated - private String coordinateReferenceSystem; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * Image output size limit if width and height limits are not set. - */ - @Generated - private Integer maxSize; - - /* - * comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - */ - @Generated - private List rescale; - - /* - * Colormap name - */ - @Generated - private ColorMapNames colorMapName; - - /* - * JSON encoded custom Colormap - */ - @Generated - private String colorMap; - - /* - * Add mask to the output data. - */ - @Generated - private Boolean returnMask; - - /** - * Creates an instance of CropGeoJsonOptions class. - */ - @Generated - public CropGeoJsonOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the algorithm property: Terrain algorithm name. - * - * @return the algorithm value. - */ - @Generated - public TerrainAlgorithm getAlgorithm() { - return this.algorithm; - } - - /** - * Set the algorithm property: Terrain algorithm name. - * - * @param algorithm the algorithm value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setAlgorithm(TerrainAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the algorithmParams property: Terrain algorithm parameters. - * - * @return the algorithmParams value. - */ - @Generated - public String getAlgorithmParams() { - return this.algorithmParams; - } - - /** - * Set the algorithmParams property: Terrain algorithm parameters. - * - * @param algorithmParams the algorithmParams value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setAlgorithmParams(String algorithmParams) { - this.algorithmParams = algorithmParams; - return this; - } - - /** - * Get the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @return the colorFormula value. - */ - @Generated - public String getColorFormula() { - return this.colorFormula; - } - - /** - * Set the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @param colorFormula the colorFormula value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setColorFormula(String colorFormula) { - this.colorFormula = colorFormula; - return this; - } - - /** - * Get the coordinateReferenceSystem property: Coordinate Reference System of the input coords. Default to - * `epsg:4326`. - * - * @return the coordinateReferenceSystem value. - */ - @Generated - public String getCoordinateReferenceSystem() { - return this.coordinateReferenceSystem; - } - - /** - * Set the coordinateReferenceSystem property: Coordinate Reference System of the input coords. Default to - * `epsg:4326`. - * - * @param coordinateReferenceSystem the coordinateReferenceSystem value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setCoordinateReferenceSystem(String coordinateReferenceSystem) { - this.coordinateReferenceSystem = coordinateReferenceSystem; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the maxSize property: Image output size limit if width and height limits are not set. - * - * @return the maxSize value. - */ - @Generated - public Integer getMaxSize() { - return this.maxSize; - } - - /** - * Set the maxSize property: Image output size limit if width and height limits are not set. - * - * @param maxSize the maxSize value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setMaxSize(Integer maxSize) { - this.maxSize = maxSize; - return this; - } - - /** - * Get the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @return the rescale value. - */ - @Generated - public List getRescale() { - return this.rescale; - } - - /** - * Set the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @param rescale the rescale value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setRescale(List rescale) { - this.rescale = rescale; - return this; - } - - /** - * Get the colorMapName property: Colormap name. - * - * @return the colorMapName value. - */ - @Generated - public ColorMapNames getColorMapName() { - return this.colorMapName; - } - - /** - * Set the colorMapName property: Colormap name. - * - * @param colorMapName the colorMapName value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setColorMapName(ColorMapNames colorMapName) { - this.colorMapName = colorMapName; - return this; - } - - /** - * Get the colorMap property: JSON encoded custom Colormap. - * - * @return the colorMap value. - */ - @Generated - public String getColorMap() { - return this.colorMap; - } - - /** - * Set the colorMap property: JSON encoded custom Colormap. - * - * @param colorMap the colorMap value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setColorMap(String colorMap) { - this.colorMap = colorMap; - return this; - } - - /** - * Get the returnMask property: Add mask to the output data. - * - * @return the returnMask value. - */ - @Generated - public Boolean isReturnMask() { - return this.returnMask; - } - - /** - * Set the returnMask property: Add mask to the output data. - * - * @param returnMask the returnMask value to set. - * @return the CropGeoJsonOptions object itself. - */ - @Generated - public CropGeoJsonOptions setReturnMask(Boolean returnMask) { - this.returnMask = returnMask; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/Feature.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/Feature.java index 1757ba42fb94..ebc2a77c2f12 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/Feature.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/Feature.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -34,7 +35,7 @@ public final class Feature implements JsonSerializable { * Feature properties */ @Generated - private Map properties; + private Map properties; /** * Creates an instance of Feature class. @@ -74,7 +75,7 @@ public FeatureType getType() { * @return the properties value. */ @Generated - public Map getProperties() { + public Map getProperties() { return this.properties; } @@ -85,7 +86,7 @@ public Map getProperties() { * @return the Feature object itself. */ @Generated - public Feature setProperties(Map properties) { + public Feature setProperties(Map properties) { this.properties = properties; return this; } @@ -99,7 +100,13 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("geometry", this.geometry); jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); - jsonWriter.writeMapField("properties", this.properties, (writer, element) -> writer.writeUntyped(element)); + jsonWriter.writeMapField("properties", this.properties, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); return jsonWriter.writeEndObject(); } @@ -117,7 +124,7 @@ public static Feature fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { Geometry geometry = null; FeatureType type = null; - Map properties = null; + Map properties = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -127,7 +134,8 @@ public static Feature fromJson(JsonReader jsonReader) throws IOException { } else if ("type".equals(fieldName)) { type = FeatureType.fromString(reader.getString()); } else if ("properties".equals(fieldName)) { - properties = reader.readMap(reader1 -> reader1.readUntyped()); + properties = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } else { reader.skipChildren(); } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetAssetStatisticsOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetAssetStatisticsOptions.java deleted file mode 100644 index 6b365c3f42bf..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetAssetStatisticsOptions.java +++ /dev/null @@ -1,434 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for getting asset statistics. - */ -@Fluent -public final class GetAssetStatisticsOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * Maximum dimension in pixels for the source data used to calculate statistics - */ - @Generated - private Integer maxSize; - - /* - * Return statistics for categorical dataset. - */ - @Generated - private Boolean categorical; - - /* - * List of pixel categorical values for which to report counts. - */ - @Generated - private List categoriesPixels; - - /* - * List of percentile values (default to [2, 98]). - */ - @Generated - private List percentiles; - - /* - * Defines the number of equal-width bins in the given range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html - */ - @Generated - private String histogramBins; - - /* - * Comma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html - */ - @Generated - private String histogramRange; - - /** - * Creates an instance of GetAssetStatisticsOptions class. - */ - @Generated - public GetAssetStatisticsOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the maxSize property: Maximum dimension in pixels for the source data used to calculate statistics. - * - * @return the maxSize value. - */ - @Generated - public Integer getMaxSize() { - return this.maxSize; - } - - /** - * Set the maxSize property: Maximum dimension in pixels for the source data used to calculate statistics. - * - * @param maxSize the maxSize value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setMaxSize(Integer maxSize) { - this.maxSize = maxSize; - return this; - } - - /** - * Get the categorical property: Return statistics for categorical dataset. - * - * @return the categorical value. - */ - @Generated - public Boolean isCategorical() { - return this.categorical; - } - - /** - * Set the categorical property: Return statistics for categorical dataset. - * - * @param categorical the categorical value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setCategorical(Boolean categorical) { - this.categorical = categorical; - return this; - } - - /** - * Get the categoriesPixels property: List of pixel categorical values for which to report counts. - * - * @return the categoriesPixels value. - */ - @Generated - public List getCategoriesPixels() { - return this.categoriesPixels; - } - - /** - * Set the categoriesPixels property: List of pixel categorical values for which to report counts. - * - * @param categoriesPixels the categoriesPixels value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setCategoriesPixels(List categoriesPixels) { - this.categoriesPixels = categoriesPixels; - return this; - } - - /** - * Get the percentiles property: List of percentile values (default to [2, 98]). - * - * @return the percentiles value. - */ - @Generated - public List getPercentiles() { - return this.percentiles; - } - - /** - * Set the percentiles property: List of percentile values (default to [2, 98]). - * - * @param percentiles the percentiles value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setPercentiles(List percentiles) { - this.percentiles = percentiles; - return this; - } - - /** - * Get the histogramBins property: Defines the number of equal-width bins in the given range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @return the histogramBins value. - */ - @Generated - public String getHistogramBins() { - return this.histogramBins; - } - - /** - * Set the histogramBins property: Defines the number of equal-width bins in the given range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @param histogramBins the histogramBins value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setHistogramBins(String histogramBins) { - this.histogramBins = histogramBins; - return this; - } - - /** - * Get the histogramRange property: Comma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @return the histogramRange value. - */ - @Generated - public String getHistogramRange() { - return this.histogramRange; - } - - /** - * Set the histogramRange property: Comma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @param histogramRange the histogramRange value to set. - * @return the GetAssetStatisticsOptions object itself. - */ - @Generated - public GetAssetStatisticsOptions setHistogramRange(String histogramRange) { - this.histogramRange = histogramRange; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetGeoJsonStatisticsOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetGeoJsonStatisticsOptions.java deleted file mode 100644 index 533d767e86be..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetGeoJsonStatisticsOptions.java +++ /dev/null @@ -1,434 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for getting GeoJSON statistics. - */ -@Fluent -public final class GetGeoJsonStatisticsOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * Maximum dimension in pixels for the source data used to calculate statistics - */ - @Generated - private Integer maxSize; - - /* - * Return statistics for categorical dataset. - */ - @Generated - private Boolean categorical; - - /* - * List of pixel categorical values for which to report counts. - */ - @Generated - private List categoriesPixels; - - /* - * List of percentile values (default to [2, 98]). - */ - @Generated - private List percentiles; - - /* - * Defines the number of equal-width bins in the given range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html - */ - @Generated - private String histogramBins; - - /* - * Comma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html - */ - @Generated - private String histogramRange; - - /** - * Creates an instance of GetGeoJsonStatisticsOptions class. - */ - @Generated - public GetGeoJsonStatisticsOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the maxSize property: Maximum dimension in pixels for the source data used to calculate statistics. - * - * @return the maxSize value. - */ - @Generated - public Integer getMaxSize() { - return this.maxSize; - } - - /** - * Set the maxSize property: Maximum dimension in pixels for the source data used to calculate statistics. - * - * @param maxSize the maxSize value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setMaxSize(Integer maxSize) { - this.maxSize = maxSize; - return this; - } - - /** - * Get the categorical property: Return statistics for categorical dataset. - * - * @return the categorical value. - */ - @Generated - public Boolean isCategorical() { - return this.categorical; - } - - /** - * Set the categorical property: Return statistics for categorical dataset. - * - * @param categorical the categorical value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setCategorical(Boolean categorical) { - this.categorical = categorical; - return this; - } - - /** - * Get the categoriesPixels property: List of pixel categorical values for which to report counts. - * - * @return the categoriesPixels value. - */ - @Generated - public List getCategoriesPixels() { - return this.categoriesPixels; - } - - /** - * Set the categoriesPixels property: List of pixel categorical values for which to report counts. - * - * @param categoriesPixels the categoriesPixels value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setCategoriesPixels(List categoriesPixels) { - this.categoriesPixels = categoriesPixels; - return this; - } - - /** - * Get the percentiles property: List of percentile values (default to [2, 98]). - * - * @return the percentiles value. - */ - @Generated - public List getPercentiles() { - return this.percentiles; - } - - /** - * Set the percentiles property: List of percentile values (default to [2, 98]). - * - * @param percentiles the percentiles value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setPercentiles(List percentiles) { - this.percentiles = percentiles; - return this; - } - - /** - * Get the histogramBins property: Defines the number of equal-width bins in the given range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @return the histogramBins value. - */ - @Generated - public String getHistogramBins() { - return this.histogramBins; - } - - /** - * Set the histogramBins property: Defines the number of equal-width bins in the given range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @param histogramBins the histogramBins value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setHistogramBins(String histogramBins) { - this.histogramBins = histogramBins; - return this; - } - - /** - * Get the histogramRange property: Comma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @return the histogramRange value. - */ - @Generated - public String getHistogramRange() { - return this.histogramRange; - } - - /** - * Set the histogramRange property: Comma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @param histogramRange the histogramRange value to set. - * @return the GetGeoJsonStatisticsOptions object itself. - */ - @Generated - public GetGeoJsonStatisticsOptions setHistogramRange(String histogramRange) { - this.histogramRange = histogramRange; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicTileJsonOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicTileJsonOptions.java deleted file mode 100644 index cfc820fd39b1..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicTileJsonOptions.java +++ /dev/null @@ -1,767 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for mosaic TileJSON. - */ -@Fluent -public final class GetMosaicTileJsonOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Return as soon as we scan N items (defaults to 10000 in PgSTAC). - */ - @Generated - private Integer scanLimit; - - /* - * Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). - */ - @Generated - private Integer itemsLimit; - - /* - * Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). - */ - @Generated - private Integer timeLimit; - - /* - * Return as soon as the geometry is fully covered (defaults to True in PgSTAC). - */ - @Generated - private Boolean exitWhenFull; - - /* - * Skip any items that would show up completely under the previous items (defaults - * to True in PgSTAC). - */ - @Generated - private Boolean skipCovered; - - /* - * Terrain algorithm name - */ - @Generated - private TerrainAlgorithm algorithm; - - /* - * Terrain algorithm parameters - */ - @Generated - private String algorithmParams; - - /* - * Overwrite default minzoom. - */ - @Generated - private Integer minZoom; - - /* - * Overwrite default maxzoom. - */ - @Generated - private Integer maxZoom; - - /* - * Default will be automatically defined if the output image needs a mask (png) or - * not (jpeg). - */ - @Generated - private TilerImageFormat tileFormat; - - /* - * Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). - */ - @Generated - private Integer tileScale; - - /* - * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - */ - @Generated - private String buffer; - - /* - * rio-color formula (info: https://github.com/mapbox/rio-color) - */ - @Generated - private String colorFormula; - - /* - * STAC Collection ID - */ - @Generated - private String collection; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * Pixel selection method. - */ - @Generated - private PixelSelection pixelSelection; - - /* - * comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - */ - @Generated - private List rescale; - - /* - * Colormap name - */ - @Generated - private ColorMapNames colorMapName; - - /* - * JSON encoded custom Colormap - */ - @Generated - private String colorMap; - - /* - * Add mask to the output data. - */ - @Generated - private Boolean returnMask; - - /** - * Creates an instance of GetMosaicTileJsonOptions class. - */ - @Generated - public GetMosaicTileJsonOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the scanLimit property: Return as soon as we scan N items (defaults to 10000 in PgSTAC). - * - * @return the scanLimit value. - */ - @Generated - public Integer getScanLimit() { - return this.scanLimit; - } - - /** - * Set the scanLimit property: Return as soon as we scan N items (defaults to 10000 in PgSTAC). - * - * @param scanLimit the scanLimit value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setScanLimit(Integer scanLimit) { - this.scanLimit = scanLimit; - return this; - } - - /** - * Get the itemsLimit property: Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). - * - * @return the itemsLimit value. - */ - @Generated - public Integer getItemsLimit() { - return this.itemsLimit; - } - - /** - * Set the itemsLimit property: Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). - * - * @param itemsLimit the itemsLimit value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setItemsLimit(Integer itemsLimit) { - this.itemsLimit = itemsLimit; - return this; - } - - /** - * Get the timeLimit property: Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). - * - * @return the timeLimit value. - */ - @Generated - public Integer getTimeLimit() { - return this.timeLimit; - } - - /** - * Set the timeLimit property: Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). - * - * @param timeLimit the timeLimit value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setTimeLimit(Integer timeLimit) { - this.timeLimit = timeLimit; - return this; - } - - /** - * Get the exitWhenFull property: Return as soon as the geometry is fully covered (defaults to True in PgSTAC). - * - * @return the exitWhenFull value. - */ - @Generated - public Boolean isExitWhenFull() { - return this.exitWhenFull; - } - - /** - * Set the exitWhenFull property: Return as soon as the geometry is fully covered (defaults to True in PgSTAC). - * - * @param exitWhenFull the exitWhenFull value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setExitWhenFull(Boolean exitWhenFull) { - this.exitWhenFull = exitWhenFull; - return this; - } - - /** - * Get the skipCovered property: Skip any items that would show up completely under the previous items (defaults - * to True in PgSTAC). - * - * @return the skipCovered value. - */ - @Generated - public Boolean isSkipCovered() { - return this.skipCovered; - } - - /** - * Set the skipCovered property: Skip any items that would show up completely under the previous items (defaults - * to True in PgSTAC). - * - * @param skipCovered the skipCovered value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setSkipCovered(Boolean skipCovered) { - this.skipCovered = skipCovered; - return this; - } - - /** - * Get the algorithm property: Terrain algorithm name. - * - * @return the algorithm value. - */ - @Generated - public TerrainAlgorithm getAlgorithm() { - return this.algorithm; - } - - /** - * Set the algorithm property: Terrain algorithm name. - * - * @param algorithm the algorithm value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setAlgorithm(TerrainAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the algorithmParams property: Terrain algorithm parameters. - * - * @return the algorithmParams value. - */ - @Generated - public String getAlgorithmParams() { - return this.algorithmParams; - } - - /** - * Set the algorithmParams property: Terrain algorithm parameters. - * - * @param algorithmParams the algorithmParams value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setAlgorithmParams(String algorithmParams) { - this.algorithmParams = algorithmParams; - return this; - } - - /** - * Get the minZoom property: Overwrite default minzoom. - * - * @return the minZoom value. - */ - @Generated - public Integer getMinZoom() { - return this.minZoom; - } - - /** - * Set the minZoom property: Overwrite default minzoom. - * - * @param minZoom the minZoom value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setMinZoom(Integer minZoom) { - this.minZoom = minZoom; - return this; - } - - /** - * Get the maxZoom property: Overwrite default maxzoom. - * - * @return the maxZoom value. - */ - @Generated - public Integer getMaxZoom() { - return this.maxZoom; - } - - /** - * Set the maxZoom property: Overwrite default maxzoom. - * - * @param maxZoom the maxZoom value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setMaxZoom(Integer maxZoom) { - this.maxZoom = maxZoom; - return this; - } - - /** - * Get the tileFormat property: Default will be automatically defined if the output image needs a mask (png) or - * not (jpeg). - * - * @return the tileFormat value. - */ - @Generated - public TilerImageFormat getTileFormat() { - return this.tileFormat; - } - - /** - * Set the tileFormat property: Default will be automatically defined if the output image needs a mask (png) or - * not (jpeg). - * - * @param tileFormat the tileFormat value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setTileFormat(TilerImageFormat tileFormat) { - this.tileFormat = tileFormat; - return this; - } - - /** - * Get the tileScale property: Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., - * 1=256x256, 2=512x512). - * - * @return the tileScale value. - */ - @Generated - public Integer getTileScale() { - return this.tileScale; - } - - /** - * Set the tileScale property: Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., - * 1=256x256, 2=512x512). - * - * @param tileScale the tileScale value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setTileScale(Integer tileScale) { - this.tileScale = tileScale; - return this; - } - - /** - * Get the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @return the buffer value. - */ - @Generated - public String getBuffer() { - return this.buffer; - } - - /** - * Set the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @param buffer the buffer value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setBuffer(String buffer) { - this.buffer = buffer; - return this; - } - - /** - * Get the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @return the colorFormula value. - */ - @Generated - public String getColorFormula() { - return this.colorFormula; - } - - /** - * Set the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @param colorFormula the colorFormula value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setColorFormula(String colorFormula) { - this.colorFormula = colorFormula; - return this; - } - - /** - * Get the collection property: STAC Collection ID. - * - * @return the collection value. - */ - @Generated - public String getCollection() { - return this.collection; - } - - /** - * Set the collection property: STAC Collection ID. - * - * @param collection the collection value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setCollection(String collection) { - this.collection = collection; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the pixelSelection property: Pixel selection method. - * - * @return the pixelSelection value. - */ - @Generated - public PixelSelection getPixelSelection() { - return this.pixelSelection; - } - - /** - * Set the pixelSelection property: Pixel selection method. - * - * @param pixelSelection the pixelSelection value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setPixelSelection(PixelSelection pixelSelection) { - this.pixelSelection = pixelSelection; - return this; - } - - /** - * Get the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @return the rescale value. - */ - @Generated - public List getRescale() { - return this.rescale; - } - - /** - * Set the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @param rescale the rescale value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setRescale(List rescale) { - this.rescale = rescale; - return this; - } - - /** - * Get the colorMapName property: Colormap name. - * - * @return the colorMapName value. - */ - @Generated - public ColorMapNames getColorMapName() { - return this.colorMapName; - } - - /** - * Set the colorMapName property: Colormap name. - * - * @param colorMapName the colorMapName value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setColorMapName(ColorMapNames colorMapName) { - this.colorMapName = colorMapName; - return this; - } - - /** - * Get the colorMap property: JSON encoded custom Colormap. - * - * @return the colorMap value. - */ - @Generated - public String getColorMap() { - return this.colorMap; - } - - /** - * Set the colorMap property: JSON encoded custom Colormap. - * - * @param colorMap the colorMap value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setColorMap(String colorMap) { - this.colorMap = colorMap; - return this; - } - - /** - * Get the returnMask property: Add mask to the output data. - * - * @return the returnMask value. - */ - @Generated - public Boolean isReturnMask() { - return this.returnMask; - } - - /** - * Set the returnMask property: Add mask to the output data. - * - * @param returnMask the returnMask value to set. - * @return the GetMosaicTileJsonOptions object itself. - */ - @Generated - public GetMosaicTileJsonOptions setReturnMask(Boolean returnMask) { - this.returnMask = returnMask; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicTileOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicTileOptions.java deleted file mode 100644 index 5dffafca4522..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicTileOptions.java +++ /dev/null @@ -1,650 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for mosaic tiles. - */ -@Fluent -public final class GetMosaicTileOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Return as soon as we scan N items (defaults to 10000 in PgSTAC). - */ - @Generated - private Integer scanLimit; - - /* - * Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). - */ - @Generated - private Integer itemsLimit; - - /* - * Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). - */ - @Generated - private Integer timeLimit; - - /* - * Return as soon as the geometry is fully covered (defaults to True in PgSTAC). - */ - @Generated - private Boolean exitWhenFull; - - /* - * Skip any items that would show up completely under the previous items (defaults - * to True in PgSTAC). - */ - @Generated - private Boolean skipCovered; - - /* - * Terrain algorithm name - */ - @Generated - private TerrainAlgorithm algorithm; - - /* - * Terrain algorithm parameters - */ - @Generated - private String algorithmParams; - - /* - * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - */ - @Generated - private String buffer; - - /* - * rio-color formula (info: https://github.com/mapbox/rio-color) - */ - @Generated - private String colorFormula; - - /* - * STAC Collection ID - */ - @Generated - private String collection; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * Pixel selection method. - */ - @Generated - private PixelSelection pixelSelection; - - /* - * comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - */ - @Generated - private List rescale; - - /* - * Colormap name - */ - @Generated - private ColorMapNames colorMapName; - - /* - * JSON encoded custom Colormap - */ - @Generated - private String colorMap; - - /* - * Add mask to the output data. - */ - @Generated - private Boolean returnMask; - - /** - * Creates an instance of GetMosaicTileOptions class. - */ - @Generated - public GetMosaicTileOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the scanLimit property: Return as soon as we scan N items (defaults to 10000 in PgSTAC). - * - * @return the scanLimit value. - */ - @Generated - public Integer getScanLimit() { - return this.scanLimit; - } - - /** - * Set the scanLimit property: Return as soon as we scan N items (defaults to 10000 in PgSTAC). - * - * @param scanLimit the scanLimit value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setScanLimit(Integer scanLimit) { - this.scanLimit = scanLimit; - return this; - } - - /** - * Get the itemsLimit property: Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). - * - * @return the itemsLimit value. - */ - @Generated - public Integer getItemsLimit() { - return this.itemsLimit; - } - - /** - * Set the itemsLimit property: Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). - * - * @param itemsLimit the itemsLimit value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setItemsLimit(Integer itemsLimit) { - this.itemsLimit = itemsLimit; - return this; - } - - /** - * Get the timeLimit property: Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). - * - * @return the timeLimit value. - */ - @Generated - public Integer getTimeLimit() { - return this.timeLimit; - } - - /** - * Set the timeLimit property: Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). - * - * @param timeLimit the timeLimit value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setTimeLimit(Integer timeLimit) { - this.timeLimit = timeLimit; - return this; - } - - /** - * Get the exitWhenFull property: Return as soon as the geometry is fully covered (defaults to True in PgSTAC). - * - * @return the exitWhenFull value. - */ - @Generated - public Boolean isExitWhenFull() { - return this.exitWhenFull; - } - - /** - * Set the exitWhenFull property: Return as soon as the geometry is fully covered (defaults to True in PgSTAC). - * - * @param exitWhenFull the exitWhenFull value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setExitWhenFull(Boolean exitWhenFull) { - this.exitWhenFull = exitWhenFull; - return this; - } - - /** - * Get the skipCovered property: Skip any items that would show up completely under the previous items (defaults - * to True in PgSTAC). - * - * @return the skipCovered value. - */ - @Generated - public Boolean isSkipCovered() { - return this.skipCovered; - } - - /** - * Set the skipCovered property: Skip any items that would show up completely under the previous items (defaults - * to True in PgSTAC). - * - * @param skipCovered the skipCovered value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setSkipCovered(Boolean skipCovered) { - this.skipCovered = skipCovered; - return this; - } - - /** - * Get the algorithm property: Terrain algorithm name. - * - * @return the algorithm value. - */ - @Generated - public TerrainAlgorithm getAlgorithm() { - return this.algorithm; - } - - /** - * Set the algorithm property: Terrain algorithm name. - * - * @param algorithm the algorithm value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setAlgorithm(TerrainAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the algorithmParams property: Terrain algorithm parameters. - * - * @return the algorithmParams value. - */ - @Generated - public String getAlgorithmParams() { - return this.algorithmParams; - } - - /** - * Set the algorithmParams property: Terrain algorithm parameters. - * - * @param algorithmParams the algorithmParams value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setAlgorithmParams(String algorithmParams) { - this.algorithmParams = algorithmParams; - return this; - } - - /** - * Get the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @return the buffer value. - */ - @Generated - public String getBuffer() { - return this.buffer; - } - - /** - * Set the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @param buffer the buffer value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setBuffer(String buffer) { - this.buffer = buffer; - return this; - } - - /** - * Get the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @return the colorFormula value. - */ - @Generated - public String getColorFormula() { - return this.colorFormula; - } - - /** - * Set the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @param colorFormula the colorFormula value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setColorFormula(String colorFormula) { - this.colorFormula = colorFormula; - return this; - } - - /** - * Get the collection property: STAC Collection ID. - * - * @return the collection value. - */ - @Generated - public String getCollection() { - return this.collection; - } - - /** - * Set the collection property: STAC Collection ID. - * - * @param collection the collection value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setCollection(String collection) { - this.collection = collection; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the pixelSelection property: Pixel selection method. - * - * @return the pixelSelection value. - */ - @Generated - public PixelSelection getPixelSelection() { - return this.pixelSelection; - } - - /** - * Set the pixelSelection property: Pixel selection method. - * - * @param pixelSelection the pixelSelection value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setPixelSelection(PixelSelection pixelSelection) { - this.pixelSelection = pixelSelection; - return this; - } - - /** - * Get the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @return the rescale value. - */ - @Generated - public List getRescale() { - return this.rescale; - } - - /** - * Set the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @param rescale the rescale value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setRescale(List rescale) { - this.rescale = rescale; - return this; - } - - /** - * Get the colorMapName property: Colormap name. - * - * @return the colorMapName value. - */ - @Generated - public ColorMapNames getColorMapName() { - return this.colorMapName; - } - - /** - * Set the colorMapName property: Colormap name. - * - * @param colorMapName the colorMapName value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setColorMapName(ColorMapNames colorMapName) { - this.colorMapName = colorMapName; - return this; - } - - /** - * Get the colorMap property: JSON encoded custom Colormap. - * - * @return the colorMap value. - */ - @Generated - public String getColorMap() { - return this.colorMap; - } - - /** - * Set the colorMap property: JSON encoded custom Colormap. - * - * @param colorMap the colorMap value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setColorMap(String colorMap) { - this.colorMap = colorMap; - return this; - } - - /** - * Get the returnMask property: Add mask to the output data. - * - * @return the returnMask value. - */ - @Generated - public Boolean isReturnMask() { - return this.returnMask; - } - - /** - * Set the returnMask property: Add mask to the output data. - * - * @param returnMask the returnMask value to set. - * @return the GetMosaicTileOptions object itself. - */ - @Generated - public GetMosaicTileOptions setReturnMask(Boolean returnMask) { - this.returnMask = returnMask; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicWmtsCapabilitiesOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicWmtsCapabilitiesOptions.java deleted file mode 100644 index d114b330327b..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicWmtsCapabilitiesOptions.java +++ /dev/null @@ -1,565 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for mosaic WMTS capabilities. - */ -@Fluent -public final class GetMosaicWmtsCapabilitiesOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Terrain algorithm name - */ - @Generated - private TerrainAlgorithm algorithm; - - /* - * Terrain algorithm parameters - */ - @Generated - private String algorithmParams; - - /* - * Output image type. Default is png. - */ - @Generated - private TilerImageFormat tileFormat; - - /* - * Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). - */ - @Generated - private Integer tileScale; - - /* - * Overwrite default minzoom. - */ - @Generated - private Integer minZoom; - - /* - * Overwrite default maxzoom. - */ - @Generated - private Integer maxZoom; - - /* - * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - */ - @Generated - private String buffer; - - /* - * rio-color formula (info: https://github.com/mapbox/rio-color) - */ - @Generated - private String colorFormula; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - */ - @Generated - private List rescale; - - /* - * Colormap name - */ - @Generated - private ColorMapNames colorMapName; - - /* - * JSON encoded custom Colormap - */ - @Generated - private String colorMap; - - /* - * Add mask to the output data. - */ - @Generated - private Boolean returnMask; - - /** - * Creates an instance of GetMosaicWmtsCapabilitiesOptions class. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the algorithm property: Terrain algorithm name. - * - * @return the algorithm value. - */ - @Generated - public TerrainAlgorithm getAlgorithm() { - return this.algorithm; - } - - /** - * Set the algorithm property: Terrain algorithm name. - * - * @param algorithm the algorithm value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setAlgorithm(TerrainAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the algorithmParams property: Terrain algorithm parameters. - * - * @return the algorithmParams value. - */ - @Generated - public String getAlgorithmParams() { - return this.algorithmParams; - } - - /** - * Set the algorithmParams property: Terrain algorithm parameters. - * - * @param algorithmParams the algorithmParams value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setAlgorithmParams(String algorithmParams) { - this.algorithmParams = algorithmParams; - return this; - } - - /** - * Get the tileFormat property: Output image type. Default is png. - * - * @return the tileFormat value. - */ - @Generated - public TilerImageFormat getTileFormat() { - return this.tileFormat; - } - - /** - * Set the tileFormat property: Output image type. Default is png. - * - * @param tileFormat the tileFormat value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setTileFormat(TilerImageFormat tileFormat) { - this.tileFormat = tileFormat; - return this; - } - - /** - * Get the tileScale property: Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., - * 1=256x256, 2=512x512). - * - * @return the tileScale value. - */ - @Generated - public Integer getTileScale() { - return this.tileScale; - } - - /** - * Set the tileScale property: Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., - * 1=256x256, 2=512x512). - * - * @param tileScale the tileScale value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setTileScale(Integer tileScale) { - this.tileScale = tileScale; - return this; - } - - /** - * Get the minZoom property: Overwrite default minzoom. - * - * @return the minZoom value. - */ - @Generated - public Integer getMinZoom() { - return this.minZoom; - } - - /** - * Set the minZoom property: Overwrite default minzoom. - * - * @param minZoom the minZoom value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setMinZoom(Integer minZoom) { - this.minZoom = minZoom; - return this; - } - - /** - * Get the maxZoom property: Overwrite default maxzoom. - * - * @return the maxZoom value. - */ - @Generated - public Integer getMaxZoom() { - return this.maxZoom; - } - - /** - * Set the maxZoom property: Overwrite default maxzoom. - * - * @param maxZoom the maxZoom value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setMaxZoom(Integer maxZoom) { - this.maxZoom = maxZoom; - return this; - } - - /** - * Get the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @return the buffer value. - */ - @Generated - public String getBuffer() { - return this.buffer; - } - - /** - * Set the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @param buffer the buffer value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setBuffer(String buffer) { - this.buffer = buffer; - return this; - } - - /** - * Get the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @return the colorFormula value. - */ - @Generated - public String getColorFormula() { - return this.colorFormula; - } - - /** - * Set the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @param colorFormula the colorFormula value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setColorFormula(String colorFormula) { - this.colorFormula = colorFormula; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @return the rescale value. - */ - @Generated - public List getRescale() { - return this.rescale; - } - - /** - * Set the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @param rescale the rescale value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setRescale(List rescale) { - this.rescale = rescale; - return this; - } - - /** - * Get the colorMapName property: Colormap name. - * - * @return the colorMapName value. - */ - @Generated - public ColorMapNames getColorMapName() { - return this.colorMapName; - } - - /** - * Set the colorMapName property: Colormap name. - * - * @param colorMapName the colorMapName value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setColorMapName(ColorMapNames colorMapName) { - this.colorMapName = colorMapName; - return this; - } - - /** - * Get the colorMap property: JSON encoded custom Colormap. - * - * @return the colorMap value. - */ - @Generated - public String getColorMap() { - return this.colorMap; - } - - /** - * Set the colorMap property: JSON encoded custom Colormap. - * - * @param colorMap the colorMap value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setColorMap(String colorMap) { - this.colorMap = colorMap; - return this; - } - - /** - * Get the returnMask property: Add mask to the output data. - * - * @return the returnMask value. - */ - @Generated - public Boolean isReturnMask() { - return this.returnMask; - } - - /** - * Set the returnMask property: Add mask to the output data. - * - * @param returnMask the returnMask value to set. - * @return the GetMosaicWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetMosaicWmtsCapabilitiesOptions setReturnMask(Boolean returnMask) { - this.returnMask = returnMask; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetPartOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetPartOptions.java deleted file mode 100644 index a32ff3feae85..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetPartOptions.java +++ /dev/null @@ -1,503 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for getting parts (cropped to bounding box). - */ -@Fluent -public final class GetPartOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Terrain algorithm name - */ - @Generated - private TerrainAlgorithm algorithm; - - /* - * Terrain algorithm parameters - */ - @Generated - private String algorithmParams; - - /* - * rio-color formula (info: https://github.com/mapbox/rio-color) - */ - @Generated - private String colorFormula; - - /* - * Coordinate Reference System of the input coords. Default to `epsg:4326`. - */ - @Generated - private String coordinateReferenceSystem; - - /* - * Output Coordinate Reference System. - */ - @Generated - private String dstCrs; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * Image output size limit if width and height limits are not set. - */ - @Generated - private Integer maxSize; - - /* - * comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - */ - @Generated - private List rescale; - - /* - * Colormap name - */ - @Generated - private ColorMapNames colorMapName; - - /* - * JSON encoded custom Colormap - */ - @Generated - private String colorMap; - - /* - * Add mask to the output data. - */ - @Generated - private Boolean returnMask; - - /** - * Creates an instance of GetPartOptions class. - */ - @Generated - public GetPartOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the algorithm property: Terrain algorithm name. - * - * @return the algorithm value. - */ - @Generated - public TerrainAlgorithm getAlgorithm() { - return this.algorithm; - } - - /** - * Set the algorithm property: Terrain algorithm name. - * - * @param algorithm the algorithm value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setAlgorithm(TerrainAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the algorithmParams property: Terrain algorithm parameters. - * - * @return the algorithmParams value. - */ - @Generated - public String getAlgorithmParams() { - return this.algorithmParams; - } - - /** - * Set the algorithmParams property: Terrain algorithm parameters. - * - * @param algorithmParams the algorithmParams value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setAlgorithmParams(String algorithmParams) { - this.algorithmParams = algorithmParams; - return this; - } - - /** - * Get the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @return the colorFormula value. - */ - @Generated - public String getColorFormula() { - return this.colorFormula; - } - - /** - * Set the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @param colorFormula the colorFormula value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setColorFormula(String colorFormula) { - this.colorFormula = colorFormula; - return this; - } - - /** - * Get the coordinateReferenceSystem property: Coordinate Reference System of the input coords. Default to - * `epsg:4326`. - * - * @return the coordinateReferenceSystem value. - */ - @Generated - public String getCoordinateReferenceSystem() { - return this.coordinateReferenceSystem; - } - - /** - * Set the coordinateReferenceSystem property: Coordinate Reference System of the input coords. Default to - * `epsg:4326`. - * - * @param coordinateReferenceSystem the coordinateReferenceSystem value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setCoordinateReferenceSystem(String coordinateReferenceSystem) { - this.coordinateReferenceSystem = coordinateReferenceSystem; - return this; - } - - /** - * Get the dstCrs property: Output Coordinate Reference System. - * - * @return the dstCrs value. - */ - @Generated - public String getDstCrs() { - return this.dstCrs; - } - - /** - * Set the dstCrs property: Output Coordinate Reference System. - * - * @param dstCrs the dstCrs value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setDstCrs(String dstCrs) { - this.dstCrs = dstCrs; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the maxSize property: Image output size limit if width and height limits are not set. - * - * @return the maxSize value. - */ - @Generated - public Integer getMaxSize() { - return this.maxSize; - } - - /** - * Set the maxSize property: Image output size limit if width and height limits are not set. - * - * @param maxSize the maxSize value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setMaxSize(Integer maxSize) { - this.maxSize = maxSize; - return this; - } - - /** - * Get the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @return the rescale value. - */ - @Generated - public List getRescale() { - return this.rescale; - } - - /** - * Set the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @param rescale the rescale value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setRescale(List rescale) { - this.rescale = rescale; - return this; - } - - /** - * Get the colorMapName property: Colormap name. - * - * @return the colorMapName value. - */ - @Generated - public ColorMapNames getColorMapName() { - return this.colorMapName; - } - - /** - * Set the colorMapName property: Colormap name. - * - * @param colorMapName the colorMapName value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setColorMapName(ColorMapNames colorMapName) { - this.colorMapName = colorMapName; - return this; - } - - /** - * Get the colorMap property: JSON encoded custom Colormap. - * - * @return the colorMap value. - */ - @Generated - public String getColorMap() { - return this.colorMap; - } - - /** - * Set the colorMap property: JSON encoded custom Colormap. - * - * @param colorMap the colorMap value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setColorMap(String colorMap) { - this.colorMap = colorMap; - return this; - } - - /** - * Get the returnMask property: Add mask to the output data. - * - * @return the returnMask value. - */ - @Generated - public Boolean isReturnMask() { - return this.returnMask; - } - - /** - * Set the returnMask property: Add mask to the output data. - * - * @param returnMask the returnMask value to set. - * @return the GetPartOptions object itself. - */ - @Generated - public GetPartOptions setReturnMask(Boolean returnMask) { - this.returnMask = returnMask; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetPreviewOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetPreviewOptions.java deleted file mode 100644 index 426c04a024cc..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetPreviewOptions.java +++ /dev/null @@ -1,529 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for getting previews. - */ -@Fluent -public final class GetPreviewOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Terrain algorithm name - */ - @Generated - private TerrainAlgorithm algorithm; - - /* - * Terrain algorithm parameters - */ - @Generated - private String algorithmParams; - - /* - * rio-color formula (info: https://github.com/mapbox/rio-color) - */ - @Generated - private String colorFormula; - - /* - * Output Coordinate Reference System. - */ - @Generated - private String dstCrs; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * Image output size limit if width and height limits are not set. - */ - @Generated - private Integer maxSize; - - /* - * Height in pixels for the output image - */ - @Generated - private Integer height; - - /* - * Width in pixels for the output image - */ - @Generated - private Integer width; - - /* - * comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - */ - @Generated - private List rescale; - - /* - * Colormap name - */ - @Generated - private ColorMapNames colorMapName; - - /* - * JSON encoded custom Colormap - */ - @Generated - private String colorMap; - - /* - * Add mask to the output data. - */ - @Generated - private Boolean returnMask; - - /** - * Creates an instance of GetPreviewOptions class. - */ - @Generated - public GetPreviewOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the algorithm property: Terrain algorithm name. - * - * @return the algorithm value. - */ - @Generated - public TerrainAlgorithm getAlgorithm() { - return this.algorithm; - } - - /** - * Set the algorithm property: Terrain algorithm name. - * - * @param algorithm the algorithm value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setAlgorithm(TerrainAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the algorithmParams property: Terrain algorithm parameters. - * - * @return the algorithmParams value. - */ - @Generated - public String getAlgorithmParams() { - return this.algorithmParams; - } - - /** - * Set the algorithmParams property: Terrain algorithm parameters. - * - * @param algorithmParams the algorithmParams value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setAlgorithmParams(String algorithmParams) { - this.algorithmParams = algorithmParams; - return this; - } - - /** - * Get the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @return the colorFormula value. - */ - @Generated - public String getColorFormula() { - return this.colorFormula; - } - - /** - * Set the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @param colorFormula the colorFormula value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setColorFormula(String colorFormula) { - this.colorFormula = colorFormula; - return this; - } - - /** - * Get the dstCrs property: Output Coordinate Reference System. - * - * @return the dstCrs value. - */ - @Generated - public String getDstCrs() { - return this.dstCrs; - } - - /** - * Set the dstCrs property: Output Coordinate Reference System. - * - * @param dstCrs the dstCrs value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setDstCrs(String dstCrs) { - this.dstCrs = dstCrs; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the maxSize property: Image output size limit if width and height limits are not set. - * - * @return the maxSize value. - */ - @Generated - public Integer getMaxSize() { - return this.maxSize; - } - - /** - * Set the maxSize property: Image output size limit if width and height limits are not set. - * - * @param maxSize the maxSize value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setMaxSize(Integer maxSize) { - this.maxSize = maxSize; - return this; - } - - /** - * Get the height property: Height in pixels for the output image. - * - * @return the height value. - */ - @Generated - public Integer getHeight() { - return this.height; - } - - /** - * Set the height property: Height in pixels for the output image. - * - * @param height the height value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setHeight(Integer height) { - this.height = height; - return this; - } - - /** - * Get the width property: Width in pixels for the output image. - * - * @return the width value. - */ - @Generated - public Integer getWidth() { - return this.width; - } - - /** - * Set the width property: Width in pixels for the output image. - * - * @param width the width value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setWidth(Integer width) { - this.width = width; - return this; - } - - /** - * Get the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @return the rescale value. - */ - @Generated - public List getRescale() { - return this.rescale; - } - - /** - * Set the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @param rescale the rescale value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setRescale(List rescale) { - this.rescale = rescale; - return this; - } - - /** - * Get the colorMapName property: Colormap name. - * - * @return the colorMapName value. - */ - @Generated - public ColorMapNames getColorMapName() { - return this.colorMapName; - } - - /** - * Set the colorMapName property: Colormap name. - * - * @param colorMapName the colorMapName value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setColorMapName(ColorMapNames colorMapName) { - this.colorMapName = colorMapName; - return this; - } - - /** - * Get the colorMap property: JSON encoded custom Colormap. - * - * @return the colorMap value. - */ - @Generated - public String getColorMap() { - return this.colorMap; - } - - /** - * Set the colorMap property: JSON encoded custom Colormap. - * - * @param colorMap the colorMap value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setColorMap(String colorMap) { - this.colorMap = colorMap; - return this; - } - - /** - * Get the returnMask property: Add mask to the output data. - * - * @return the returnMask value. - */ - @Generated - public Boolean isReturnMask() { - return this.returnMask; - } - - /** - * Set the returnMask property: Add mask to the output data. - * - * @param returnMask the returnMask value to set. - * @return the GetPreviewOptions object itself. - */ - @Generated - public GetPreviewOptions setReturnMask(Boolean returnMask) { - this.returnMask = returnMask; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetStatisticsOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetStatisticsOptions.java deleted file mode 100644 index 21490fe36758..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetStatisticsOptions.java +++ /dev/null @@ -1,434 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for getting statistics. - */ -@Fluent -public final class GetStatisticsOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * Maximum dimension in pixels for the source data used to calculate statistics - */ - @Generated - private Integer maxSize; - - /* - * Return statistics for categorical dataset. - */ - @Generated - private Boolean categorical; - - /* - * List of pixel categorical values for which to report counts. - */ - @Generated - private List categoriesPixels; - - /* - * List of percentile values (default to [2, 98]). - */ - @Generated - private List percentiles; - - /* - * Defines the number of equal-width bins in the given range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html - */ - @Generated - private String histogramBins; - - /* - * Comma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html - */ - @Generated - private String histogramRange; - - /** - * Creates an instance of GetStatisticsOptions class. - */ - @Generated - public GetStatisticsOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the maxSize property: Maximum dimension in pixels for the source data used to calculate statistics. - * - * @return the maxSize value. - */ - @Generated - public Integer getMaxSize() { - return this.maxSize; - } - - /** - * Set the maxSize property: Maximum dimension in pixels for the source data used to calculate statistics. - * - * @param maxSize the maxSize value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setMaxSize(Integer maxSize) { - this.maxSize = maxSize; - return this; - } - - /** - * Get the categorical property: Return statistics for categorical dataset. - * - * @return the categorical value. - */ - @Generated - public Boolean isCategorical() { - return this.categorical; - } - - /** - * Set the categorical property: Return statistics for categorical dataset. - * - * @param categorical the categorical value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setCategorical(Boolean categorical) { - this.categorical = categorical; - return this; - } - - /** - * Get the categoriesPixels property: List of pixel categorical values for which to report counts. - * - * @return the categoriesPixels value. - */ - @Generated - public List getCategoriesPixels() { - return this.categoriesPixels; - } - - /** - * Set the categoriesPixels property: List of pixel categorical values for which to report counts. - * - * @param categoriesPixels the categoriesPixels value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setCategoriesPixels(List categoriesPixels) { - this.categoriesPixels = categoriesPixels; - return this; - } - - /** - * Get the percentiles property: List of percentile values (default to [2, 98]). - * - * @return the percentiles value. - */ - @Generated - public List getPercentiles() { - return this.percentiles; - } - - /** - * Set the percentiles property: List of percentile values (default to [2, 98]). - * - * @param percentiles the percentiles value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setPercentiles(List percentiles) { - this.percentiles = percentiles; - return this; - } - - /** - * Get the histogramBins property: Defines the number of equal-width bins in the given range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @return the histogramBins value. - */ - @Generated - public String getHistogramBins() { - return this.histogramBins; - } - - /** - * Set the histogramBins property: Defines the number of equal-width bins in the given range (10, by default). - * - * If bins is a sequence (comma `,` delimited values), it defines a monotonically - * increasing array of bin edges, including the rightmost edge, allowing for - * non-uniform bin widths. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @param histogramBins the histogramBins value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setHistogramBins(String histogramBins) { - this.histogramBins = histogramBins; - return this; - } - - /** - * Get the histogramRange property: Comma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @return the histogramRange value. - */ - @Generated - public String getHistogramRange() { - return this.histogramRange; - } - - /** - * Set the histogramRange property: Comma `,` delimited range of the bins. - * - * The lower and upper range of the bins. If not provided, range is simply - * (a.min(), a.max()). - * - * Values outside the range are ignored. The first element of the range must be - * less than or equal to the second. - * range affects the automatic bin computation as well. - * - * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html. - * - * @param histogramRange the histogramRange value to set. - * @return the GetStatisticsOptions object itself. - */ - @Generated - public GetStatisticsOptions setHistogramRange(String histogramRange) { - this.histogramRange = histogramRange; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetTileJsonOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetTileJsonOptions.java deleted file mode 100644 index d768c5652a60..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetTileJsonOptions.java +++ /dev/null @@ -1,568 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for getting TileJSON. - */ -@Fluent -public final class GetTileJsonOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Terrain algorithm name - */ - @Generated - private TerrainAlgorithm algorithm; - - /* - * Terrain algorithm parameters - */ - @Generated - private String algorithmParams; - - /* - * Default will be automatically defined if the output image needs a mask (png) or - * not (jpeg). - */ - @Generated - private TilerImageFormat tileFormat; - - /* - * Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). - */ - @Generated - private Integer tileScale; - - /* - * Overwrite default minzoom. - */ - @Generated - private Integer minZoom; - - /* - * Overwrite default maxzoom. - */ - @Generated - private Integer maxZoom; - - /* - * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - */ - @Generated - private String buffer; - - /* - * rio-color formula (info: https://github.com/mapbox/rio-color) - */ - @Generated - private String colorFormula; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - */ - @Generated - private List rescale; - - /* - * Colormap name - */ - @Generated - private ColorMapNames colorMapName; - - /* - * JSON encoded custom Colormap - */ - @Generated - private String colorMap; - - /* - * Add mask to the output data. - */ - @Generated - private Boolean returnMask; - - /** - * Creates an instance of GetTileJsonOptions class. - */ - @Generated - public GetTileJsonOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the algorithm property: Terrain algorithm name. - * - * @return the algorithm value. - */ - @Generated - public TerrainAlgorithm getAlgorithm() { - return this.algorithm; - } - - /** - * Set the algorithm property: Terrain algorithm name. - * - * @param algorithm the algorithm value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setAlgorithm(TerrainAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the algorithmParams property: Terrain algorithm parameters. - * - * @return the algorithmParams value. - */ - @Generated - public String getAlgorithmParams() { - return this.algorithmParams; - } - - /** - * Set the algorithmParams property: Terrain algorithm parameters. - * - * @param algorithmParams the algorithmParams value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setAlgorithmParams(String algorithmParams) { - this.algorithmParams = algorithmParams; - return this; - } - - /** - * Get the tileFormat property: Default will be automatically defined if the output image needs a mask (png) or - * not (jpeg). - * - * @return the tileFormat value. - */ - @Generated - public TilerImageFormat getTileFormat() { - return this.tileFormat; - } - - /** - * Set the tileFormat property: Default will be automatically defined if the output image needs a mask (png) or - * not (jpeg). - * - * @param tileFormat the tileFormat value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setTileFormat(TilerImageFormat tileFormat) { - this.tileFormat = tileFormat; - return this; - } - - /** - * Get the tileScale property: Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., - * 1=256x256, 2=512x512). - * - * @return the tileScale value. - */ - @Generated - public Integer getTileScale() { - return this.tileScale; - } - - /** - * Set the tileScale property: Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., - * 1=256x256, 2=512x512). - * - * @param tileScale the tileScale value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setTileScale(Integer tileScale) { - this.tileScale = tileScale; - return this; - } - - /** - * Get the minZoom property: Overwrite default minzoom. - * - * @return the minZoom value. - */ - @Generated - public Integer getMinZoom() { - return this.minZoom; - } - - /** - * Set the minZoom property: Overwrite default minzoom. - * - * @param minZoom the minZoom value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setMinZoom(Integer minZoom) { - this.minZoom = minZoom; - return this; - } - - /** - * Get the maxZoom property: Overwrite default maxzoom. - * - * @return the maxZoom value. - */ - @Generated - public Integer getMaxZoom() { - return this.maxZoom; - } - - /** - * Set the maxZoom property: Overwrite default maxzoom. - * - * @param maxZoom the maxZoom value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setMaxZoom(Integer maxZoom) { - this.maxZoom = maxZoom; - return this; - } - - /** - * Get the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @return the buffer value. - */ - @Generated - public String getBuffer() { - return this.buffer; - } - - /** - * Set the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @param buffer the buffer value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setBuffer(String buffer) { - this.buffer = buffer; - return this; - } - - /** - * Get the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @return the colorFormula value. - */ - @Generated - public String getColorFormula() { - return this.colorFormula; - } - - /** - * Set the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @param colorFormula the colorFormula value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setColorFormula(String colorFormula) { - this.colorFormula = colorFormula; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @return the rescale value. - */ - @Generated - public List getRescale() { - return this.rescale; - } - - /** - * Set the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @param rescale the rescale value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setRescale(List rescale) { - this.rescale = rescale; - return this; - } - - /** - * Get the colorMapName property: Colormap name. - * - * @return the colorMapName value. - */ - @Generated - public ColorMapNames getColorMapName() { - return this.colorMapName; - } - - /** - * Set the colorMapName property: Colormap name. - * - * @param colorMapName the colorMapName value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setColorMapName(ColorMapNames colorMapName) { - this.colorMapName = colorMapName; - return this; - } - - /** - * Get the colorMap property: JSON encoded custom Colormap. - * - * @return the colorMap value. - */ - @Generated - public String getColorMap() { - return this.colorMap; - } - - /** - * Set the colorMap property: JSON encoded custom Colormap. - * - * @param colorMap the colorMap value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setColorMap(String colorMap) { - this.colorMap = colorMap; - return this; - } - - /** - * Get the returnMask property: Add mask to the output data. - * - * @return the returnMask value. - */ - @Generated - public Boolean isReturnMask() { - return this.returnMask; - } - - /** - * Set the returnMask property: Add mask to the output data. - * - * @param returnMask the returnMask value to set. - * @return the GetTileJsonOptions object itself. - */ - @Generated - public GetTileJsonOptions setReturnMask(Boolean returnMask) { - this.returnMask = returnMask; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetTileOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetTileOptions.java deleted file mode 100644 index 6f6e28045f1e..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetTileOptions.java +++ /dev/null @@ -1,507 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for getting a tile from a dataset. - */ -@Fluent -public final class GetTileOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Terrain algorithm name - */ - @Generated - private TerrainAlgorithm algorithm; - - /* - * Terrain algorithm parameters - */ - @Generated - private String algorithmParams; - - /* - * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - */ - @Generated - private String buffer; - - /* - * rio-color formula (info: https://github.com/mapbox/rio-color) - */ - @Generated - private String colorFormula; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - */ - @Generated - private List rescale; - - /* - * Colormap name - */ - @Generated - private ColorMapNames colorMapName; - - /* - * JSON encoded custom Colormap - */ - @Generated - private String colorMap; - - /* - * Add mask to the output data. - */ - @Generated - private Boolean returnMask; - - /* - * The name of a subdataset within the asset. - */ - @Generated - private String subdatasetName; - - /* - * The index of a subdataset band within the asset. - */ - @Generated - private List subdatasetBands; - - /** - * Creates an instance of GetTileOptions class. - */ - @Generated - public GetTileOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the algorithm property: Terrain algorithm name. - * - * @return the algorithm value. - */ - @Generated - public TerrainAlgorithm getAlgorithm() { - return this.algorithm; - } - - /** - * Set the algorithm property: Terrain algorithm name. - * - * @param algorithm the algorithm value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setAlgorithm(TerrainAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the algorithmParams property: Terrain algorithm parameters. - * - * @return the algorithmParams value. - */ - @Generated - public String getAlgorithmParams() { - return this.algorithmParams; - } - - /** - * Set the algorithmParams property: Terrain algorithm parameters. - * - * @param algorithmParams the algorithmParams value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setAlgorithmParams(String algorithmParams) { - this.algorithmParams = algorithmParams; - return this; - } - - /** - * Get the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @return the buffer value. - */ - @Generated - public String getBuffer() { - return this.buffer; - } - - /** - * Set the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @param buffer the buffer value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setBuffer(String buffer) { - this.buffer = buffer; - return this; - } - - /** - * Get the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @return the colorFormula value. - */ - @Generated - public String getColorFormula() { - return this.colorFormula; - } - - /** - * Set the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @param colorFormula the colorFormula value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setColorFormula(String colorFormula) { - this.colorFormula = colorFormula; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @return the rescale value. - */ - @Generated - public List getRescale() { - return this.rescale; - } - - /** - * Set the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @param rescale the rescale value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setRescale(List rescale) { - this.rescale = rescale; - return this; - } - - /** - * Get the colorMapName property: Colormap name. - * - * @return the colorMapName value. - */ - @Generated - public ColorMapNames getColorMapName() { - return this.colorMapName; - } - - /** - * Set the colorMapName property: Colormap name. - * - * @param colorMapName the colorMapName value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setColorMapName(ColorMapNames colorMapName) { - this.colorMapName = colorMapName; - return this; - } - - /** - * Get the colorMap property: JSON encoded custom Colormap. - * - * @return the colorMap value. - */ - @Generated - public String getColorMap() { - return this.colorMap; - } - - /** - * Set the colorMap property: JSON encoded custom Colormap. - * - * @param colorMap the colorMap value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setColorMap(String colorMap) { - this.colorMap = colorMap; - return this; - } - - /** - * Get the returnMask property: Add mask to the output data. - * - * @return the returnMask value. - */ - @Generated - public Boolean isReturnMask() { - return this.returnMask; - } - - /** - * Set the returnMask property: Add mask to the output data. - * - * @param returnMask the returnMask value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setReturnMask(Boolean returnMask) { - this.returnMask = returnMask; - return this; - } - - /** - * Get the subdatasetName property: The name of a subdataset within the asset. - * - * @return the subdatasetName value. - */ - @Generated - public String getSubdatasetName() { - return this.subdatasetName; - } - - /** - * Set the subdatasetName property: The name of a subdataset within the asset. - * - * @param subdatasetName the subdatasetName value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setSubdatasetName(String subdatasetName) { - this.subdatasetName = subdatasetName; - return this; - } - - /** - * Get the subdatasetBands property: The index of a subdataset band within the asset. - * - * @return the subdatasetBands value. - */ - @Generated - public List getSubdatasetBands() { - return this.subdatasetBands; - } - - /** - * Set the subdatasetBands property: The index of a subdataset band within the asset. - * - * @param subdatasetBands the subdatasetBands value to set. - * @return the GetTileOptions object itself. - */ - @Generated - public GetTileOptions setSubdatasetBands(List subdatasetBands) { - this.subdatasetBands = subdatasetBands; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetWmtsCapabilitiesOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetWmtsCapabilitiesOptions.java deleted file mode 100644 index 8475f8de831a..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetWmtsCapabilitiesOptions.java +++ /dev/null @@ -1,565 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import java.util.List; - -/** - * Options for getting WMTS capabilities. - */ -@Fluent -public final class GetWmtsCapabilitiesOptions { - /* - * Asset's names. - */ - @Generated - private List assets; - - /* - * Band math expression between assets - */ - @Generated - private String expression; - - /* - * Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use the bands 1, 2, and 3 from the asset - * named "image") - */ - @Generated - private String assetBandIndices; - - /* - * Asset as Band - */ - @Generated - private Boolean assetAsBand; - - /* - * Overwrite internal Nodata value - */ - @Generated - private Double noData; - - /* - * Apply internal Scale or Offset - */ - @Generated - private Boolean unscale; - - /* - * Terrain algorithm name - */ - @Generated - private TerrainAlgorithm algorithm; - - /* - * Terrain algorithm parameters - */ - @Generated - private String algorithmParams; - - /* - * Output image type. Default is png. - */ - @Generated - private TilerImageFormat tileFormat; - - /* - * Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). - */ - @Generated - private Integer tileScale; - - /* - * Overwrite default minzoom. - */ - @Generated - private Integer minZoom; - - /* - * Overwrite default maxzoom. - */ - @Generated - private Integer maxZoom; - - /* - * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - */ - @Generated - private String buffer; - - /* - * rio-color formula (info: https://github.com/mapbox/rio-color) - */ - @Generated - private String colorFormula; - - /* - * Resampling method. - */ - @Generated - private Resampling resampling; - - /* - * comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - */ - @Generated - private List rescale; - - /* - * Colormap name - */ - @Generated - private ColorMapNames colorMapName; - - /* - * JSON encoded custom Colormap - */ - @Generated - private String colorMap; - - /* - * Add mask to the output data. - */ - @Generated - private Boolean returnMask; - - /** - * Creates an instance of GetWmtsCapabilitiesOptions class. - */ - @Generated - public GetWmtsCapabilitiesOptions() { - } - - /** - * Get the assets property: Asset's names. - * - * @return the assets value. - */ - @Generated - public List getAssets() { - return this.assets; - } - - /** - * Set the assets property: Asset's names. - * - * @param assets the assets value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setAssets(List assets) { - this.assets = assets; - return this; - } - - /** - * Get the expression property: Band math expression between assets. - * - * @return the expression value. - */ - @Generated - public String getExpression() { - return this.expression; - } - - /** - * Set the expression property: Band math expression between assets. - * - * @param expression the expression value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setExpression(String expression) { - this.expression = expression; - return this; - } - - /** - * Get the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @return the assetBandIndices value. - */ - @Generated - public String getAssetBandIndices() { - return this.assetBandIndices; - } - - /** - * Set the assetBandIndices property: Per asset band indexes (coma separated indexes, e.g. "image|1,2,3" means use - * the bands 1, 2, and 3 from the asset named "image"). - * - * @param assetBandIndices the assetBandIndices value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setAssetBandIndices(String assetBandIndices) { - this.assetBandIndices = assetBandIndices; - return this; - } - - /** - * Get the assetAsBand property: Asset as Band. - * - * @return the assetAsBand value. - */ - @Generated - public Boolean isAssetAsBand() { - return this.assetAsBand; - } - - /** - * Set the assetAsBand property: Asset as Band. - * - * @param assetAsBand the assetAsBand value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setAssetAsBand(Boolean assetAsBand) { - this.assetAsBand = assetAsBand; - return this; - } - - /** - * Get the noData property: Overwrite internal Nodata value. - * - * @return the noData value. - */ - @Generated - public Double getNoData() { - return this.noData; - } - - /** - * Set the noData property: Overwrite internal Nodata value. - * - * @param noData the noData value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setNoData(Double noData) { - this.noData = noData; - return this; - } - - /** - * Get the unscale property: Apply internal Scale or Offset. - * - * @return the unscale value. - */ - @Generated - public Boolean isUnscale() { - return this.unscale; - } - - /** - * Set the unscale property: Apply internal Scale or Offset. - * - * @param unscale the unscale value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setUnscale(Boolean unscale) { - this.unscale = unscale; - return this; - } - - /** - * Get the algorithm property: Terrain algorithm name. - * - * @return the algorithm value. - */ - @Generated - public TerrainAlgorithm getAlgorithm() { - return this.algorithm; - } - - /** - * Set the algorithm property: Terrain algorithm name. - * - * @param algorithm the algorithm value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setAlgorithm(TerrainAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the algorithmParams property: Terrain algorithm parameters. - * - * @return the algorithmParams value. - */ - @Generated - public String getAlgorithmParams() { - return this.algorithmParams; - } - - /** - * Set the algorithmParams property: Terrain algorithm parameters. - * - * @param algorithmParams the algorithmParams value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setAlgorithmParams(String algorithmParams) { - this.algorithmParams = algorithmParams; - return this; - } - - /** - * Get the tileFormat property: Output image type. Default is png. - * - * @return the tileFormat value. - */ - @Generated - public TilerImageFormat getTileFormat() { - return this.tileFormat; - } - - /** - * Set the tileFormat property: Output image type. Default is png. - * - * @param tileFormat the tileFormat value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setTileFormat(TilerImageFormat tileFormat) { - this.tileFormat = tileFormat; - return this; - } - - /** - * Get the tileScale property: Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., - * 1=256x256, 2=512x512). - * - * @return the tileScale value. - */ - @Generated - public Integer getTileScale() { - return this.tileScale; - } - - /** - * Set the tileScale property: Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., - * 1=256x256, 2=512x512). - * - * @param tileScale the tileScale value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setTileScale(Integer tileScale) { - this.tileScale = tileScale; - return this; - } - - /** - * Get the minZoom property: Overwrite default minzoom. - * - * @return the minZoom value. - */ - @Generated - public Integer getMinZoom() { - return this.minZoom; - } - - /** - * Set the minZoom property: Overwrite default minzoom. - * - * @param minZoom the minZoom value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setMinZoom(Integer minZoom) { - this.minZoom = minZoom; - return this; - } - - /** - * Get the maxZoom property: Overwrite default maxzoom. - * - * @return the maxZoom value. - */ - @Generated - public Integer getMaxZoom() { - return this.maxZoom; - } - - /** - * Set the maxZoom property: Overwrite default maxzoom. - * - * @param maxZoom the maxZoom value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setMaxZoom(Integer maxZoom) { - this.maxZoom = maxZoom; - return this; - } - - /** - * Get the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @return the buffer value. - */ - @Generated - public String getBuffer() { - return this.buffer; - } - - /** - * Set the buffer property: Buffer on each side of the given tile. It must be a multiple of `0.5`. Output - * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, - * 1.0 = 258x258). - * - * @param buffer the buffer value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setBuffer(String buffer) { - this.buffer = buffer; - return this; - } - - /** - * Get the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @return the colorFormula value. - */ - @Generated - public String getColorFormula() { - return this.colorFormula; - } - - /** - * Set the colorFormula property: rio-color formula (info: https://github.com/mapbox/rio-color). - * - * @param colorFormula the colorFormula value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setColorFormula(String colorFormula) { - this.colorFormula = colorFormula; - return this; - } - - /** - * Get the resampling property: Resampling method. - * - * @return the resampling value. - */ - @Generated - public Resampling getResampling() { - return this.resampling; - } - - /** - * Set the resampling property: Resampling method. - * - * @param resampling the resampling value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setResampling(Resampling resampling) { - this.resampling = resampling; - return this; - } - - /** - * Get the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @return the rescale value. - */ - @Generated - public List getRescale() { - return this.rescale; - } - - /** - * Set the rescale property: comma (',') delimited Min,Max range. Can set multiple time for multiple bands. - * - * @param rescale the rescale value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setRescale(List rescale) { - this.rescale = rescale; - return this; - } - - /** - * Get the colorMapName property: Colormap name. - * - * @return the colorMapName value. - */ - @Generated - public ColorMapNames getColorMapName() { - return this.colorMapName; - } - - /** - * Set the colorMapName property: Colormap name. - * - * @param colorMapName the colorMapName value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setColorMapName(ColorMapNames colorMapName) { - this.colorMapName = colorMapName; - return this; - } - - /** - * Get the colorMap property: JSON encoded custom Colormap. - * - * @return the colorMap value. - */ - @Generated - public String getColorMap() { - return this.colorMap; - } - - /** - * Set the colorMap property: JSON encoded custom Colormap. - * - * @param colorMap the colorMap value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setColorMap(String colorMap) { - this.colorMap = colorMap; - return this; - } - - /** - * Get the returnMask property: Add mask to the output data. - * - * @return the returnMask value. - */ - @Generated - public Boolean isReturnMask() { - return this.returnMask; - } - - /** - * Set the returnMask property: Add mask to the output data. - * - * @param returnMask the returnMask value to set. - * @return the GetWmtsCapabilitiesOptions object itself. - */ - @Generated - public GetWmtsCapabilitiesOptions setReturnMask(Boolean returnMask) { - this.returnMask = returnMask; - return this; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ImageParameters.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ImageParameters.java deleted file mode 100644 index 5751f9eeadd9..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ImageParameters.java +++ /dev/null @@ -1,284 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.annotation.Fluent; -import com.azure.core.annotation.Generated; -import com.azure.json.JsonReader; -import com.azure.json.JsonSerializable; -import com.azure.json.JsonToken; -import com.azure.json.JsonWriter; -import java.io.IOException; -import java.util.Map; - -/** - * Parameters for requesting a rendered image from a collection. - */ -@Fluent -public final class ImageParameters implements JsonSerializable { - /* - * Cql - */ - @Generated - private final Map cql; - - /* - * Zoom - */ - @Generated - private Double zoom; - - /* - * Geometry - */ - @Generated - private Geometry geometry; - - /* - * JSON-encoded visualization parameters - */ - @Generated - private final String renderParameters; - - /* - * Width of the output image in pixels - */ - @Generated - private final int columns; - - /* - * Height of the output image in pixels - */ - @Generated - private final int rows; - - /* - * Whether to include branding on the output image - */ - @Generated - private Boolean showBranding; - - /* - * Image size - */ - @Generated - private String imageSize; - - /** - * Creates an instance of ImageParameters class. - * - * @param cql the cql value to set. - * @param renderParameters the renderParameters value to set. - * @param columns the columns value to set. - * @param rows the rows value to set. - */ - @Generated - public ImageParameters(Map cql, String renderParameters, int columns, int rows) { - this.cql = cql; - this.renderParameters = renderParameters; - this.columns = columns; - this.rows = rows; - } - - /** - * Get the cql property: Cql. - * - * @return the cql value. - */ - @Generated - public Map getCql() { - return this.cql; - } - - /** - * Get the zoom property: Zoom. - * - * @return the zoom value. - */ - @Generated - public Double getZoom() { - return this.zoom; - } - - /** - * Set the zoom property: Zoom. - * - * @param zoom the zoom value to set. - * @return the ImageParameters object itself. - */ - @Generated - public ImageParameters setZoom(Double zoom) { - this.zoom = zoom; - return this; - } - - /** - * Get the geometry property: Geometry. - * - * @return the geometry value. - */ - @Generated - public Geometry getGeometry() { - return this.geometry; - } - - /** - * Set the geometry property: Geometry. - * - * @param geometry the geometry value to set. - * @return the ImageParameters object itself. - */ - @Generated - public ImageParameters setGeometry(Geometry geometry) { - this.geometry = geometry; - return this; - } - - /** - * Get the renderParameters property: JSON-encoded visualization parameters. - * - * @return the renderParameters value. - */ - @Generated - public String getRenderParameters() { - return this.renderParameters; - } - - /** - * Get the columns property: Width of the output image in pixels. - * - * @return the columns value. - */ - @Generated - public int getColumns() { - return this.columns; - } - - /** - * Get the rows property: Height of the output image in pixels. - * - * @return the rows value. - */ - @Generated - public int getRows() { - return this.rows; - } - - /** - * Get the showBranding property: Whether to include branding on the output image. - * - * @return the showBranding value. - */ - @Generated - public Boolean isShowBranding() { - return this.showBranding; - } - - /** - * Set the showBranding property: Whether to include branding on the output image. - * - * @param showBranding the showBranding value to set. - * @return the ImageParameters object itself. - */ - @Generated - public ImageParameters setShowBranding(Boolean showBranding) { - this.showBranding = showBranding; - return this; - } - - /** - * Get the imageSize property: Image size. - * - * @return the imageSize value. - */ - @Generated - public String getImageSize() { - return this.imageSize; - } - - /** - * Set the imageSize property: Image size. - * - * @param imageSize the imageSize value to set. - * @return the ImageParameters object itself. - */ - @Generated - public ImageParameters setImageSize(String imageSize) { - this.imageSize = imageSize; - return this; - } - - /** - * {@inheritDoc} - */ - @Generated - @Override - public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { - jsonWriter.writeStartObject(); - jsonWriter.writeMapField("cql", this.cql, (writer, element) -> writer.writeUntyped(element)); - jsonWriter.writeStringField("render_params", this.renderParameters); - jsonWriter.writeIntField("cols", this.columns); - jsonWriter.writeIntField("rows", this.rows); - jsonWriter.writeNumberField("zoom", this.zoom); - jsonWriter.writeJsonField("geometry", this.geometry); - jsonWriter.writeBooleanField("showBranding", this.showBranding); - jsonWriter.writeStringField("imageSize", this.imageSize); - return jsonWriter.writeEndObject(); - } - - /** - * Reads an instance of ImageParameters from the JsonReader. - * - * @param jsonReader The JsonReader being read. - * @return An instance of ImageParameters if the JsonReader was pointing to an instance of it, or null if it was - * pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ImageParameters. - */ - @Generated - public static ImageParameters fromJson(JsonReader jsonReader) throws IOException { - return jsonReader.readObject(reader -> { - Map cql = null; - String renderParameters = null; - int columns = 0; - int rows = 0; - Double zoom = null; - Geometry geometry = null; - Boolean showBranding = null; - String imageSize = null; - while (reader.nextToken() != JsonToken.END_OBJECT) { - String fieldName = reader.getFieldName(); - reader.nextToken(); - - if ("cql".equals(fieldName)) { - cql = reader.readMap(reader1 -> reader1.readUntyped()); - } else if ("render_params".equals(fieldName)) { - renderParameters = reader.getString(); - } else if ("cols".equals(fieldName)) { - columns = reader.getInt(); - } else if ("rows".equals(fieldName)) { - rows = reader.getInt(); - } else if ("zoom".equals(fieldName)) { - zoom = reader.getNullable(JsonReader::getDouble); - } else if ("geometry".equals(fieldName)) { - geometry = Geometry.fromJson(reader); - } else if ("showBranding".equals(fieldName)) { - showBranding = reader.getNullable(JsonReader::getBoolean); - } else if ("imageSize".equals(fieldName)) { - imageSize = reader.getString(); - } else { - reader.skipChildren(); - } - } - ImageParameters deserializedImageParameters = new ImageParameters(cql, renderParameters, columns, rows); - deserializedImageParameters.zoom = zoom; - deserializedImageParameters.geometry = geometry; - deserializedImageParameters.showBranding = showBranding; - deserializedImageParameters.imageSize = imageSize; - - return deserializedImageParameters; - }); - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/IngestionDefinition.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/IngestionDefinition.java index e39103ee029d..6a223fc8d66d 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/IngestionDefinition.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/IngestionDefinition.java @@ -46,6 +46,12 @@ public final class IngestionDefinition implements JsonSerializable { @Generated public static final IngestionType STATIC_CATALOG = fromString("StaticCatalog"); + /** + * Ingestion STAC Geoparquet catalog. + */ + @Generated + public static final IngestionType STAC_GEOPARQUET = fromString("StacGeoparquet"); + /** * Creates a new instance of IngestionType value. * diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/PixelSelection.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/PixelSelection.java index 63c9e5911406..e5edf381c680 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/PixelSelection.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/PixelSelection.java @@ -64,6 +64,12 @@ public final class PixelSelection extends ExpandableStringEnum { @Generated public static final PixelSelection LAST_BAND_HIGH = fromString("lastbandhigh"); + /** + * Count available pixels across sources. + */ + @Generated + public static final PixelSelection COUNT = fromString("count"); + /** * Creates a new instance of PixelSelection value. * diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/QueryableDefinitionsResponse.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/QueryableDefinitionsResponse.java index 69f2a1d5edbe..123d541b8bc6 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/QueryableDefinitionsResponse.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/QueryableDefinitionsResponse.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Generated; import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -23,7 +24,7 @@ public final class QueryableDefinitionsResponse implements JsonSerializable additionalProperties; + private Map additionalProperties; /** * Creates an instance of QueryableDefinitionsResponse class. @@ -38,7 +39,7 @@ private QueryableDefinitionsResponse() { * @return the additionalProperties value. */ @Generated - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @@ -50,8 +51,13 @@ public Map getAdditionalProperties() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeUntypedField(additionalProperty.getKey(), additionalProperty.getValue()); + for (Map.Entry additionalProperty : additionalProperties.entrySet()) { + jsonWriter.writeFieldName(additionalProperty.getKey()); + if (additionalProperty.getValue() == null) { + jsonWriter.writeNull(); + } else { + additionalProperty.getValue().writeTo(jsonWriter); + } } } return jsonWriter.writeEndObject(); @@ -69,7 +75,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { public static QueryableDefinitionsResponse fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { QueryableDefinitionsResponse deserializedQueryableDefinitionsResponse = new QueryableDefinitionsResponse(); - Map additionalProperties = null; + Map additionalProperties = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -78,7 +84,8 @@ public static QueryableDefinitionsResponse fromJson(JsonReader jsonReader) throw additionalProperties = new LinkedHashMap<>(); } - additionalProperties.put(fieldName, reader.readUntyped()); + additionalProperties.put(fieldName, + reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } deserializedQueryableDefinitionsResponse.additionalProperties = additionalProperties; diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/RegisterMosaicsSearchOptions.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/RegisterMosaicsSearchOptions.java index 376c5a8a1191..45c1cb4047ca 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/RegisterMosaicsSearchOptions.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/RegisterMosaicsSearchOptions.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import java.util.List; import java.util.Map; @@ -42,16 +43,30 @@ public final class RegisterMosaicsSearchOptions { * Query */ @Generated - private Map query; + private Map query; /* * Filter */ @Generated - private Map filter; + private Map filter; /* - * Temporal filter in RFC 3339 format or interval + * Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. */ @Generated private String datetime; @@ -175,7 +190,7 @@ public RegisterMosaicsSearchOptions setIntersects(Geometry intersects) { * @return the query value. */ @Generated - public Map getQuery() { + public Map getQuery() { return this.query; } @@ -186,7 +201,7 @@ public Map getQuery() { * @return the RegisterMosaicsSearchOptions object itself. */ @Generated - public RegisterMosaicsSearchOptions setQuery(Map query) { + public RegisterMosaicsSearchOptions setQuery(Map query) { this.query = query; return this; } @@ -197,7 +212,7 @@ public RegisterMosaicsSearchOptions setQuery(Map query) { * @return the filter value. */ @Generated - public Map getFilter() { + public Map getFilter() { return this.filter; } @@ -208,13 +223,27 @@ public Map getFilter() { * @return the RegisterMosaicsSearchOptions object itself. */ @Generated - public RegisterMosaicsSearchOptions setFilter(Map filter) { + public RegisterMosaicsSearchOptions setFilter(Map filter) { this.filter = filter; return this; } /** - * Get the datetime property: Temporal filter in RFC 3339 format or interval. + * Get the datetime property: Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. * * @return the datetime value. */ @@ -224,7 +253,21 @@ public String getDatetime() { } /** - * Set the datetime property: Temporal filter in RFC 3339 format or interval. + * Set the datetime property: Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. * * @param datetime the datetime value to set. * @return the RegisterMosaicsSearchOptions object itself. diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/SelMethod.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/SelMethod.java new file mode 100644 index 000000000000..0acbad46e793 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/SelMethod.java @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * Xarray indexing method to use for inexact matches. + */ +public final class SelMethod extends ExpandableStringEnum { + /** + * Nearest neighbor method. + */ + @Generated + public static final SelMethod NEAREST = fromString("nearest"); + + /** + * Linear interpolation. + */ + @Generated + public static final SelMethod LINEAR = fromString("linear"); + + /** + * Bilinear interpolation. + */ + @Generated + public static final SelMethod BILINEAR = fromString("bilinear"); + + /** + * Cubic interpolation. + */ + @Generated + public static final SelMethod CUBIC = fromString("cubic"); + + /** + * Cubic spline interpolation. + */ + @Generated + public static final SelMethod CUBIC_SPLINE = fromString("cubic_spline"); + + /** + * Lanczos interpolation. + */ + @Generated + public static final SelMethod LANCZOS = fromString("lanczos"); + + /** + * Area-weighted interpolation. + */ + @Generated + public static final SelMethod AREA = fromString("area"); + + /** + * Mode (most common) value. + */ + @Generated + public static final SelMethod MODE = fromString("mode"); + + /** + * Creates a new instance of SelMethod value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public SelMethod() { + } + + /** + * Creates or finds a SelMethod from its string representation. + * + * @param name a name to look for. + * @return the corresponding SelMethod. + */ + @Generated + public static SelMethod fromString(String name) { + return fromString(name, SelMethod.class); + } + + /** + * Gets known SelMethod values. + * + * @return known SelMethod values. + */ + @Generated + public static Collection values() { + return values(SelMethod.class); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacAsset.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacAsset.java index 2b939686eb79..a5de7bde521a 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacAsset.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacAsset.java @@ -7,6 +7,7 @@ import com.azure.analytics.planetarycomputer.implementation.JsonMergePatchHelper; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -112,7 +113,7 @@ public final class StacAsset implements JsonSerializable { * Represents a STAC asset, which is a file or resource associated with a STAC item. */ @Generated - private Map additionalProperties; + private Map additionalProperties; /** * Stores updated model property, the value is property name, not serialized name. @@ -459,7 +460,7 @@ public StacAsset setRoles(List roles) { * @return the additionalProperties value. */ @Generated - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @@ -473,7 +474,7 @@ public Map getAdditionalProperties() { * @return the StacAsset object itself. */ @Generated - public StacAsset setAdditionalProperties(Map additionalProperties) { + public StacAsset setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; this.updatedProperties.add("additionalProperties"); return this; @@ -506,8 +507,13 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("type", this.type); jsonWriter.writeArrayField("roles", this.roles, (writer, element) -> writer.writeString(element)); if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeUntypedField(additionalProperty.getKey(), additionalProperty.getValue()); + for (Map.Entry additionalProperty : additionalProperties.entrySet()) { + jsonWriter.writeFieldName(additionalProperty.getKey()); + if (additionalProperty.getValue() == null) { + jsonWriter.writeNull(); + } else { + additionalProperty.getValue().writeTo(jsonWriter); + } } } return jsonWriter.writeEndObject(); @@ -612,8 +618,13 @@ private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { } } if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeUntypedField(additionalProperty.getKey(), additionalProperty.getValue()); + for (Map.Entry additionalProperty : additionalProperties.entrySet()) { + jsonWriter.writeFieldName(additionalProperty.getKey()); + if (additionalProperty.getValue() == null) { + jsonWriter.writeNull(); + } else { + additionalProperty.getValue().writeTo(jsonWriter); + } } } return jsonWriter.writeEndObject(); @@ -631,7 +642,7 @@ private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { public static StacAsset fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { StacAsset deserializedStacAsset = new StacAsset(); - Map additionalProperties = null; + Map additionalProperties = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -672,7 +683,8 @@ public static StacAsset fromJson(JsonReader jsonReader) throws IOException { additionalProperties = new LinkedHashMap<>(); } - additionalProperties.put(fieldName, reader.readUntyped()); + additionalProperties.put(fieldName, + reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } } deserializedStacAsset.additionalProperties = additionalProperties; diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacCollection.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacCollection.java index f5190f97c962..3e0befb613e9 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacCollection.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacCollection.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -131,7 +132,7 @@ public final class StacCollection implements JsonSerializable { * object). */ @Generated - private Map summaries; + private Map summaries; /* * https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md @@ -139,7 +140,7 @@ public final class StacCollection implements JsonSerializable { * Represents a STAC collection. */ @Generated - private Map additionalProperties; + private Map additionalProperties; /** * Creates an instance of StacCollection class. @@ -462,7 +463,7 @@ public StacCollection setProviders(List providers) { * @return the summaries value. */ @Generated - public Map getSummaries() { + public Map getSummaries() { return this.summaries; } @@ -476,7 +477,7 @@ public Map getSummaries() { * @return the StacCollection object itself. */ @Generated - public StacCollection setSummaries(Map summaries) { + public StacCollection setSummaries(Map summaries) { this.summaries = summaries; return this; } @@ -490,7 +491,7 @@ public StacCollection setSummaries(Map summaries) { * @return the additionalProperties value. */ @Generated - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @@ -504,7 +505,7 @@ public Map getAdditionalProperties() { * @return the StacCollection object itself. */ @Generated - public StacCollection setAdditionalProperties(Map additionalProperties) { + public StacCollection setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; return this; } @@ -534,10 +535,21 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeMapField("item_assets", this.itemAssets, (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("keywords", this.keywords, (writer, element) -> writer.writeString(element)); jsonWriter.writeArrayField("providers", this.providers, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeMapField("summaries", this.summaries, (writer, element) -> writer.writeUntyped(element)); + jsonWriter.writeMapField("summaries", this.summaries, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeUntypedField(additionalProperty.getKey(), additionalProperty.getValue()); + for (Map.Entry additionalProperty : additionalProperties.entrySet()) { + jsonWriter.writeFieldName(additionalProperty.getKey()); + if (additionalProperty.getValue() == null) { + jsonWriter.writeNull(); + } else { + additionalProperty.getValue().writeTo(jsonWriter); + } } } return jsonWriter.writeEndObject(); @@ -571,8 +583,8 @@ public static StacCollection fromJson(JsonReader jsonReader) throws IOException Map itemAssets = null; List keywords = null; List providers = null; - Map summaries = null; - Map additionalProperties = null; + Map summaries = null; + Map additionalProperties = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -612,13 +624,15 @@ public static StacCollection fromJson(JsonReader jsonReader) throws IOException } else if ("providers".equals(fieldName)) { providers = reader.readArray(reader1 -> StacProvider.fromJson(reader1)); } else if ("summaries".equals(fieldName)) { - summaries = reader.readMap(reader1 -> reader1.readUntyped()); + summaries = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } else { if (additionalProperties == null) { additionalProperties = new LinkedHashMap<>(); } - additionalProperties.put(fieldName, reader.readUntyped()); + additionalProperties.put(fieldName, + reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } } StacCollection deserializedStacCollection = new StacCollection(description, links, license, extent); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemAsset.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemAsset.java index 2d183f744a04..506cf8381595 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemAsset.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemAsset.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -109,7 +110,7 @@ public final class StacItemAsset implements JsonSerializable { * Represents a STAC item asset, which describes the assets available under any item in the collection. */ @Generated - private Map additionalProperties; + private Map additionalProperties; /** * Creates an instance of StacItemAsset class. @@ -393,7 +394,7 @@ public StacItemAsset setRoles(List roles) { * @return the additionalProperties value. */ @Generated - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @@ -406,7 +407,7 @@ public Map getAdditionalProperties() { * @return the StacItemAsset object itself. */ @Generated - public StacItemAsset setAdditionalProperties(Map additionalProperties) { + public StacItemAsset setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; return this; } @@ -434,8 +435,13 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("href", this.href); jsonWriter.writeArrayField("roles", this.roles, (writer, element) -> writer.writeString(element)); if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeUntypedField(additionalProperty.getKey(), additionalProperty.getValue()); + for (Map.Entry additionalProperty : additionalProperties.entrySet()) { + jsonWriter.writeFieldName(additionalProperty.getKey()); + if (additionalProperty.getValue() == null) { + jsonWriter.writeNull(); + } else { + additionalProperty.getValue().writeTo(jsonWriter); + } } } return jsonWriter.writeEndObject(); @@ -466,7 +472,7 @@ public static StacItemAsset fromJson(JsonReader jsonReader) throws IOException { String description = null; String href = null; List roles = null; - Map additionalProperties = null; + Map additionalProperties = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -504,7 +510,8 @@ public static StacItemAsset fromJson(JsonReader jsonReader) throws IOException { additionalProperties = new LinkedHashMap<>(); } - additionalProperties.put(fieldName, reader.readUntyped()); + additionalProperties.put(fieldName, + reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } } StacItemAsset deserializedStacItemAsset = new StacItemAsset(title, type); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemProperties.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemProperties.java index e9f2c3263fef..e1c46a30d43f 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemProperties.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemProperties.java @@ -7,6 +7,7 @@ import com.azure.analytics.planetarycomputer.implementation.JsonMergePatchHelper; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -112,7 +113,7 @@ public final class StacItemProperties implements JsonSerializable additionalProperties; + private Map additionalProperties; /** * Stores updated model property, the value is property name, not serialized name. @@ -459,7 +460,7 @@ public StacItemProperties setEndDatetime(OffsetDateTime endDatetime) { * @return the additionalProperties value. */ @Generated - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @@ -472,7 +473,7 @@ public Map getAdditionalProperties() { * @return the StacItemProperties object itself. */ @Generated - public StacItemProperties setAdditionalProperties(Map additionalProperties) { + public StacItemProperties setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; this.updatedProperties.add("additionalProperties"); return this; @@ -507,8 +508,13 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("end_datetime", this.endDatetime == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.endDatetime)); if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeUntypedField(additionalProperty.getKey(), additionalProperty.getValue()); + for (Map.Entry additionalProperty : additionalProperties.entrySet()) { + jsonWriter.writeFieldName(additionalProperty.getKey()); + if (additionalProperty.getValue() == null) { + jsonWriter.writeNull(); + } else { + additionalProperty.getValue().writeTo(jsonWriter); + } } } return jsonWriter.writeEndObject(); @@ -617,8 +623,13 @@ private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { } } if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeUntypedField(additionalProperty.getKey(), additionalProperty.getValue()); + for (Map.Entry additionalProperty : additionalProperties.entrySet()) { + jsonWriter.writeFieldName(additionalProperty.getKey()); + if (additionalProperty.getValue() == null) { + jsonWriter.writeNull(); + } else { + additionalProperty.getValue().writeTo(jsonWriter); + } } } return jsonWriter.writeEndObject(); @@ -636,7 +647,7 @@ private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { public static StacItemProperties fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { StacItemProperties deserializedStacItemProperties = new StacItemProperties(); - Map additionalProperties = null; + Map additionalProperties = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -678,7 +689,8 @@ public static StacItemProperties fromJson(JsonReader jsonReader) throws IOExcept additionalProperties = new LinkedHashMap<>(); } - additionalProperties.put(fieldName, reader.readUntyped()); + additionalProperties.put(fieldName, + reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } } deserializedStacItemProperties.additionalProperties = additionalProperties; diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemStatisticsGeoJsonProperties.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemStatisticsGeoJsonProperties.java index 8842505fba7f..e51c5e69fb6d 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemStatisticsGeoJsonProperties.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacItemStatisticsGeoJsonProperties.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Generated; import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -30,7 +31,7 @@ public final class StacItemStatisticsGeoJsonProperties * Properties for STAC Item statistics GeoJSON Feature */ @Generated - private Map additionalProperties; + private Map additionalProperties; /** * Creates an instance of StacItemStatisticsGeoJsonProperties class. @@ -58,7 +59,7 @@ public Map getStatistics() { * @return the additionalProperties value. */ @Generated - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @@ -71,8 +72,13 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeMapField("statistics", this.statistics, (writer, element) -> writer.writeJson(element)); if (additionalProperties != null) { - for (Map.Entry additionalProperty : additionalProperties.entrySet()) { - jsonWriter.writeUntypedField(additionalProperty.getKey(), additionalProperty.getValue()); + for (Map.Entry additionalProperty : additionalProperties.entrySet()) { + jsonWriter.writeFieldName(additionalProperty.getKey()); + if (additionalProperty.getValue() == null) { + jsonWriter.writeNull(); + } else { + additionalProperty.getValue().writeTo(jsonWriter); + } } } return jsonWriter.writeEndObject(); @@ -91,7 +97,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { public static StacItemStatisticsGeoJsonProperties fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { Map statistics = null; - Map additionalProperties = null; + Map additionalProperties = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -103,7 +109,8 @@ public static StacItemStatisticsGeoJsonProperties fromJson(JsonReader jsonReader additionalProperties = new LinkedHashMap<>(); } - additionalProperties.put(fieldName, reader.readUntyped()); + additionalProperties.put(fieldName, + reader.getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } } StacItemStatisticsGeoJsonProperties deserializedStacItemStatisticsGeoJsonProperties diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacLink.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacLink.java index 385caec8bb7b..7d6823147d9a 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacLink.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacLink.java @@ -7,6 +7,7 @@ import com.azure.analytics.planetarycomputer.implementation.JsonMergePatchHelper; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -80,7 +81,7 @@ public final class StacLink implements JsonSerializable { * For POST requests, the resource can specify the HTTP body as a JSON object. */ @Generated - private Map body; + private Map body; /* * Indicates whether the client is expected to merge the body value into the current request body before following @@ -322,7 +323,7 @@ public StacLink setHeaders(Map headers) { * @return the body value. */ @Generated - public Map getBody() { + public Map getBody() { return this.body; } @@ -333,7 +334,7 @@ public Map getBody() { * @return the StacLink object itself. */ @Generated - public StacLink setBody(Map body) { + public StacLink setBody(Map body) { this.body = body; this.updatedProperties.add("body"); return this; @@ -386,7 +387,13 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeNumberField("length", this.length); jsonWriter.writeStringField("method", this.method == null ? null : this.method.toString()); jsonWriter.writeMapField("headers", this.headers, (writer, element) -> writer.writeString(element)); - jsonWriter.writeMapField("body", this.body, (writer, element) -> writer.writeUntyped(element)); + jsonWriter.writeMapField("body", this.body, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); jsonWriter.writeBooleanField("merge", this.merge); return jsonWriter.writeEndObject(); } @@ -461,7 +468,13 @@ private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { if (this.body == null) { jsonWriter.writeNullField("body"); } else { - jsonWriter.writeMapField("body", this.body, (writer, element) -> writer.writeUntyped(element)); + jsonWriter.writeMapField("body", this.body, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); } } if (updatedProperties.contains("merge")) { @@ -508,7 +521,8 @@ public static StacLink fromJson(JsonReader jsonReader) throws IOException { Map headers = reader.readMap(reader1 -> reader1.getString()); deserializedStacLink.headers = headers; } else if ("body".equals(fieldName)) { - Map body = reader.readMap(reader1 -> reader1.readUntyped()); + Map body = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); deserializedStacLink.body = body; } else if ("merge".equals(fieldName)) { deserializedStacLink.merge = reader.getNullable(JsonReader::getBoolean); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaic.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaic.java index 0dc61941873e..f8a90a07fd65 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaic.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaic.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -41,7 +42,7 @@ public final class StacMosaic implements JsonSerializable { * A list of valid CQL2-JSON expressions used to filter the collection to moasic. */ @Generated - private final List> cql; + private final List> cql; /** * Creates an instance of StacMosaic class. @@ -51,7 +52,7 @@ public final class StacMosaic implements JsonSerializable { * @param cql the cql value to set. */ @Generated - public StacMosaic(String id, String name, List> cql) { + public StacMosaic(String id, String name, List> cql) { this.id = id; this.name = name; this.cql = cql; @@ -105,7 +106,7 @@ public StacMosaic setDescription(String description) { * @return the cql value. */ @Generated - public List> getCql() { + public List> getCql() { return this.cql; } @@ -119,7 +120,13 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStringField("id", this.id); jsonWriter.writeStringField("name", this.name); jsonWriter.writeArrayField("cql", this.cql, - (writer, element) -> writer.writeMap(element, (writer1, element1) -> writer1.writeUntyped(element1))); + (writer, element) -> writer.writeMap(element, (writer1, element1) -> { + if (element1 == null) { + writer1.writeNull(); + } else { + element1.writeTo(writer1); + } + })); jsonWriter.writeStringField("description", this.description); return jsonWriter.writeEndObject(); } @@ -138,7 +145,7 @@ public static StacMosaic fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String id = null; String name = null; - List> cql = null; + List> cql = null; String description = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); @@ -149,7 +156,8 @@ public static StacMosaic fromJson(JsonReader jsonReader) throws IOException { } else if ("name".equals(fieldName)) { name = reader.getString(); } else if ("cql".equals(fieldName)) { - cql = reader.readArray(reader1 -> reader1.readMap(reader2 -> reader2.readUntyped())); + cql = reader.readArray(reader1 -> reader1.readMap(reader2 -> reader2 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped())))); } else if ("description".equals(fieldName)) { description = reader.getString(); } else { diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaicConfiguration.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaicConfiguration.java index 97e5a169a834..d29100d95733 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaicConfiguration.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaicConfiguration.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Generated; import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -41,7 +42,7 @@ public final class StacMosaicConfiguration implements JsonSerializable defaultCustomQuery; + private Map defaultCustomQuery; /** * Creates an instance of StacMosaicConfiguration class. @@ -91,7 +92,7 @@ public DefaultLocation getDefaultLocation() { * @return the defaultCustomQuery value. */ @Generated - public Map getDefaultCustomQuery() { + public Map getDefaultCustomQuery() { return this.defaultCustomQuery; } @@ -105,8 +106,13 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeArrayField("mosaics", this.mosaics, (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("renderOptions", this.renderOptions, (writer, element) -> writer.writeJson(element)); jsonWriter.writeJsonField("defaultLocation", this.defaultLocation); - jsonWriter.writeMapField("defaultCustomQuery", this.defaultCustomQuery, - (writer, element) -> writer.writeUntyped(element)); + jsonWriter.writeMapField("defaultCustomQuery", this.defaultCustomQuery, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); return jsonWriter.writeEndObject(); } @@ -125,7 +131,7 @@ public static StacMosaicConfiguration fromJson(JsonReader jsonReader) throws IOE List mosaics = null; List renderOptions = null; DefaultLocation defaultLocation = null; - Map defaultCustomQuery = null; + Map defaultCustomQuery = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); @@ -137,7 +143,8 @@ public static StacMosaicConfiguration fromJson(JsonReader jsonReader) throws IOE } else if ("defaultLocation".equals(fieldName)) { defaultLocation = DefaultLocation.fromJson(reader); } else if ("defaultCustomQuery".equals(fieldName)) { - defaultCustomQuery = reader.readMap(reader1 -> reader1.readUntyped()); + defaultCustomQuery = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } else { reader.skipChildren(); } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacQueryable.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacQueryable.java index d6aeb078c866..19098e0da6d7 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacQueryable.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacQueryable.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -28,7 +29,7 @@ public final class StacQueryable implements JsonSerializable { * Metadata for the queryable field. */ @Generated - private final Map definition; + private final Map definition; /* * Whether to create a database index for this field. @@ -49,7 +50,7 @@ public final class StacQueryable implements JsonSerializable { * @param definition the definition value to set. */ @Generated - public StacQueryable(String name, Map definition) { + public StacQueryable(String name, Map definition) { this.name = name; this.definition = definition; } @@ -70,7 +71,7 @@ public String getName() { * @return the definition value. */ @Generated - public Map getDefinition() { + public Map getDefinition() { return this.definition; } @@ -126,7 +127,13 @@ public StacQueryable setDataType(StacQueryableDefinitionDataType dataType) { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("name", this.name); - jsonWriter.writeMapField("definition", this.definition, (writer, element) -> writer.writeUntyped(element)); + jsonWriter.writeMapField("definition", this.definition, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); jsonWriter.writeBooleanField("create_index", this.createIndex); jsonWriter.writeStringField("data_type", this.dataType == null ? null : this.dataType.toString()); return jsonWriter.writeEndObject(); @@ -145,7 +152,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { public static StacQueryable fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String name = null; - Map definition = null; + Map definition = null; Boolean createIndex = null; StacQueryableDefinitionDataType dataType = null; while (reader.nextToken() != JsonToken.END_OBJECT) { @@ -155,7 +162,8 @@ public static StacQueryable fromJson(JsonReader jsonReader) throws IOException { if ("name".equals(fieldName)) { name = reader.getString(); } else if ("definition".equals(fieldName)) { - definition = reader.readMap(reader1 -> reader1.readUntyped()); + definition = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } else if ("create_index".equals(fieldName)) { createIndex = reader.getNullable(JsonReader::getBoolean); } else if ("data_type".equals(fieldName)) { diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacSearchParameters.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacSearchParameters.java index 17a110ba96ba..3737a16633ad 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacSearchParameters.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/StacSearchParameters.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.annotation.Generated; +import com.azure.core.util.BinaryData; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -46,7 +47,21 @@ public final class StacSearchParameters implements JsonSerializable conformanceClass; + private Map conformanceClass; /* * STAC Query @@ -71,7 +86,7 @@ public final class StacSearchParameters implements JsonSerializable query; + private Map query; /* * Sort criteria for the search results. @@ -95,7 +110,7 @@ public final class StacSearchParameters implements JsonSerializable filter; + private Map filter; /* * Coordinate reference system for the filter. @@ -211,7 +226,21 @@ public StacSearchParameters setIntersects(Geometry intersects) { } /** - * Get the datetime property: Temporal filter in RFC 3339 format, can be a single time or range. + * Get the datetime property: Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. * * @return the datetime value. */ @@ -221,7 +250,21 @@ public String getDatetime() { } /** - * Set the datetime property: Temporal filter in RFC 3339 format, can be a single time or range. + * Set the datetime property: Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. * * @param datetime the datetime value to set. * @return the StacSearchParameters object itself. @@ -262,7 +305,7 @@ public StacSearchParameters setLimit(Integer limit) { * @return the conformanceClass value. */ @Generated - public Map getConformanceClass() { + public Map getConformanceClass() { return this.conformanceClass; } @@ -275,7 +318,7 @@ public Map getConformanceClass() { * @return the StacSearchParameters object itself. */ @Generated - public StacSearchParameters setConformanceClass(Map conformanceClass) { + public StacSearchParameters setConformanceClass(Map conformanceClass) { this.conformanceClass = conformanceClass; return this; } @@ -288,7 +331,7 @@ public StacSearchParameters setConformanceClass(Map conformanceC * @return the query value. */ @Generated - public Map getQuery() { + public Map getQuery() { return this.query; } @@ -301,7 +344,7 @@ public Map getQuery() { * @return the StacSearchParameters object itself. */ @Generated - public StacSearchParameters setQuery(Map query) { + public StacSearchParameters setQuery(Map query) { this.query = query; return this; } @@ -366,7 +409,7 @@ public StacSearchParameters setFields(List fields) { * @return the filter value. */ @Generated - public Map getFilter() { + public Map getFilter() { return this.filter; } @@ -379,7 +422,7 @@ public Map getFilter() { * @return the StacSearchParameters object itself. */ @Generated - public StacSearchParameters setFilter(Map filter) { + public StacSearchParameters setFilter(Map filter) { this.filter = filter; return this; } @@ -463,11 +506,29 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeJsonField("intersects", this.intersects); jsonWriter.writeStringField("datetime", this.datetime); jsonWriter.writeNumberField("limit", this.limit); - jsonWriter.writeMapField("conf", this.conformanceClass, (writer, element) -> writer.writeUntyped(element)); - jsonWriter.writeMapField("query", this.query, (writer, element) -> writer.writeUntyped(element)); + jsonWriter.writeMapField("conf", this.conformanceClass, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); + jsonWriter.writeMapField("query", this.query, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); jsonWriter.writeArrayField("sortby", this.sortBy, (writer, element) -> writer.writeJson(element)); jsonWriter.writeArrayField("fields", this.fields, (writer, element) -> writer.writeJson(element)); - jsonWriter.writeMapField("filter", this.filter, (writer, element) -> writer.writeUntyped(element)); + jsonWriter.writeMapField("filter", this.filter, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); jsonWriter.writeStringField("filter-crs", this.filterCoordinateReferenceSystem); jsonWriter.writeStringField("filter-lang", this.filterLang == null ? null : this.filterLang.toString()); jsonWriter.writeStringField("token", this.token); @@ -506,10 +567,12 @@ public static StacSearchParameters fromJson(JsonReader jsonReader) throws IOExce } else if ("limit".equals(fieldName)) { deserializedStacSearchParameters.limit = reader.getNullable(JsonReader::getInt); } else if ("conf".equals(fieldName)) { - Map conformanceClass = reader.readMap(reader1 -> reader1.readUntyped()); + Map conformanceClass = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); deserializedStacSearchParameters.conformanceClass = conformanceClass; } else if ("query".equals(fieldName)) { - Map query = reader.readMap(reader1 -> reader1.readUntyped()); + Map query = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); deserializedStacSearchParameters.query = query; } else if ("sortby".equals(fieldName)) { List sortBy = reader.readArray(reader1 -> StacSortExtension.fromJson(reader1)); @@ -519,7 +582,8 @@ public static StacSearchParameters fromJson(JsonReader jsonReader) throws IOExce = reader.readArray(reader1 -> SearchOptionsFields.fromJson(reader1)); deserializedStacSearchParameters.fields = fields; } else if ("filter".equals(fieldName)) { - Map filter = reader.readMap(reader1 -> reader1.readUntyped()); + Map filter = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); deserializedStacSearchParameters.filter = filter; } else if ("filter-crs".equals(fieldName)) { deserializedStacSearchParameters.filterCoordinateReferenceSystem = reader.getString(); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TerrainAlgorithm.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TerrainAlgorithm.java index 88bd676deb66..2cff0dbb7a42 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TerrainAlgorithm.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TerrainAlgorithm.java @@ -42,6 +42,66 @@ public final class TerrainAlgorithm extends ExpandableStringEnum { + /** + * Canadian NAD83 Lambert Conformal Conic projection tile matrix set. + */ + @Generated + public static final TileMatrixSetId CANADIAN_NAD83_LCC = fromString("CanadianNAD83_LCC"); + + /** + * European ETRS89 Lambert Azimuthal Equal Area Quad tile matrix set. + */ + @Generated + public static final TileMatrixSetId EUROPEAN_ETRS89_LAEAQUAD = fromString("EuropeanETRS89_LAEAQuad"); + + /** + * Land Information New Zealand (LINZ) Antarctica Map tile grid matrix set. + */ + @Generated + public static final TileMatrixSetId LINZANTARTICA_MAP_TILEGRID = fromString("LINZAntarticaMapTilegrid"); + + /** + * New Zealand Transverse Mercator 2000 Quad tile matrix set. + */ + @Generated + public static final TileMatrixSetId NZTM2000QUAD = fromString("NZTM2000Quad"); + + /** + * Universal Polar Stereographic Antarctic WGS84 Quad tile matrix set. + */ + @Generated + public static final TileMatrixSetId UPSANTARCTIC_WGS84QUAD = fromString("UPSAntarcticWGS84Quad"); + + /** + * Universal Polar Stereographic Arctic WGS84 Quad tile matrix set. + */ + @Generated + public static final TileMatrixSetId UPSARCTIC_WGS84QUAD = fromString("UPSArcticWGS84Quad"); + + /** + * Universal Transverse Mercator Zone 31 WGS84 Quad tile matrix set. + */ + @Generated + public static final TileMatrixSetId UTM31WGS84QUAD = fromString("UTM31WGS84Quad"); + + /** + * WGS 1984 Quad tile matrix set. + */ + @Generated + public static final TileMatrixSetId WGS1984QUAD = fromString("WGS1984Quad"); + + /** + * Web Mercator Quad tile matrix set. + */ + @Generated + public static final TileMatrixSetId WEB_MERCATOR_QUAD = fromString("WebMercatorQuad"); + + /** + * World CRS84 Quad tile matrix set. + */ + @Generated + public static final TileMatrixSetId WORLD_CRS84QUAD = fromString("WorldCRS84Quad"); + + /** + * World Mercator WGS84 Quad tile matrix set. + */ + @Generated + public static final TileMatrixSetId WORLD_MERCATOR_WGS84QUAD = fromString("WorldMercatorWGS84Quad"); + + /** + * Creates a new instance of TileMatrixSetId value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public TileMatrixSetId() { + } + + /** + * Creates or finds a TileMatrixSetId from its string representation. + * + * @param name a name to look for. + * @return the corresponding TileMatrixSetId. + */ + @Generated + public static TileMatrixSetId fromString(String name) { + return fromString(name, TileMatrixSetId.class); + } + + /** + * Gets known TileMatrixSetId values. + * + * @return known TileMatrixSetId values. + */ + @Generated + public static Collection values() { + return values(TileMatrixSetId.class); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrixSetLimitsEntry.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrixSetLimitsEntry.java new file mode 100644 index 000000000000..ee7e679a03bc --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrixSetLimitsEntry.java @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Limits for a specific tile matrix within a tileset, defining the valid row/column range. + */ +@Immutable +public final class TileMatrixSetLimitsEntry implements JsonSerializable { + /* + * Identifier of the tile matrix level + */ + @Generated + private final String tileMatrix; + + /* + * Minimum tile row index at this zoom level + */ + @Generated + private final int minTileRow; + + /* + * Maximum tile row index at this zoom level + */ + @Generated + private final int maxTileRow; + + /* + * Minimum tile column index at this zoom level + */ + @Generated + private final int minTileCol; + + /* + * Maximum tile column index at this zoom level + */ + @Generated + private final int maxTileCol; + + /** + * Creates an instance of TileMatrixSetLimitsEntry class. + * + * @param tileMatrix the tileMatrix value to set. + * @param minTileRow the minTileRow value to set. + * @param maxTileRow the maxTileRow value to set. + * @param minTileCol the minTileCol value to set. + * @param maxTileCol the maxTileCol value to set. + */ + @Generated + private TileMatrixSetLimitsEntry(String tileMatrix, int minTileRow, int maxTileRow, int minTileCol, + int maxTileCol) { + this.tileMatrix = tileMatrix; + this.minTileRow = minTileRow; + this.maxTileRow = maxTileRow; + this.minTileCol = minTileCol; + this.maxTileCol = maxTileCol; + } + + /** + * Get the tileMatrix property: Identifier of the tile matrix level. + * + * @return the tileMatrix value. + */ + @Generated + public String getTileMatrix() { + return this.tileMatrix; + } + + /** + * Get the minTileRow property: Minimum tile row index at this zoom level. + * + * @return the minTileRow value. + */ + @Generated + public int getMinTileRow() { + return this.minTileRow; + } + + /** + * Get the maxTileRow property: Maximum tile row index at this zoom level. + * + * @return the maxTileRow value. + */ + @Generated + public int getMaxTileRow() { + return this.maxTileRow; + } + + /** + * Get the minTileCol property: Minimum tile column index at this zoom level. + * + * @return the minTileCol value. + */ + @Generated + public int getMinTileCol() { + return this.minTileCol; + } + + /** + * Get the maxTileCol property: Maximum tile column index at this zoom level. + * + * @return the maxTileCol value. + */ + @Generated + public int getMaxTileCol() { + return this.maxTileCol; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("tileMatrix", this.tileMatrix); + jsonWriter.writeIntField("minTileRow", this.minTileRow); + jsonWriter.writeIntField("maxTileRow", this.maxTileRow); + jsonWriter.writeIntField("minTileCol", this.minTileCol); + jsonWriter.writeIntField("maxTileCol", this.maxTileCol); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TileMatrixSetLimitsEntry from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TileMatrixSetLimitsEntry if the JsonReader was pointing to an instance of it, or null if + * it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TileMatrixSetLimitsEntry. + */ + @Generated + public static TileMatrixSetLimitsEntry fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String tileMatrix = null; + int minTileRow = 0; + int maxTileRow = 0; + int minTileCol = 0; + int maxTileCol = 0; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("tileMatrix".equals(fieldName)) { + tileMatrix = reader.getString(); + } else if ("minTileRow".equals(fieldName)) { + minTileRow = reader.getInt(); + } else if ("maxTileRow".equals(fieldName)) { + maxTileRow = reader.getInt(); + } else if ("minTileCol".equals(fieldName)) { + minTileCol = reader.getInt(); + } else if ("maxTileCol".equals(fieldName)) { + maxTileCol = reader.getInt(); + } else { + reader.skipChildren(); + } + } + return new TileMatrixSetLimitsEntry(tileMatrix, minTileRow, maxTileRow, minTileCol, maxTileCol); + }); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetBoundingBox.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetBoundingBox.java new file mode 100644 index 000000000000..2865f4e33212 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetBoundingBox.java @@ -0,0 +1,129 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Bounding box for a tile set. + */ +@Immutable +public final class TileSetBoundingBox implements JsonSerializable { + /* + * Lower-left corner coordinates [x, y] + */ + @Generated + private final List lowerLeft; + + /* + * Upper-right corner coordinates [x, y] + */ + @Generated + private final List upperRight; + + /* + * Coordinate reference system identifier + */ + @Generated + private String crs; + + /** + * Creates an instance of TileSetBoundingBox class. + * + * @param lowerLeft the lowerLeft value to set. + * @param upperRight the upperRight value to set. + */ + @Generated + private TileSetBoundingBox(List lowerLeft, List upperRight) { + this.lowerLeft = lowerLeft; + this.upperRight = upperRight; + } + + /** + * Get the lowerLeft property: Lower-left corner coordinates [x, y]. + * + * @return the lowerLeft value. + */ + @Generated + public List getLowerLeft() { + return this.lowerLeft; + } + + /** + * Get the upperRight property: Upper-right corner coordinates [x, y]. + * + * @return the upperRight value. + */ + @Generated + public List getUpperRight() { + return this.upperRight; + } + + /** + * Get the crs property: Coordinate reference system identifier. + * + * @return the crs value. + */ + @Generated + public String getCrs() { + return this.crs; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("lowerLeft", this.lowerLeft, (writer, element) -> writer.writeDouble(element)); + jsonWriter.writeArrayField("upperRight", this.upperRight, (writer, element) -> writer.writeDouble(element)); + jsonWriter.writeStringField("crs", this.crs); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TileSetBoundingBox from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TileSetBoundingBox if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TileSetBoundingBox. + */ + @Generated + public static TileSetBoundingBox fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + List lowerLeft = null; + List upperRight = null; + String crs = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("lowerLeft".equals(fieldName)) { + lowerLeft = reader.readArray(reader1 -> reader1.getDouble()); + } else if ("upperRight".equals(fieldName)) { + upperRight = reader.readArray(reader1 -> reader1.getDouble()); + } else if ("crs".equals(fieldName)) { + crs = reader.getString(); + } else { + reader.skipChildren(); + } + } + TileSetBoundingBox deserializedTileSetBoundingBox = new TileSetBoundingBox(lowerLeft, upperRight); + deserializedTileSetBoundingBox.crs = crs; + + return deserializedTileSetBoundingBox; + }); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetEntry.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetEntry.java new file mode 100644 index 000000000000..f5daefcdc46a --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetEntry.java @@ -0,0 +1,177 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Summary information about a single tileset within a list of available tilesets. + */ +@Immutable +public final class TileSetEntry implements JsonSerializable { + /* + * Human-readable title of the tileset + */ + @Generated + private String title; + + /* + * Type of data in the tiles (e.g., 'map', 'vector') + */ + @Generated + private String dataType; + + /* + * Coordinate reference system identifier + */ + @Generated + private String crs; + + /* + * Links related to this tileset + */ + @Generated + private List links; + + /* + * Bounding box of the tileset + */ + @Generated + private TileSetBoundingBox boundingBox; + + /* + * Access constraints for the tileset + */ + @Generated + private String accessConstraints; + + /** + * Creates an instance of TileSetEntry class. + */ + @Generated + private TileSetEntry() { + } + + /** + * Get the title property: Human-readable title of the tileset. + * + * @return the title value. + */ + @Generated + public String getTitle() { + return this.title; + } + + /** + * Get the dataType property: Type of data in the tiles (e.g., 'map', 'vector'). + * + * @return the dataType value. + */ + @Generated + public String getDataType() { + return this.dataType; + } + + /** + * Get the crs property: Coordinate reference system identifier. + * + * @return the crs value. + */ + @Generated + public String getCrs() { + return this.crs; + } + + /** + * Get the links property: Links related to this tileset. + * + * @return the links value. + */ + @Generated + public List getLinks() { + return this.links; + } + + /** + * Get the boundingBox property: Bounding box of the tileset. + * + * @return the boundingBox value. + */ + @Generated + public TileSetBoundingBox getBoundingBox() { + return this.boundingBox; + } + + /** + * Get the accessConstraints property: Access constraints for the tileset. + * + * @return the accessConstraints value. + */ + @Generated + public String getAccessConstraints() { + return this.accessConstraints; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("title", this.title); + jsonWriter.writeStringField("dataType", this.dataType); + jsonWriter.writeStringField("crs", this.crs); + jsonWriter.writeArrayField("links", this.links, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("boundingBox", this.boundingBox); + jsonWriter.writeStringField("accessConstraints", this.accessConstraints); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TileSetEntry from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TileSetEntry if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the TileSetEntry. + */ + @Generated + public static TileSetEntry fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + TileSetEntry deserializedTileSetEntry = new TileSetEntry(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("title".equals(fieldName)) { + deserializedTileSetEntry.title = reader.getString(); + } else if ("dataType".equals(fieldName)) { + deserializedTileSetEntry.dataType = reader.getString(); + } else if ("crs".equals(fieldName)) { + deserializedTileSetEntry.crs = reader.getString(); + } else if ("links".equals(fieldName)) { + List links = reader.readArray(reader1 -> TileSetLink.fromJson(reader1)); + deserializedTileSetEntry.links = links; + } else if ("boundingBox".equals(fieldName)) { + deserializedTileSetEntry.boundingBox = TileSetBoundingBox.fromJson(reader); + } else if ("accessConstraints".equals(fieldName)) { + deserializedTileSetEntry.accessConstraints = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedTileSetEntry; + }); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetLink.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetLink.java new file mode 100644 index 000000000000..7c67d66ffcc0 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetLink.java @@ -0,0 +1,149 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A link object used in OGC tile resources. + */ +@Immutable +public final class TileSetLink implements JsonSerializable { + /* + * The URL target of the link + */ + @Generated + private final String href; + + /* + * The relationship type of the link + */ + @Generated + private final String rel; + + /* + * The media type of the linked resource + */ + @Generated + private String type; + + /* + * Human-readable title of the link + */ + @Generated + private String title; + + /** + * Creates an instance of TileSetLink class. + * + * @param href the href value to set. + * @param rel the rel value to set. + */ + @Generated + private TileSetLink(String href, String rel) { + this.href = href; + this.rel = rel; + } + + /** + * Get the href property: The URL target of the link. + * + * @return the href value. + */ + @Generated + public String getHref() { + return this.href; + } + + /** + * Get the rel property: The relationship type of the link. + * + * @return the rel value. + */ + @Generated + public String getRel() { + return this.rel; + } + + /** + * Get the type property: The media type of the linked resource. + * + * @return the type value. + */ + @Generated + public String getType() { + return this.type; + } + + /** + * Get the title property: Human-readable title of the link. + * + * @return the title value. + */ + @Generated + public String getTitle() { + return this.title; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("href", this.href); + jsonWriter.writeStringField("rel", this.rel); + jsonWriter.writeStringField("type", this.type); + jsonWriter.writeStringField("title", this.title); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TileSetLink from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TileSetLink if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TileSetLink. + */ + @Generated + public static TileSetLink fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + String href = null; + String rel = null; + String type = null; + String title = null; + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("href".equals(fieldName)) { + href = reader.getString(); + } else if ("rel".equals(fieldName)) { + rel = reader.getString(); + } else if ("type".equals(fieldName)) { + type = reader.getString(); + } else if ("title".equals(fieldName)) { + title = reader.getString(); + } else { + reader.skipChildren(); + } + } + TileSetLink deserializedTileSetLink = new TileSetLink(href, rel); + deserializedTileSetLink.type = type; + deserializedTileSetLink.title = title; + + return deserializedTileSetLink; + }); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ImageResponse.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetList.java similarity index 54% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ImageResponse.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetList.java index 11fa138d8bcc..ce537be6a2ea 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/ImageResponse.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetList.java @@ -11,36 +11,37 @@ import com.azure.json.JsonToken; import com.azure.json.JsonWriter; import java.io.IOException; +import java.util.List; /** - * Response model for image exports. + * Response containing a list of available tilesets. */ @Immutable -public final class ImageResponse implements JsonSerializable { +public final class TileSetList implements JsonSerializable { /* - * URL of the exported image + * Array of available tilesets */ @Generated - private final String url; + private final List tilesets; /** - * Creates an instance of ImageResponse class. + * Creates an instance of TileSetList class. * - * @param url the url value to set. + * @param tilesets the tilesets value to set. */ @Generated - private ImageResponse(String url) { - this.url = url; + private TileSetList(List tilesets) { + this.tilesets = tilesets; } /** - * Get the url property: URL of the exported image. + * Get the tilesets property: Array of available tilesets. * - * @return the url value. + * @return the tilesets value. */ @Generated - public String getUrl() { - return this.url; + public List getTilesets() { + return this.tilesets; } /** @@ -50,34 +51,34 @@ public String getUrl() { @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); - jsonWriter.writeStringField("url", this.url); + jsonWriter.writeArrayField("tilesets", this.tilesets, (writer, element) -> writer.writeJson(element)); return jsonWriter.writeEndObject(); } /** - * Reads an instance of ImageResponse from the JsonReader. + * Reads an instance of TileSetList from the JsonReader. * * @param jsonReader The JsonReader being read. - * @return An instance of ImageResponse if the JsonReader was pointing to an instance of it, or null if it was + * @return An instance of TileSetList if the JsonReader was pointing to an instance of it, or null if it was * pointing to JSON null. * @throws IllegalStateException If the deserialized JSON object was missing any required properties. - * @throws IOException If an error occurs while reading the ImageResponse. + * @throws IOException If an error occurs while reading the TileSetList. */ @Generated - public static ImageResponse fromJson(JsonReader jsonReader) throws IOException { + public static TileSetList fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { - String url = null; + List tilesets = null; while (reader.nextToken() != JsonToken.END_OBJECT) { String fieldName = reader.getFieldName(); reader.nextToken(); - if ("url".equals(fieldName)) { - url = reader.getString(); + if ("tilesets".equals(fieldName)) { + tilesets = reader.readArray(reader1 -> TileSetEntry.fromJson(reader1)); } else { reader.skipChildren(); } } - return new ImageResponse(url); + return new TileSetList(tilesets); }); } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetMetadata.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetMetadata.java new file mode 100644 index 000000000000..874a3c72d7b5 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TileSetMetadata.java @@ -0,0 +1,199 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.List; + +/** + * Detailed metadata about a specific tileset, including tile matrix set limits. + */ +@Immutable +public final class TileSetMetadata implements JsonSerializable { + /* + * Human-readable title of the tileset + */ + @Generated + private String title; + + /* + * Type of data in the tiles + */ + @Generated + private String dataType; + + /* + * Coordinate reference system identifier + */ + @Generated + private String crs; + + /* + * Links related to this tileset + */ + @Generated + private List links; + + /* + * Bounding box of the tileset + */ + @Generated + private TileSetBoundingBox boundingBox; + + /* + * Access constraints for the tileset + */ + @Generated + private String accessConstraints; + + /* + * Limits for each tile matrix level in the tileset + */ + @Generated + private List tileMatrixSetLimits; + + /** + * Creates an instance of TileSetMetadata class. + */ + @Generated + private TileSetMetadata() { + } + + /** + * Get the title property: Human-readable title of the tileset. + * + * @return the title value. + */ + @Generated + public String getTitle() { + return this.title; + } + + /** + * Get the dataType property: Type of data in the tiles. + * + * @return the dataType value. + */ + @Generated + public String getDataType() { + return this.dataType; + } + + /** + * Get the crs property: Coordinate reference system identifier. + * + * @return the crs value. + */ + @Generated + public String getCrs() { + return this.crs; + } + + /** + * Get the links property: Links related to this tileset. + * + * @return the links value. + */ + @Generated + public List getLinks() { + return this.links; + } + + /** + * Get the boundingBox property: Bounding box of the tileset. + * + * @return the boundingBox value. + */ + @Generated + public TileSetBoundingBox getBoundingBox() { + return this.boundingBox; + } + + /** + * Get the accessConstraints property: Access constraints for the tileset. + * + * @return the accessConstraints value. + */ + @Generated + public String getAccessConstraints() { + return this.accessConstraints; + } + + /** + * Get the tileMatrixSetLimits property: Limits for each tile matrix level in the tileset. + * + * @return the tileMatrixSetLimits value. + */ + @Generated + public List getTileMatrixSetLimits() { + return this.tileMatrixSetLimits; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("title", this.title); + jsonWriter.writeStringField("dataType", this.dataType); + jsonWriter.writeStringField("crs", this.crs); + jsonWriter.writeArrayField("links", this.links, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeJsonField("boundingBox", this.boundingBox); + jsonWriter.writeStringField("accessConstraints", this.accessConstraints); + jsonWriter.writeArrayField("tileMatrixSetLimits", this.tileMatrixSetLimits, + (writer, element) -> writer.writeJson(element)); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TileSetMetadata from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TileSetMetadata if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the TileSetMetadata. + */ + @Generated + public static TileSetMetadata fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + TileSetMetadata deserializedTileSetMetadata = new TileSetMetadata(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("title".equals(fieldName)) { + deserializedTileSetMetadata.title = reader.getString(); + } else if ("dataType".equals(fieldName)) { + deserializedTileSetMetadata.dataType = reader.getString(); + } else if ("crs".equals(fieldName)) { + deserializedTileSetMetadata.crs = reader.getString(); + } else if ("links".equals(fieldName)) { + List links = reader.readArray(reader1 -> TileSetLink.fromJson(reader1)); + deserializedTileSetMetadata.links = links; + } else if ("boundingBox".equals(fieldName)) { + deserializedTileSetMetadata.boundingBox = TileSetBoundingBox.fromJson(reader); + } else if ("accessConstraints".equals(fieldName)) { + deserializedTileSetMetadata.accessConstraints = reader.getString(); + } else if ("tileMatrixSetLimits".equals(fieldName)) { + List tileMatrixSetLimits + = reader.readArray(reader1 -> TileMatrixSetLimitsEntry.fromJson(reader1)); + deserializedTileSetMetadata.tileMatrixSetLimits = tileMatrixSetLimits; + } else { + reader.skipChildren(); + } + } + + return deserializedTileSetMetadata; + }); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TilerStacSearchDefinition.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TilerStacSearchDefinition.java index 2d6f8cf7640b..3d9ff720cabf 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TilerStacSearchDefinition.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/TilerStacSearchDefinition.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Generated; import com.azure.core.annotation.Immutable; +import com.azure.core.util.BinaryData; import com.azure.core.util.CoreUtils; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; @@ -34,19 +35,7 @@ public final class TilerStacSearchDefinition implements JsonSerializable search; - - /* - * SQL WHERE clause representing the search filters - */ - @Generated - private final String where; - - /* - * SQL ORDER BY clause for sorting results - */ - @Generated - private final String orderBy; + private final Map search; /* * Timestamp when the search was last accessed @@ -71,19 +60,15 @@ public final class TilerStacSearchDefinition implements JsonSerializable search, String where, String orderBy, - OffsetDateTime lastUsed, int useCount, MosaicMetadata metadata) { + private TilerStacSearchDefinition(String hash, Map search, OffsetDateTime lastUsed, + int useCount, MosaicMetadata metadata) { this.hash = hash; this.search = search; - this.where = where; - this.orderBy = orderBy; this.lastUsed = lastUsed; this.useCount = useCount; this.metadata = metadata; @@ -105,30 +90,10 @@ public String getHash() { * @return the search value. */ @Generated - public Map getSearch() { + public Map getSearch() { return this.search; } - /** - * Get the where property: SQL WHERE clause representing the search filters. - * - * @return the where value. - */ - @Generated - public String getWhere() { - return this.where; - } - - /** - * Get the orderBy property: SQL ORDER BY clause for sorting results. - * - * @return the orderBy value. - */ - @Generated - public String getOrderBy() { - return this.orderBy; - } - /** * Get the lastUsed property: Timestamp when the search was last accessed. * @@ -167,9 +132,13 @@ public MosaicMetadata getMetadata() { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("hash", this.hash); - jsonWriter.writeMapField("search", this.search, (writer, element) -> writer.writeUntyped(element)); - jsonWriter.writeStringField("_where", this.where); - jsonWriter.writeStringField("orderby", this.orderBy); + jsonWriter.writeMapField("search", this.search, (writer, element) -> { + if (element == null) { + writer.writeNull(); + } else { + element.writeTo(writer); + } + }); jsonWriter.writeStringField("lastused", this.lastUsed == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.lastUsed)); jsonWriter.writeIntField("usecount", this.useCount); @@ -190,9 +159,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { public static TilerStacSearchDefinition fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { String hash = null; - Map search = null; - String where = null; - String orderBy = null; + Map search = null; OffsetDateTime lastUsed = null; int useCount = 0; MosaicMetadata metadata = null; @@ -203,11 +170,8 @@ public static TilerStacSearchDefinition fromJson(JsonReader jsonReader) throws I if ("hash".equals(fieldName)) { hash = reader.getString(); } else if ("search".equals(fieldName)) { - search = reader.readMap(reader1 -> reader1.readUntyped()); - } else if ("_where".equals(fieldName)) { - where = reader.getString(); - } else if ("orderby".equals(fieldName)) { - orderBy = reader.getString(); + search = reader.readMap(reader1 -> reader1 + .getNullable(nonNullReader -> BinaryData.fromObject(nonNullReader.readUntyped()))); } else if ("lastused".equals(fieldName)) { lastUsed = reader .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); @@ -219,7 +183,7 @@ public static TilerStacSearchDefinition fromJson(JsonReader jsonReader) throws I reader.skipChildren(); } } - return new TilerStacSearchDefinition(hash, search, where, orderBy, lastUsed, useCount, metadata); + return new TilerStacSearchDefinition(hash, search, lastUsed, useCount, metadata); }); } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/WarpKernelResampling.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/WarpKernelResampling.java new file mode 100644 index 000000000000..d478fa9328df --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/WarpKernelResampling.java @@ -0,0 +1,129 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * WarpKernel resampling algorithm used when doing re-projection. Defaults to `nearest`. + */ +public final class WarpKernelResampling extends ExpandableStringEnum { + /** + * Nearest neighbor. + */ + @Generated + public static final WarpKernelResampling NEAREST = fromString("nearest"); + + /** + * Bilinear interpolation. + */ + @Generated + public static final WarpKernelResampling BILINEAR = fromString("bilinear"); + + /** + * Cubic interpolation. + */ + @Generated + public static final WarpKernelResampling CUBIC = fromString("cubic"); + + /** + * Cubic spline interpolation. + */ + @Generated + public static final WarpKernelResampling CUBIC_SPLINE = fromString("cubic_spline"); + + /** + * Lanczos windowed sinc resampling. + */ + @Generated + public static final WarpKernelResampling LANCZOS = fromString("lanczos"); + + /** + * Average resampling. + */ + @Generated + public static final WarpKernelResampling AVERAGE = fromString("average"); + + /** + * Mode resampling. + */ + @Generated + public static final WarpKernelResampling MODE = fromString("mode"); + + /** + * Maximum value resampling. + */ + @Generated + public static final WarpKernelResampling MAX = fromString("max"); + + /** + * Minimum value resampling. + */ + @Generated + public static final WarpKernelResampling MIN = fromString("min"); + + /** + * Median value resampling. + */ + @Generated + public static final WarpKernelResampling MED = fromString("med"); + + /** + * First quartile resampling. + */ + @Generated + public static final WarpKernelResampling Q1 = fromString("q1"); + + /** + * Third quartile resampling. + */ + @Generated + public static final WarpKernelResampling Q3 = fromString("q3"); + + /** + * Sum resampling. + */ + @Generated + public static final WarpKernelResampling SUM = fromString("sum"); + + /** + * Root mean square resampling. + */ + @Generated + public static final WarpKernelResampling RMS = fromString("rms"); + + /** + * Creates a new instance of WarpKernelResampling value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Generated + @Deprecated + public WarpKernelResampling() { + } + + /** + * Creates or finds a WarpKernelResampling from its string representation. + * + * @param name a name to look for. + * @return the corresponding WarpKernelResampling. + */ + @Generated + public static WarpKernelResampling fromString(String name) { + return fromString(name, WarpKernelResampling.class); + } + + /** + * Gets known WarpKernelResampling values. + * + * @return known WarpKernelResampling values. + */ + @Generated + public static Collection values() { + return values(WarpKernelResampling.class); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/resources/META-INF/azure-analytics-planetarycomputer_metadata.json b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/resources/META-INF/azure-analytics-planetarycomputer_metadata.json index 7edc7628f733..7fe24a7894f7 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/resources/META-INF/azure-analytics-planetarycomputer_metadata.json +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/resources/META-INF/azure-analytics-planetarycomputer_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.PlanetaryComputer":"2025-04-30-preview"},"crossLanguageDefinitions":{"com.azure.analytics.planetarycomputer.DataAsyncClient":"Customizations.Data","com.azure.analytics.planetarycomputer.DataAsyncClient.createStaticImage":"Customizations.Data.createStaticImage","com.azure.analytics.planetarycomputer.DataAsyncClient.createStaticImageWithResponse":"Customizations.Data.createStaticImage","com.azure.analytics.planetarycomputer.DataAsyncClient.cropGeoJson":"Customizations.Data.cropGeoJson","com.azure.analytics.planetarycomputer.DataAsyncClient.cropGeoJsonWithDimensions":"Customizations.Data.cropGeoJsonWithDimensions","com.azure.analytics.planetarycomputer.DataAsyncClient.cropGeoJsonWithDimensionsWithResponse":"Customizations.Data.cropGeoJsonWithDimensions","com.azure.analytics.planetarycomputer.DataAsyncClient.cropGeoJsonWithResponse":"Customizations.Data.cropGeoJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getAssetStatistics":"Customizations.Data.getAssetStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.getAssetStatisticsWithResponse":"Customizations.Data.getAssetStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.getBounds":"Customizations.Data.getBounds","com.azure.analytics.planetarycomputer.DataAsyncClient.getBoundsWithResponse":"Customizations.Data.getBounds","com.azure.analytics.planetarycomputer.DataAsyncClient.getClassMapLegend":"Customizations.Data.getClassMapLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getClassMapLegendWithResponse":"Customizations.Data.getClassMapLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getGeoJsonStatistics":"Customizations.Data.getGeoJsonStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.getGeoJsonStatisticsWithResponse":"Customizations.Data.getGeoJsonStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.getInfoGeoJson":"Customizations.Data.getInfoGeoJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getInfoGeoJsonWithResponse":"Customizations.Data.getInfoGeoJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getIntervalLegend":"Customizations.Data.getIntervalLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getIntervalLegendWithResponse":"Customizations.Data.getIntervalLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemAssetDetails":"Customizations.Data.getItemAssetDetails","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemAssetDetailsWithResponse":"Customizations.Data.getItemAssetDetails","com.azure.analytics.planetarycomputer.DataAsyncClient.getLegend":"Customizations.Data.getLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getLegendWithResponse":"Customizations.Data.getLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsAssetsForPoint":"Customizations.Data.getMosaicsAssetsForPoint","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsAssetsForPointWithResponse":"Customizations.Data.getMosaicsAssetsForPoint","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsAssetsForTile":"Customizations.Data.getMosaicsAssetsForTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsAssetsForTileWithResponse":"Customizations.Data.getMosaicsAssetsForTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsSearchInfo":"Customizations.Data.getMosaicsSearchInfo","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsSearchInfoWithResponse":"Customizations.Data.getMosaicsSearchInfo","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsTile":"Customizations.Data.getMosaicsTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsTileJson":"Customizations.Data.getMosaicsTileJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsTileJsonWithResponse":"Customizations.Data.getMosaicsTileJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsTileWithResponse":"Customizations.Data.getMosaicsTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsWmtsCapabilities":"Customizations.Data.getMosaicsWmtsCapabilities","com.azure.analytics.planetarycomputer.DataAsyncClient.getMosaicsWmtsCapabilitiesWithResponse":"Customizations.Data.getMosaicsWmtsCapabilities","com.azure.analytics.planetarycomputer.DataAsyncClient.getPart":"Customizations.Data.getPart","com.azure.analytics.planetarycomputer.DataAsyncClient.getPartWithDimensions":"Customizations.Data.getPartWithDimensions","com.azure.analytics.planetarycomputer.DataAsyncClient.getPartWithDimensionsWithResponse":"Customizations.Data.getPartWithDimensions","com.azure.analytics.planetarycomputer.DataAsyncClient.getPartWithResponse":"Customizations.Data.getPart","com.azure.analytics.planetarycomputer.DataAsyncClient.getPoint":"Customizations.Data.getPoint","com.azure.analytics.planetarycomputer.DataAsyncClient.getPointWithResponse":"Customizations.Data.getPoint","com.azure.analytics.planetarycomputer.DataAsyncClient.getPreview":"Customizations.Data.getPreview","com.azure.analytics.planetarycomputer.DataAsyncClient.getPreviewWithFormat":"Customizations.Data.getPreviewWithFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getPreviewWithFormatWithResponse":"Customizations.Data.getPreviewWithFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getPreviewWithResponse":"Customizations.Data.getPreview","com.azure.analytics.planetarycomputer.DataAsyncClient.getStaticImage":"Customizations.Data.getStaticImage","com.azure.analytics.planetarycomputer.DataAsyncClient.getStaticImageWithResponse":"Customizations.Data.getStaticImage","com.azure.analytics.planetarycomputer.DataAsyncClient.getTile":"Customizations.Data.getTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileJson":"Customizations.Data.getTileJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileJsonWithResponse":"Customizations.Data.getTileJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileMatrixDefinitions":"Customizations.Data.getTileMatrixDefinitions","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileMatrixDefinitionsWithResponse":"Customizations.Data.getTileMatrixDefinitions","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileWithResponse":"Customizations.Data.getTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getWmtsCapabilities":"Customizations.Data.getWmtsCapabilities","com.azure.analytics.planetarycomputer.DataAsyncClient.getWmtsCapabilitiesWithResponse":"Customizations.Data.getWmtsCapabilities","com.azure.analytics.planetarycomputer.DataAsyncClient.listAvailableAssets":"Customizations.Data.listAvailableAssets","com.azure.analytics.planetarycomputer.DataAsyncClient.listAvailableAssetsWithResponse":"Customizations.Data.listAvailableAssets","com.azure.analytics.planetarycomputer.DataAsyncClient.listStatistics":"Customizations.Data.listStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.listStatisticsWithResponse":"Customizations.Data.listStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.listTileMatrices":"Customizations.Data.listTileMatrices","com.azure.analytics.planetarycomputer.DataAsyncClient.listTileMatricesWithResponse":"Customizations.Data.listTileMatrices","com.azure.analytics.planetarycomputer.DataAsyncClient.registerMosaicsSearch":"Customizations.Data.registerMosaicsSearch","com.azure.analytics.planetarycomputer.DataAsyncClient.registerMosaicsSearchWithResponse":"Customizations.Data.registerMosaicsSearch","com.azure.analytics.planetarycomputer.DataClient":"Customizations.Data","com.azure.analytics.planetarycomputer.DataClient.createStaticImage":"Customizations.Data.createStaticImage","com.azure.analytics.planetarycomputer.DataClient.createStaticImageWithResponse":"Customizations.Data.createStaticImage","com.azure.analytics.planetarycomputer.DataClient.cropGeoJson":"Customizations.Data.cropGeoJson","com.azure.analytics.planetarycomputer.DataClient.cropGeoJsonWithDimensions":"Customizations.Data.cropGeoJsonWithDimensions","com.azure.analytics.planetarycomputer.DataClient.cropGeoJsonWithDimensionsWithResponse":"Customizations.Data.cropGeoJsonWithDimensions","com.azure.analytics.planetarycomputer.DataClient.cropGeoJsonWithResponse":"Customizations.Data.cropGeoJson","com.azure.analytics.planetarycomputer.DataClient.getAssetStatistics":"Customizations.Data.getAssetStatistics","com.azure.analytics.planetarycomputer.DataClient.getAssetStatisticsWithResponse":"Customizations.Data.getAssetStatistics","com.azure.analytics.planetarycomputer.DataClient.getBounds":"Customizations.Data.getBounds","com.azure.analytics.planetarycomputer.DataClient.getBoundsWithResponse":"Customizations.Data.getBounds","com.azure.analytics.planetarycomputer.DataClient.getClassMapLegend":"Customizations.Data.getClassMapLegend","com.azure.analytics.planetarycomputer.DataClient.getClassMapLegendWithResponse":"Customizations.Data.getClassMapLegend","com.azure.analytics.planetarycomputer.DataClient.getGeoJsonStatistics":"Customizations.Data.getGeoJsonStatistics","com.azure.analytics.planetarycomputer.DataClient.getGeoJsonStatisticsWithResponse":"Customizations.Data.getGeoJsonStatistics","com.azure.analytics.planetarycomputer.DataClient.getInfoGeoJson":"Customizations.Data.getInfoGeoJson","com.azure.analytics.planetarycomputer.DataClient.getInfoGeoJsonWithResponse":"Customizations.Data.getInfoGeoJson","com.azure.analytics.planetarycomputer.DataClient.getIntervalLegend":"Customizations.Data.getIntervalLegend","com.azure.analytics.planetarycomputer.DataClient.getIntervalLegendWithResponse":"Customizations.Data.getIntervalLegend","com.azure.analytics.planetarycomputer.DataClient.getItemAssetDetails":"Customizations.Data.getItemAssetDetails","com.azure.analytics.planetarycomputer.DataClient.getItemAssetDetailsWithResponse":"Customizations.Data.getItemAssetDetails","com.azure.analytics.planetarycomputer.DataClient.getLegend":"Customizations.Data.getLegend","com.azure.analytics.planetarycomputer.DataClient.getLegendWithResponse":"Customizations.Data.getLegend","com.azure.analytics.planetarycomputer.DataClient.getMosaicsAssetsForPoint":"Customizations.Data.getMosaicsAssetsForPoint","com.azure.analytics.planetarycomputer.DataClient.getMosaicsAssetsForPointWithResponse":"Customizations.Data.getMosaicsAssetsForPoint","com.azure.analytics.planetarycomputer.DataClient.getMosaicsAssetsForTile":"Customizations.Data.getMosaicsAssetsForTile","com.azure.analytics.planetarycomputer.DataClient.getMosaicsAssetsForTileWithResponse":"Customizations.Data.getMosaicsAssetsForTile","com.azure.analytics.planetarycomputer.DataClient.getMosaicsSearchInfo":"Customizations.Data.getMosaicsSearchInfo","com.azure.analytics.planetarycomputer.DataClient.getMosaicsSearchInfoWithResponse":"Customizations.Data.getMosaicsSearchInfo","com.azure.analytics.planetarycomputer.DataClient.getMosaicsTile":"Customizations.Data.getMosaicsTile","com.azure.analytics.planetarycomputer.DataClient.getMosaicsTileJson":"Customizations.Data.getMosaicsTileJson","com.azure.analytics.planetarycomputer.DataClient.getMosaicsTileJsonWithResponse":"Customizations.Data.getMosaicsTileJson","com.azure.analytics.planetarycomputer.DataClient.getMosaicsTileWithResponse":"Customizations.Data.getMosaicsTile","com.azure.analytics.planetarycomputer.DataClient.getMosaicsWmtsCapabilities":"Customizations.Data.getMosaicsWmtsCapabilities","com.azure.analytics.planetarycomputer.DataClient.getMosaicsWmtsCapabilitiesWithResponse":"Customizations.Data.getMosaicsWmtsCapabilities","com.azure.analytics.planetarycomputer.DataClient.getPart":"Customizations.Data.getPart","com.azure.analytics.planetarycomputer.DataClient.getPartWithDimensions":"Customizations.Data.getPartWithDimensions","com.azure.analytics.planetarycomputer.DataClient.getPartWithDimensionsWithResponse":"Customizations.Data.getPartWithDimensions","com.azure.analytics.planetarycomputer.DataClient.getPartWithResponse":"Customizations.Data.getPart","com.azure.analytics.planetarycomputer.DataClient.getPoint":"Customizations.Data.getPoint","com.azure.analytics.planetarycomputer.DataClient.getPointWithResponse":"Customizations.Data.getPoint","com.azure.analytics.planetarycomputer.DataClient.getPreview":"Customizations.Data.getPreview","com.azure.analytics.planetarycomputer.DataClient.getPreviewWithFormat":"Customizations.Data.getPreviewWithFormat","com.azure.analytics.planetarycomputer.DataClient.getPreviewWithFormatWithResponse":"Customizations.Data.getPreviewWithFormat","com.azure.analytics.planetarycomputer.DataClient.getPreviewWithResponse":"Customizations.Data.getPreview","com.azure.analytics.planetarycomputer.DataClient.getStaticImage":"Customizations.Data.getStaticImage","com.azure.analytics.planetarycomputer.DataClient.getStaticImageWithResponse":"Customizations.Data.getStaticImage","com.azure.analytics.planetarycomputer.DataClient.getTile":"Customizations.Data.getTile","com.azure.analytics.planetarycomputer.DataClient.getTileJson":"Customizations.Data.getTileJson","com.azure.analytics.planetarycomputer.DataClient.getTileJsonWithResponse":"Customizations.Data.getTileJson","com.azure.analytics.planetarycomputer.DataClient.getTileMatrixDefinitions":"Customizations.Data.getTileMatrixDefinitions","com.azure.analytics.planetarycomputer.DataClient.getTileMatrixDefinitionsWithResponse":"Customizations.Data.getTileMatrixDefinitions","com.azure.analytics.planetarycomputer.DataClient.getTileWithResponse":"Customizations.Data.getTile","com.azure.analytics.planetarycomputer.DataClient.getWmtsCapabilities":"Customizations.Data.getWmtsCapabilities","com.azure.analytics.planetarycomputer.DataClient.getWmtsCapabilitiesWithResponse":"Customizations.Data.getWmtsCapabilities","com.azure.analytics.planetarycomputer.DataClient.listAvailableAssets":"Customizations.Data.listAvailableAssets","com.azure.analytics.planetarycomputer.DataClient.listAvailableAssetsWithResponse":"Customizations.Data.listAvailableAssets","com.azure.analytics.planetarycomputer.DataClient.listStatistics":"Customizations.Data.listStatistics","com.azure.analytics.planetarycomputer.DataClient.listStatisticsWithResponse":"Customizations.Data.listStatistics","com.azure.analytics.planetarycomputer.DataClient.listTileMatrices":"Customizations.Data.listTileMatrices","com.azure.analytics.planetarycomputer.DataClient.listTileMatricesWithResponse":"Customizations.Data.listTileMatrices","com.azure.analytics.planetarycomputer.DataClient.registerMosaicsSearch":"Customizations.Data.registerMosaicsSearch","com.azure.analytics.planetarycomputer.DataClient.registerMosaicsSearchWithResponse":"Customizations.Data.registerMosaicsSearch","com.azure.analytics.planetarycomputer.IngestionAsyncClient":"Customizations.Ingestion","com.azure.analytics.planetarycomputer.IngestionAsyncClient.beginDelete":"Customizations.Ingestion.delete","com.azure.analytics.planetarycomputer.IngestionAsyncClient.beginDeleteWithModel":"Customizations.Ingestion.delete","com.azure.analytics.planetarycomputer.IngestionAsyncClient.cancelAllOperations":"Customizations.Ingestion.cancelAllOperations","com.azure.analytics.planetarycomputer.IngestionAsyncClient.cancelAllOperationsWithResponse":"Customizations.Ingestion.cancelAllOperations","com.azure.analytics.planetarycomputer.IngestionAsyncClient.cancelOperation":"Customizations.Ingestion.cancelOperation","com.azure.analytics.planetarycomputer.IngestionAsyncClient.cancelOperationWithResponse":"Customizations.Ingestion.cancelOperation","com.azure.analytics.planetarycomputer.IngestionAsyncClient.create":"Customizations.Ingestion.create","com.azure.analytics.planetarycomputer.IngestionAsyncClient.createRun":"Customizations.Ingestion.createRun","com.azure.analytics.planetarycomputer.IngestionAsyncClient.createRunWithResponse":"Customizations.Ingestion.createRun","com.azure.analytics.planetarycomputer.IngestionAsyncClient.createSource":"Customizations.Ingestion.createSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.createSourceWithResponse":"Customizations.Ingestion.createSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.createWithResponse":"Customizations.Ingestion.create","com.azure.analytics.planetarycomputer.IngestionAsyncClient.deleteSource":"Customizations.Ingestion.deleteSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.deleteSourceWithResponse":"Customizations.Ingestion.deleteSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.get":"Customizations.Ingestion.get","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getOperation":"Customizations.Ingestion.getOperation","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getOperationWithResponse":"Customizations.Ingestion.getOperation","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getRun":"Customizations.Ingestion.getRun","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getRunWithResponse":"Customizations.Ingestion.getRun","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getSource":"Customizations.Ingestion.getSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getSourceWithResponse":"Customizations.Ingestion.getSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getWithResponse":"Customizations.Ingestion.get","com.azure.analytics.planetarycomputer.IngestionAsyncClient.list":"Customizations.Ingestion.list","com.azure.analytics.planetarycomputer.IngestionAsyncClient.listManagedIdentities":"Customizations.Ingestion.listManagedIdentities","com.azure.analytics.planetarycomputer.IngestionAsyncClient.listOperations":"Customizations.Ingestion.listOperations","com.azure.analytics.planetarycomputer.IngestionAsyncClient.listRuns":"Customizations.Ingestion.listRuns","com.azure.analytics.planetarycomputer.IngestionAsyncClient.listSources":"Customizations.Ingestion.listSources","com.azure.analytics.planetarycomputer.IngestionAsyncClient.replaceSource":"Customizations.Ingestion.replaceSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.replaceSourceWithResponse":"Customizations.Ingestion.replaceSource","com.azure.analytics.planetarycomputer.IngestionClient":"Customizations.Ingestion","com.azure.analytics.planetarycomputer.IngestionClient.beginDelete":"Customizations.Ingestion.delete","com.azure.analytics.planetarycomputer.IngestionClient.beginDeleteWithModel":"Customizations.Ingestion.delete","com.azure.analytics.planetarycomputer.IngestionClient.cancelAllOperations":"Customizations.Ingestion.cancelAllOperations","com.azure.analytics.planetarycomputer.IngestionClient.cancelAllOperationsWithResponse":"Customizations.Ingestion.cancelAllOperations","com.azure.analytics.planetarycomputer.IngestionClient.cancelOperation":"Customizations.Ingestion.cancelOperation","com.azure.analytics.planetarycomputer.IngestionClient.cancelOperationWithResponse":"Customizations.Ingestion.cancelOperation","com.azure.analytics.planetarycomputer.IngestionClient.create":"Customizations.Ingestion.create","com.azure.analytics.planetarycomputer.IngestionClient.createRun":"Customizations.Ingestion.createRun","com.azure.analytics.planetarycomputer.IngestionClient.createRunWithResponse":"Customizations.Ingestion.createRun","com.azure.analytics.planetarycomputer.IngestionClient.createSource":"Customizations.Ingestion.createSource","com.azure.analytics.planetarycomputer.IngestionClient.createSourceWithResponse":"Customizations.Ingestion.createSource","com.azure.analytics.planetarycomputer.IngestionClient.createWithResponse":"Customizations.Ingestion.create","com.azure.analytics.planetarycomputer.IngestionClient.deleteSource":"Customizations.Ingestion.deleteSource","com.azure.analytics.planetarycomputer.IngestionClient.deleteSourceWithResponse":"Customizations.Ingestion.deleteSource","com.azure.analytics.planetarycomputer.IngestionClient.get":"Customizations.Ingestion.get","com.azure.analytics.planetarycomputer.IngestionClient.getOperation":"Customizations.Ingestion.getOperation","com.azure.analytics.planetarycomputer.IngestionClient.getOperationWithResponse":"Customizations.Ingestion.getOperation","com.azure.analytics.planetarycomputer.IngestionClient.getRun":"Customizations.Ingestion.getRun","com.azure.analytics.planetarycomputer.IngestionClient.getRunWithResponse":"Customizations.Ingestion.getRun","com.azure.analytics.planetarycomputer.IngestionClient.getSource":"Customizations.Ingestion.getSource","com.azure.analytics.planetarycomputer.IngestionClient.getSourceWithResponse":"Customizations.Ingestion.getSource","com.azure.analytics.planetarycomputer.IngestionClient.getWithResponse":"Customizations.Ingestion.get","com.azure.analytics.planetarycomputer.IngestionClient.list":"Customizations.Ingestion.list","com.azure.analytics.planetarycomputer.IngestionClient.listManagedIdentities":"Customizations.Ingestion.listManagedIdentities","com.azure.analytics.planetarycomputer.IngestionClient.listOperations":"Customizations.Ingestion.listOperations","com.azure.analytics.planetarycomputer.IngestionClient.listRuns":"Customizations.Ingestion.listRuns","com.azure.analytics.planetarycomputer.IngestionClient.listSources":"Customizations.Ingestion.listSources","com.azure.analytics.planetarycomputer.IngestionClient.replaceSource":"Customizations.Ingestion.replaceSource","com.azure.analytics.planetarycomputer.IngestionClient.replaceSourceWithResponse":"Customizations.Ingestion.replaceSource","com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder":"Customizations","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient":"Customizations.SharedAccessSignature","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.getSign":"Customizations.SharedAccessSignature.getSign","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.getSignWithResponse":"Customizations.SharedAccessSignature.getSign","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.getToken":"Customizations.SharedAccessSignature.getToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.getTokenWithResponse":"Customizations.SharedAccessSignature.getToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.revokeToken":"Customizations.SharedAccessSignature.revokeToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.revokeTokenWithResponse":"Customizations.SharedAccessSignature.revokeToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient":"Customizations.SharedAccessSignature","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.getSign":"Customizations.SharedAccessSignature.getSign","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.getSignWithResponse":"Customizations.SharedAccessSignature.getSign","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.getToken":"Customizations.SharedAccessSignature.getToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.getTokenWithResponse":"Customizations.SharedAccessSignature.getToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.revokeToken":"Customizations.SharedAccessSignature.revokeToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.revokeTokenWithResponse":"Customizations.SharedAccessSignature.revokeToken","com.azure.analytics.planetarycomputer.StacAsyncClient":"Customizations.Stac","com.azure.analytics.planetarycomputer.StacAsyncClient.addMosaic":"Customizations.Stac.addMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.addMosaicWithResponse":"Customizations.Stac.addMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.beginCreateCollection":"Customizations.Stac.createCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.beginCreateCollectionWithModel":"Customizations.Stac.createCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.beginCreateItem":"Customizations.Stac.createItem","com.azure.analytics.planetarycomputer.StacAsyncClient.beginCreateItemWithModel":"Customizations.Stac.createItem","com.azure.analytics.planetarycomputer.StacAsyncClient.beginCreateOrReplaceItem":"Customizations.Stac.createOrReplaceItem","com.azure.analytics.planetarycomputer.StacAsyncClient.beginCreateOrReplaceItemWithModel":"Customizations.Stac.createOrReplaceItem","com.azure.analytics.planetarycomputer.StacAsyncClient.beginDeleteCollection":"Customizations.Stac.deleteCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.beginDeleteCollectionWithModel":"Customizations.Stac.deleteCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.beginDeleteItem":"Customizations.Stac.deleteItem","com.azure.analytics.planetarycomputer.StacAsyncClient.beginDeleteItemWithModel":"Customizations.Stac.deleteItem","com.azure.analytics.planetarycomputer.StacAsyncClient.createCollectionAsset":"Customizations.Stac.createCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.createCollectionAssetWithResponse":"Customizations.Stac.createCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.createOrReplaceCollection":"Customizations.Stac.createOrReplaceCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.createOrReplaceCollectionWithResponse":"Customizations.Stac.createOrReplaceCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.createQueryables":"Customizations.Stac.createQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.createQueryablesWithResponse":"Customizations.Stac.createQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.createRenderOption":"Customizations.Stac.createRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.createRenderOptionWithResponse":"Customizations.Stac.createRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteCollectionAsset":"Customizations.Stac.deleteCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteCollectionAssetWithResponse":"Customizations.Stac.deleteCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteMosaic":"Customizations.Stac.deleteMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteMosaicWithResponse":"Customizations.Stac.deleteMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteQueryable":"Customizations.Stac.deleteQueryable","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteQueryableWithResponse":"Customizations.Stac.deleteQueryable","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteRenderOption":"Customizations.Stac.deleteRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteRenderOptionWithResponse":"Customizations.Stac.deleteRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollection":"Customizations.Stac.getCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionConfiguration":"Customizations.Stac.getCollectionConfiguration","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionConfigurationWithResponse":"Customizations.Stac.getCollectionConfiguration","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionQueryables":"Customizations.Stac.getCollectionQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionQueryablesWithResponse":"Customizations.Stac.getCollectionQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionThumbnail":"Customizations.Stac.getCollectionThumbnail","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionThumbnailWithResponse":"Customizations.Stac.getCollectionThumbnail","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionWithResponse":"Customizations.Stac.getCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollections":"Customizations.Stac.getCollections","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionsWithResponse":"Customizations.Stac.getCollections","com.azure.analytics.planetarycomputer.StacAsyncClient.getConformanceClass":"Customizations.Stac.getConformanceClass","com.azure.analytics.planetarycomputer.StacAsyncClient.getConformanceClassWithResponse":"Customizations.Stac.getConformanceClass","com.azure.analytics.planetarycomputer.StacAsyncClient.getItem":"Customizations.Stac.getItem","com.azure.analytics.planetarycomputer.StacAsyncClient.getItemCollection":"Customizations.Stac.getItemCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.getItemCollectionWithResponse":"Customizations.Stac.getItemCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.getItemWithResponse":"Customizations.Stac.getItem","com.azure.analytics.planetarycomputer.StacAsyncClient.getLandingPage":"Customizations.Stac.getLandingPage","com.azure.analytics.planetarycomputer.StacAsyncClient.getLandingPageWithResponse":"Customizations.Stac.getLandingPage","com.azure.analytics.planetarycomputer.StacAsyncClient.getMosaic":"Customizations.Stac.getMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.getMosaicWithResponse":"Customizations.Stac.getMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.getPartitionType":"Customizations.Stac.getPartitionType","com.azure.analytics.planetarycomputer.StacAsyncClient.getPartitionTypeWithResponse":"Customizations.Stac.getPartitionType","com.azure.analytics.planetarycomputer.StacAsyncClient.getRenderOption":"Customizations.Stac.getRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.getRenderOptionWithResponse":"Customizations.Stac.getRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.getTileSettings":"Customizations.Stac.getTileSettings","com.azure.analytics.planetarycomputer.StacAsyncClient.getTileSettingsWithResponse":"Customizations.Stac.getTileSettings","com.azure.analytics.planetarycomputer.StacAsyncClient.listMosaics":"Customizations.Stac.listMosaics","com.azure.analytics.planetarycomputer.StacAsyncClient.listMosaicsWithResponse":"Customizations.Stac.listMosaics","com.azure.analytics.planetarycomputer.StacAsyncClient.listQueryables":"Customizations.Stac.listQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.listQueryablesWithResponse":"Customizations.Stac.listQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.listRenderOptions":"Customizations.Stac.listRenderOptions","com.azure.analytics.planetarycomputer.StacAsyncClient.listRenderOptionsWithResponse":"Customizations.Stac.listRenderOptions","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceCollectionAsset":"Customizations.Stac.replaceCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceCollectionAssetWithResponse":"Customizations.Stac.replaceCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceMosaic":"Customizations.Stac.replaceMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceMosaicWithResponse":"Customizations.Stac.replaceMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.replacePartitionType":"Customizations.Stac.replacePartitionType","com.azure.analytics.planetarycomputer.StacAsyncClient.replacePartitionTypeWithResponse":"Customizations.Stac.replacePartitionType","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceQueryable":"Customizations.Stac.replaceQueryable","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceQueryableWithResponse":"Customizations.Stac.replaceQueryable","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceRenderOption":"Customizations.Stac.replaceRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceRenderOptionWithResponse":"Customizations.Stac.replaceRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceTileSettings":"Customizations.Stac.replaceTileSettings","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceTileSettingsWithResponse":"Customizations.Stac.replaceTileSettings","com.azure.analytics.planetarycomputer.StacAsyncClient.search":"Customizations.Stac.search","com.azure.analytics.planetarycomputer.StacAsyncClient.searchWithResponse":"Customizations.Stac.search","com.azure.analytics.planetarycomputer.StacClient":"Customizations.Stac","com.azure.analytics.planetarycomputer.StacClient.addMosaic":"Customizations.Stac.addMosaic","com.azure.analytics.planetarycomputer.StacClient.addMosaicWithResponse":"Customizations.Stac.addMosaic","com.azure.analytics.planetarycomputer.StacClient.beginCreateCollection":"Customizations.Stac.createCollection","com.azure.analytics.planetarycomputer.StacClient.beginCreateCollectionWithModel":"Customizations.Stac.createCollection","com.azure.analytics.planetarycomputer.StacClient.beginCreateItem":"Customizations.Stac.createItem","com.azure.analytics.planetarycomputer.StacClient.beginCreateItemWithModel":"Customizations.Stac.createItem","com.azure.analytics.planetarycomputer.StacClient.beginCreateOrReplaceItem":"Customizations.Stac.createOrReplaceItem","com.azure.analytics.planetarycomputer.StacClient.beginCreateOrReplaceItemWithModel":"Customizations.Stac.createOrReplaceItem","com.azure.analytics.planetarycomputer.StacClient.beginDeleteCollection":"Customizations.Stac.deleteCollection","com.azure.analytics.planetarycomputer.StacClient.beginDeleteCollectionWithModel":"Customizations.Stac.deleteCollection","com.azure.analytics.planetarycomputer.StacClient.beginDeleteItem":"Customizations.Stac.deleteItem","com.azure.analytics.planetarycomputer.StacClient.beginDeleteItemWithModel":"Customizations.Stac.deleteItem","com.azure.analytics.planetarycomputer.StacClient.createCollectionAsset":"Customizations.Stac.createCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.createCollectionAssetWithResponse":"Customizations.Stac.createCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.createOrReplaceCollection":"Customizations.Stac.createOrReplaceCollection","com.azure.analytics.planetarycomputer.StacClient.createOrReplaceCollectionWithResponse":"Customizations.Stac.createOrReplaceCollection","com.azure.analytics.planetarycomputer.StacClient.createQueryables":"Customizations.Stac.createQueryables","com.azure.analytics.planetarycomputer.StacClient.createQueryablesWithResponse":"Customizations.Stac.createQueryables","com.azure.analytics.planetarycomputer.StacClient.createRenderOption":"Customizations.Stac.createRenderOption","com.azure.analytics.planetarycomputer.StacClient.createRenderOptionWithResponse":"Customizations.Stac.createRenderOption","com.azure.analytics.planetarycomputer.StacClient.deleteCollectionAsset":"Customizations.Stac.deleteCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.deleteCollectionAssetWithResponse":"Customizations.Stac.deleteCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.deleteMosaic":"Customizations.Stac.deleteMosaic","com.azure.analytics.planetarycomputer.StacClient.deleteMosaicWithResponse":"Customizations.Stac.deleteMosaic","com.azure.analytics.planetarycomputer.StacClient.deleteQueryable":"Customizations.Stac.deleteQueryable","com.azure.analytics.planetarycomputer.StacClient.deleteQueryableWithResponse":"Customizations.Stac.deleteQueryable","com.azure.analytics.planetarycomputer.StacClient.deleteRenderOption":"Customizations.Stac.deleteRenderOption","com.azure.analytics.planetarycomputer.StacClient.deleteRenderOptionWithResponse":"Customizations.Stac.deleteRenderOption","com.azure.analytics.planetarycomputer.StacClient.getCollection":"Customizations.Stac.getCollection","com.azure.analytics.planetarycomputer.StacClient.getCollectionConfiguration":"Customizations.Stac.getCollectionConfiguration","com.azure.analytics.planetarycomputer.StacClient.getCollectionConfigurationWithResponse":"Customizations.Stac.getCollectionConfiguration","com.azure.analytics.planetarycomputer.StacClient.getCollectionQueryables":"Customizations.Stac.getCollectionQueryables","com.azure.analytics.planetarycomputer.StacClient.getCollectionQueryablesWithResponse":"Customizations.Stac.getCollectionQueryables","com.azure.analytics.planetarycomputer.StacClient.getCollectionThumbnail":"Customizations.Stac.getCollectionThumbnail","com.azure.analytics.planetarycomputer.StacClient.getCollectionThumbnailWithResponse":"Customizations.Stac.getCollectionThumbnail","com.azure.analytics.planetarycomputer.StacClient.getCollectionWithResponse":"Customizations.Stac.getCollection","com.azure.analytics.planetarycomputer.StacClient.getCollections":"Customizations.Stac.getCollections","com.azure.analytics.planetarycomputer.StacClient.getCollectionsWithResponse":"Customizations.Stac.getCollections","com.azure.analytics.planetarycomputer.StacClient.getConformanceClass":"Customizations.Stac.getConformanceClass","com.azure.analytics.planetarycomputer.StacClient.getConformanceClassWithResponse":"Customizations.Stac.getConformanceClass","com.azure.analytics.planetarycomputer.StacClient.getItem":"Customizations.Stac.getItem","com.azure.analytics.planetarycomputer.StacClient.getItemCollection":"Customizations.Stac.getItemCollection","com.azure.analytics.planetarycomputer.StacClient.getItemCollectionWithResponse":"Customizations.Stac.getItemCollection","com.azure.analytics.planetarycomputer.StacClient.getItemWithResponse":"Customizations.Stac.getItem","com.azure.analytics.planetarycomputer.StacClient.getLandingPage":"Customizations.Stac.getLandingPage","com.azure.analytics.planetarycomputer.StacClient.getLandingPageWithResponse":"Customizations.Stac.getLandingPage","com.azure.analytics.planetarycomputer.StacClient.getMosaic":"Customizations.Stac.getMosaic","com.azure.analytics.planetarycomputer.StacClient.getMosaicWithResponse":"Customizations.Stac.getMosaic","com.azure.analytics.planetarycomputer.StacClient.getPartitionType":"Customizations.Stac.getPartitionType","com.azure.analytics.planetarycomputer.StacClient.getPartitionTypeWithResponse":"Customizations.Stac.getPartitionType","com.azure.analytics.planetarycomputer.StacClient.getRenderOption":"Customizations.Stac.getRenderOption","com.azure.analytics.planetarycomputer.StacClient.getRenderOptionWithResponse":"Customizations.Stac.getRenderOption","com.azure.analytics.planetarycomputer.StacClient.getTileSettings":"Customizations.Stac.getTileSettings","com.azure.analytics.planetarycomputer.StacClient.getTileSettingsWithResponse":"Customizations.Stac.getTileSettings","com.azure.analytics.planetarycomputer.StacClient.listMosaics":"Customizations.Stac.listMosaics","com.azure.analytics.planetarycomputer.StacClient.listMosaicsWithResponse":"Customizations.Stac.listMosaics","com.azure.analytics.planetarycomputer.StacClient.listQueryables":"Customizations.Stac.listQueryables","com.azure.analytics.planetarycomputer.StacClient.listQueryablesWithResponse":"Customizations.Stac.listQueryables","com.azure.analytics.planetarycomputer.StacClient.listRenderOptions":"Customizations.Stac.listRenderOptions","com.azure.analytics.planetarycomputer.StacClient.listRenderOptionsWithResponse":"Customizations.Stac.listRenderOptions","com.azure.analytics.planetarycomputer.StacClient.replaceCollectionAsset":"Customizations.Stac.replaceCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.replaceCollectionAssetWithResponse":"Customizations.Stac.replaceCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.replaceMosaic":"Customizations.Stac.replaceMosaic","com.azure.analytics.planetarycomputer.StacClient.replaceMosaicWithResponse":"Customizations.Stac.replaceMosaic","com.azure.analytics.planetarycomputer.StacClient.replacePartitionType":"Customizations.Stac.replacePartitionType","com.azure.analytics.planetarycomputer.StacClient.replacePartitionTypeWithResponse":"Customizations.Stac.replacePartitionType","com.azure.analytics.planetarycomputer.StacClient.replaceQueryable":"Customizations.Stac.replaceQueryable","com.azure.analytics.planetarycomputer.StacClient.replaceQueryableWithResponse":"Customizations.Stac.replaceQueryable","com.azure.analytics.planetarycomputer.StacClient.replaceRenderOption":"Customizations.Stac.replaceRenderOption","com.azure.analytics.planetarycomputer.StacClient.replaceRenderOptionWithResponse":"Customizations.Stac.replaceRenderOption","com.azure.analytics.planetarycomputer.StacClient.replaceTileSettings":"Customizations.Stac.replaceTileSettings","com.azure.analytics.planetarycomputer.StacClient.replaceTileSettingsWithResponse":"Customizations.Stac.replaceTileSettings","com.azure.analytics.planetarycomputer.StacClient.search":"Customizations.Stac.search","com.azure.analytics.planetarycomputer.StacClient.searchWithResponse":"Customizations.Stac.search","com.azure.analytics.planetarycomputer.implementation.models.RegisterMosaicsSearchRequest":"Customizations.registerMosaicsSearch.Request.anonymous","com.azure.analytics.planetarycomputer.models.AssetMetadata":"Microsoft.PlanetaryComputer.AssetMetadata","com.azure.analytics.planetarycomputer.models.AssetStatisticsResponse":"Microsoft.PlanetaryComputer.AssetStatisticsResponse","com.azure.analytics.planetarycomputer.models.BandStatistics":"Microsoft.PlanetaryComputer.BandStatistics","com.azure.analytics.planetarycomputer.models.BandStatisticsMap":"Microsoft.PlanetaryComputer.BandStatisticsMap","com.azure.analytics.planetarycomputer.models.ClassMapLegendResponse":"ClassMapLegendResponse","com.azure.analytics.planetarycomputer.models.ColorMapNames":"Microsoft.PlanetaryComputer.ColorMapNames","com.azure.analytics.planetarycomputer.models.CropGeoJsonContentType":"Customizations.Data.cropGeoJson.accept","com.azure.analytics.planetarycomputer.models.CropGeoJsonOptions":null,"com.azure.analytics.planetarycomputer.models.CropGeoJsonWithDimensionsContentType":"Customizations.Data.cropGeoJsonWithDimensions.accept","com.azure.analytics.planetarycomputer.models.DefaultLocation":"Microsoft.PlanetaryComputer.DefaultLocation","com.azure.analytics.planetarycomputer.models.ErrorInfo":"Microsoft.PlanetaryComputer.ErrorInfo","com.azure.analytics.planetarycomputer.models.Feature":"Feature","com.azure.analytics.planetarycomputer.models.FeatureType":"FeatureType","com.azure.analytics.planetarycomputer.models.FileDetails":null,"com.azure.analytics.planetarycomputer.models.FilterLanguage":"Microsoft.PlanetaryComputer.FilterLanguage","com.azure.analytics.planetarycomputer.models.Geometry":"Geometry","com.azure.analytics.planetarycomputer.models.GeometryType":"GeometryType","com.azure.analytics.planetarycomputer.models.GetAssetStatisticsOptions":null,"com.azure.analytics.planetarycomputer.models.GetCollectionThumbnailContentType":"Customizations.Stac.getCollectionThumbnail.accept","com.azure.analytics.planetarycomputer.models.GetGeoJsonStatisticsOptions":null,"com.azure.analytics.planetarycomputer.models.GetMosaicTileJsonOptions":null,"com.azure.analytics.planetarycomputer.models.GetMosaicTileOptions":null,"com.azure.analytics.planetarycomputer.models.GetMosaicWmtsCapabilitiesOptions":null,"com.azure.analytics.planetarycomputer.models.GetMosaicsTileContentType":"Customizations.Data.getMosaicsTile.accept","com.azure.analytics.planetarycomputer.models.GetPartContentType":"Customizations.Data.getPart.accept","com.azure.analytics.planetarycomputer.models.GetPartOptions":null,"com.azure.analytics.planetarycomputer.models.GetPartWithDimensionsContentType":"Customizations.Data.getPartWithDimensions.accept","com.azure.analytics.planetarycomputer.models.GetPreviewContentType":"Customizations.Data.getPreview.accept","com.azure.analytics.planetarycomputer.models.GetPreviewOptions":null,"com.azure.analytics.planetarycomputer.models.GetPreviewWithFormatContentType":"Customizations.Data.getPreviewWithFormat.accept","com.azure.analytics.planetarycomputer.models.GetStatisticsOptions":null,"com.azure.analytics.planetarycomputer.models.GetTileContentType":"Customizations.Data.getTile.accept","com.azure.analytics.planetarycomputer.models.GetTileJsonOptions":null,"com.azure.analytics.planetarycomputer.models.GetTileOptions":null,"com.azure.analytics.planetarycomputer.models.GetWmtsCapabilitiesOptions":null,"com.azure.analytics.planetarycomputer.models.ImageParameters":"Microsoft.PlanetaryComputer.ImageParameters","com.azure.analytics.planetarycomputer.models.ImageResponse":"Microsoft.PlanetaryComputer.ImageResponse","com.azure.analytics.planetarycomputer.models.IngestionDefinition":"Microsoft.PlanetaryComputer.IngestionDefinition","com.azure.analytics.planetarycomputer.models.IngestionRun":"Microsoft.PlanetaryComputer.IngestionRun","com.azure.analytics.planetarycomputer.models.IngestionRunOperation":"Microsoft.PlanetaryComputer.IngestionRunOperation","com.azure.analytics.planetarycomputer.models.IngestionSource":"Microsoft.PlanetaryComputer.IngestionSource","com.azure.analytics.planetarycomputer.models.IngestionSourceSummary":"Microsoft.PlanetaryComputer.IngestionSourceSummary","com.azure.analytics.planetarycomputer.models.IngestionSourceType":"Microsoft.PlanetaryComputer.IngestionSourceType","com.azure.analytics.planetarycomputer.models.IngestionStatus":"Microsoft.PlanetaryComputer.IngestionStatus","com.azure.analytics.planetarycomputer.models.IngestionType":"Microsoft.PlanetaryComputer.IngestionType","com.azure.analytics.planetarycomputer.models.LegendConfigType":"Microsoft.PlanetaryComputer.LegendConfigType","com.azure.analytics.planetarycomputer.models.LineString":"LineString","com.azure.analytics.planetarycomputer.models.ManagedIdentityConnection":"Microsoft.PlanetaryComputer.ManagedIdentityConnection","com.azure.analytics.planetarycomputer.models.ManagedIdentityIngestionSource":"Microsoft.PlanetaryComputer.ManagedIdentityIngestionSource","com.azure.analytics.planetarycomputer.models.ManagedIdentityMetadata":"Microsoft.PlanetaryComputer.ManagedIdentityMetadata","com.azure.analytics.planetarycomputer.models.MosaicMetadata":"Microsoft.PlanetaryComputer.MosaicMetadata","com.azure.analytics.planetarycomputer.models.MosaicMetadataType":"Microsoft.PlanetaryComputer.MosaicMetadataType","com.azure.analytics.planetarycomputer.models.MultiLineString":"MultiLineString","com.azure.analytics.planetarycomputer.models.MultiPoint":"MultiPoint","com.azure.analytics.planetarycomputer.models.MultiPolygon":"MultiPolygon","com.azure.analytics.planetarycomputer.models.NoDataType":"Microsoft.PlanetaryComputer.NoDataType","com.azure.analytics.planetarycomputer.models.Operation":"Microsoft.PlanetaryComputer.Operation","com.azure.analytics.planetarycomputer.models.OperationStatus":"Microsoft.PlanetaryComputer.OperationStatus","com.azure.analytics.planetarycomputer.models.OperationStatusHistoryItem":"Microsoft.PlanetaryComputer.OperationStatusHistoryItem","com.azure.analytics.planetarycomputer.models.PartitionType":"Microsoft.PlanetaryComputer.PartitionType","com.azure.analytics.planetarycomputer.models.PartitionTypeScheme":"Microsoft.PlanetaryComputer.PartitionTypeScheme","com.azure.analytics.planetarycomputer.models.PixelSelection":"Microsoft.PlanetaryComputer.PixelSelection","com.azure.analytics.planetarycomputer.models.Point":"Point","com.azure.analytics.planetarycomputer.models.Polygon":"Polygon","com.azure.analytics.planetarycomputer.models.QueryableDefinitionsResponse":"Microsoft.PlanetaryComputer.QueryableDefinitionsResponse","com.azure.analytics.planetarycomputer.models.RegisterMosaicsSearchOptions":null,"com.azure.analytics.planetarycomputer.models.RenderOption":"Microsoft.PlanetaryComputer.RenderOption","com.azure.analytics.planetarycomputer.models.RenderOptionCondition":"Microsoft.PlanetaryComputer.RenderOptionCondition","com.azure.analytics.planetarycomputer.models.RenderOptionLegend":"Microsoft.PlanetaryComputer.RenderOptionLegend","com.azure.analytics.planetarycomputer.models.RenderOptionType":"Microsoft.PlanetaryComputer.RenderOptionType","com.azure.analytics.planetarycomputer.models.RenderOptionVectorOptions":"Microsoft.PlanetaryComputer.RenderOptionVectorOptions","com.azure.analytics.planetarycomputer.models.Resampling":"Microsoft.PlanetaryComputer.Resampling","com.azure.analytics.planetarycomputer.models.SearchOptionsFields":"Microsoft.PlanetaryComputer.SearchOptionsFields","com.azure.analytics.planetarycomputer.models.SharedAccessSignatureSignedLink":"Microsoft.PlanetaryComputer.SharedAccessSignatureSignedLink","com.azure.analytics.planetarycomputer.models.SharedAccessSignatureToken":"Microsoft.PlanetaryComputer.SharedAccessSignatureToken","com.azure.analytics.planetarycomputer.models.SharedAccessSignatureTokenConnection":"Microsoft.PlanetaryComputer.SharedAccessSignatureTokenConnection","com.azure.analytics.planetarycomputer.models.SharedAccessSignatureTokenIngestionSource":"Microsoft.PlanetaryComputer.SharedAccessSignatureTokenIngestionSource","com.azure.analytics.planetarycomputer.models.StacAsset":"Microsoft.PlanetaryComputer.StacAsset","com.azure.analytics.planetarycomputer.models.StacAssetData":"Microsoft.PlanetaryComputer.StacAssetData","com.azure.analytics.planetarycomputer.models.StacAssetUrlSigningMode":"Microsoft.PlanetaryComputer.StacAssetUrlSigningMode","com.azure.analytics.planetarycomputer.models.StacCatalogCollections":"Microsoft.PlanetaryComputer.StacCatalogCollections","com.azure.analytics.planetarycomputer.models.StacCollection":"Microsoft.PlanetaryComputer.StacCollection","com.azure.analytics.planetarycomputer.models.StacCollectionTemporalExtent":"Microsoft.PlanetaryComputer.StacCollectionTemporalExtent","com.azure.analytics.planetarycomputer.models.StacConformanceClasses":"Microsoft.PlanetaryComputer.StacConformanceClasses","com.azure.analytics.planetarycomputer.models.StacContextExtension":"Microsoft.PlanetaryComputer.StacContextExtension","com.azure.analytics.planetarycomputer.models.StacExtensionExtent":"Microsoft.PlanetaryComputer.StacExtensionExtent","com.azure.analytics.planetarycomputer.models.StacExtensionSpatialExtent":"Microsoft.PlanetaryComputer.StacExtensionSpatialExtent","com.azure.analytics.planetarycomputer.models.StacItem":"Microsoft.PlanetaryComputer.StacItem","com.azure.analytics.planetarycomputer.models.StacItemAsset":"Microsoft.PlanetaryComputer.StacItemAsset","com.azure.analytics.planetarycomputer.models.StacItemBounds":"Microsoft.PlanetaryComputer.StacItemBounds","com.azure.analytics.planetarycomputer.models.StacItemCollection":"Microsoft.PlanetaryComputer.StacItemCollection","com.azure.analytics.planetarycomputer.models.StacItemOrStacItemCollection":"Microsoft.PlanetaryComputer.StacItemOrStacItemCollection","com.azure.analytics.planetarycomputer.models.StacItemPointAsset":"Microsoft.PlanetaryComputer.StacItemPointAsset","com.azure.analytics.planetarycomputer.models.StacItemProperties":"Microsoft.PlanetaryComputer.StacItemProperties","com.azure.analytics.planetarycomputer.models.StacItemStatisticsGeoJson":"Microsoft.PlanetaryComputer.StacItemStatisticsGeoJson","com.azure.analytics.planetarycomputer.models.StacItemStatisticsGeoJsonProperties":"Microsoft.PlanetaryComputer.StacItemStatisticsGeoJsonProperties","com.azure.analytics.planetarycomputer.models.StacLandingPage":"Microsoft.PlanetaryComputer.StacLandingPage","com.azure.analytics.planetarycomputer.models.StacLink":"Microsoft.PlanetaryComputer.StacLink","com.azure.analytics.planetarycomputer.models.StacLinkMethod":"Microsoft.PlanetaryComputer.StacLink.method.anonymous","com.azure.analytics.planetarycomputer.models.StacLinkType":"Microsoft.PlanetaryComputer.StacLinkType","com.azure.analytics.planetarycomputer.models.StacModelType":"Microsoft.PlanetaryComputer.StacModelType","com.azure.analytics.planetarycomputer.models.StacMosaic":"Microsoft.PlanetaryComputer.StacMosaic","com.azure.analytics.planetarycomputer.models.StacMosaicConfiguration":"Microsoft.PlanetaryComputer.StacMosaicConfiguration","com.azure.analytics.planetarycomputer.models.StacProvider":"Microsoft.PlanetaryComputer.StacProvider","com.azure.analytics.planetarycomputer.models.StacQueryable":"Microsoft.PlanetaryComputer.StacQueryable","com.azure.analytics.planetarycomputer.models.StacQueryableDefinitionDataType":"Microsoft.PlanetaryComputer.StacQueryableDefinitionDataType","com.azure.analytics.planetarycomputer.models.StacSearchParameters":"Microsoft.PlanetaryComputer.StacSearchParameters","com.azure.analytics.planetarycomputer.models.StacSearchSortingDirection":"Microsoft.PlanetaryComputer.StacSearchSortingDirection","com.azure.analytics.planetarycomputer.models.StacSortExtension":"Microsoft.PlanetaryComputer.StacSortExtension","com.azure.analytics.planetarycomputer.models.TerrainAlgorithm":"Microsoft.PlanetaryComputer.TerrainAlgorithm","com.azure.analytics.planetarycomputer.models.TileAddressingScheme":"Microsoft.PlanetaryComputer.TileAddressingScheme","com.azure.analytics.planetarycomputer.models.TileJsonMetadata":"Microsoft.PlanetaryComputer.TileJsonMetadata","com.azure.analytics.planetarycomputer.models.TileMatrix":"TileMatrix","com.azure.analytics.planetarycomputer.models.TileMatrixCornerOfOrigin":"TileMatrixCornerOfOrigin","com.azure.analytics.planetarycomputer.models.TileMatrixSet":"TileMatrixSet","com.azure.analytics.planetarycomputer.models.TileMatrixSetBoundingBox":"TileMatrixSetBoundingBox","com.azure.analytics.planetarycomputer.models.TileSettings":"Microsoft.PlanetaryComputer.TileSettings","com.azure.analytics.planetarycomputer.models.TilerAssetGeoJson":"Microsoft.PlanetaryComputer.TilerAssetGeoJson","com.azure.analytics.planetarycomputer.models.TilerCoreModelsResponsesPoint":"Microsoft.PlanetaryComputer.TilerCoreModelsResponsesPoint","com.azure.analytics.planetarycomputer.models.TilerImageFormat":"Microsoft.PlanetaryComputer.TilerImageFormat","com.azure.analytics.planetarycomputer.models.TilerInfo":"Microsoft.PlanetaryComputer.TilerInfo","com.azure.analytics.planetarycomputer.models.TilerInfoGeoJsonFeature":"Microsoft.PlanetaryComputer.TilerInfoGeoJsonFeature","com.azure.analytics.planetarycomputer.models.TilerInfoMapResponse":"Microsoft.PlanetaryComputer.TilerInfoMapResponse","com.azure.analytics.planetarycomputer.models.TilerMosaicSearchRegistrationResponse":"Microsoft.PlanetaryComputer.TilerMosaicSearchRegistrationResponse","com.azure.analytics.planetarycomputer.models.TilerStacItemStatistics":"Microsoft.PlanetaryComputer.TilerStacItemStatistics","com.azure.analytics.planetarycomputer.models.TilerStacSearchDefinition":"Microsoft.PlanetaryComputer.TilerStacSearchDefinition","com.azure.analytics.planetarycomputer.models.TilerStacSearchRegistration":"Microsoft.PlanetaryComputer.TilerStacSearchRegistration","com.azure.analytics.planetarycomputer.models.UserCollectionSettings":"Microsoft.PlanetaryComputer.UserCollectionSettings","com.azure.analytics.planetarycomputer.models.VariableMatrixWidth":"VariableMatrixWidth"},"generatedFiles":["src/main/java/com/azure/analytics/planetarycomputer/DataAsyncClient.java","src/main/java/com/azure/analytics/planetarycomputer/DataClient.java","src/main/java/com/azure/analytics/planetarycomputer/IngestionAsyncClient.java","src/main/java/com/azure/analytics/planetarycomputer/IngestionClient.java","src/main/java/com/azure/analytics/planetarycomputer/PlanetaryComputerProClientBuilder.java","src/main/java/com/azure/analytics/planetarycomputer/PlanetaryComputerServiceVersion.java","src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureAsyncClient.java","src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureClient.java","src/main/java/com/azure/analytics/planetarycomputer/StacAsyncClient.java","src/main/java/com/azure/analytics/planetarycomputer/StacClient.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/DatasImpl.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/IngestionsImpl.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/PlanetaryComputerProClientImpl.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/SharedAccessSignaturesImpl.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/StacsImpl.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/models/RegisterMosaicsSearchRequest.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/models/package-info.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/package-info.java","src/main/java/com/azure/analytics/planetarycomputer/models/AssetMetadata.java","src/main/java/com/azure/analytics/planetarycomputer/models/AssetStatisticsResponse.java","src/main/java/com/azure/analytics/planetarycomputer/models/BandStatistics.java","src/main/java/com/azure/analytics/planetarycomputer/models/BandStatisticsMap.java","src/main/java/com/azure/analytics/planetarycomputer/models/ClassMapLegendResponse.java","src/main/java/com/azure/analytics/planetarycomputer/models/ColorMapNames.java","src/main/java/com/azure/analytics/planetarycomputer/models/CropGeoJsonContentType.java","src/main/java/com/azure/analytics/planetarycomputer/models/CropGeoJsonOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/CropGeoJsonWithDimensionsContentType.java","src/main/java/com/azure/analytics/planetarycomputer/models/DefaultLocation.java","src/main/java/com/azure/analytics/planetarycomputer/models/ErrorInfo.java","src/main/java/com/azure/analytics/planetarycomputer/models/Feature.java","src/main/java/com/azure/analytics/planetarycomputer/models/FeatureType.java","src/main/java/com/azure/analytics/planetarycomputer/models/FileDetails.java","src/main/java/com/azure/analytics/planetarycomputer/models/FilterLanguage.java","src/main/java/com/azure/analytics/planetarycomputer/models/Geometry.java","src/main/java/com/azure/analytics/planetarycomputer/models/GeometryType.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetAssetStatisticsOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetCollectionThumbnailContentType.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetGeoJsonStatisticsOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicTileJsonOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicTileOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicWmtsCapabilitiesOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicsTileContentType.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetPartContentType.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetPartOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetPartWithDimensionsContentType.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetPreviewContentType.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetPreviewOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetPreviewWithFormatContentType.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetStatisticsOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetTileContentType.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetTileJsonOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetTileOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/GetWmtsCapabilitiesOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/ImageParameters.java","src/main/java/com/azure/analytics/planetarycomputer/models/ImageResponse.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionDefinition.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionRun.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionRunOperation.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionSource.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionSourceSummary.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionSourceType.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionStatus.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionType.java","src/main/java/com/azure/analytics/planetarycomputer/models/LegendConfigType.java","src/main/java/com/azure/analytics/planetarycomputer/models/LineString.java","src/main/java/com/azure/analytics/planetarycomputer/models/ManagedIdentityConnection.java","src/main/java/com/azure/analytics/planetarycomputer/models/ManagedIdentityIngestionSource.java","src/main/java/com/azure/analytics/planetarycomputer/models/ManagedIdentityMetadata.java","src/main/java/com/azure/analytics/planetarycomputer/models/MosaicMetadata.java","src/main/java/com/azure/analytics/planetarycomputer/models/MosaicMetadataType.java","src/main/java/com/azure/analytics/planetarycomputer/models/MultiLineString.java","src/main/java/com/azure/analytics/planetarycomputer/models/MultiPoint.java","src/main/java/com/azure/analytics/planetarycomputer/models/MultiPolygon.java","src/main/java/com/azure/analytics/planetarycomputer/models/NoDataType.java","src/main/java/com/azure/analytics/planetarycomputer/models/Operation.java","src/main/java/com/azure/analytics/planetarycomputer/models/OperationStatus.java","src/main/java/com/azure/analytics/planetarycomputer/models/OperationStatusHistoryItem.java","src/main/java/com/azure/analytics/planetarycomputer/models/PartitionType.java","src/main/java/com/azure/analytics/planetarycomputer/models/PartitionTypeScheme.java","src/main/java/com/azure/analytics/planetarycomputer/models/PixelSelection.java","src/main/java/com/azure/analytics/planetarycomputer/models/Point.java","src/main/java/com/azure/analytics/planetarycomputer/models/Polygon.java","src/main/java/com/azure/analytics/planetarycomputer/models/QueryableDefinitionsResponse.java","src/main/java/com/azure/analytics/planetarycomputer/models/RegisterMosaicsSearchOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/RenderOption.java","src/main/java/com/azure/analytics/planetarycomputer/models/RenderOptionCondition.java","src/main/java/com/azure/analytics/planetarycomputer/models/RenderOptionLegend.java","src/main/java/com/azure/analytics/planetarycomputer/models/RenderOptionType.java","src/main/java/com/azure/analytics/planetarycomputer/models/RenderOptionVectorOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/Resampling.java","src/main/java/com/azure/analytics/planetarycomputer/models/SearchOptionsFields.java","src/main/java/com/azure/analytics/planetarycomputer/models/SharedAccessSignatureSignedLink.java","src/main/java/com/azure/analytics/planetarycomputer/models/SharedAccessSignatureToken.java","src/main/java/com/azure/analytics/planetarycomputer/models/SharedAccessSignatureTokenConnection.java","src/main/java/com/azure/analytics/planetarycomputer/models/SharedAccessSignatureTokenIngestionSource.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacAsset.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacAssetData.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacAssetUrlSigningMode.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacCatalogCollections.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacCollection.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacCollectionTemporalExtent.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacConformanceClasses.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacContextExtension.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacExtensionExtent.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacExtensionSpatialExtent.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItem.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemAsset.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemBounds.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemCollection.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemOrStacItemCollection.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemPointAsset.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemProperties.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemStatisticsGeoJson.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemStatisticsGeoJsonProperties.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacLandingPage.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacLink.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacLinkMethod.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacLinkType.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacModelType.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaic.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaicConfiguration.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacProvider.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacQueryable.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacQueryableDefinitionDataType.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacSearchParameters.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacSearchSortingDirection.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacSortExtension.java","src/main/java/com/azure/analytics/planetarycomputer/models/TerrainAlgorithm.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileAddressingScheme.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileJsonMetadata.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrix.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrixCornerOfOrigin.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrixSet.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrixSetBoundingBox.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileSettings.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerAssetGeoJson.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerCoreModelsResponsesPoint.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerImageFormat.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerInfo.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerInfoGeoJsonFeature.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerInfoMapResponse.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerMosaicSearchRegistrationResponse.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerStacItemStatistics.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerStacSearchDefinition.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerStacSearchRegistration.java","src/main/java/com/azure/analytics/planetarycomputer/models/UserCollectionSettings.java","src/main/java/com/azure/analytics/planetarycomputer/models/VariableMatrixWidth.java","src/main/java/com/azure/analytics/planetarycomputer/models/package-info.java","src/main/java/com/azure/analytics/planetarycomputer/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.PlanetaryComputer":"2026-04-15"},"crossLanguagePackageId":"Microsoft.PlanetaryComputer","crossLanguageVersion":"46a2daab4ea1","crossLanguageDefinitions":{"com.azure.analytics.planetarycomputer.DataAsyncClient":"Customizations.Data","com.azure.analytics.planetarycomputer.DataAsyncClient.cropCollectionFeature":"Customizations.Data.cropCollectionFeature","com.azure.analytics.planetarycomputer.DataAsyncClient.cropCollectionFeatureByFormat":"Customizations.Data.cropCollectionFeatureByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.cropCollectionFeatureByFormatWithResponse":"Customizations.Data.cropCollectionFeatureByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.cropCollectionFeatureWidthByHeight":"Customizations.Data.cropCollectionFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataAsyncClient.cropCollectionFeatureWidthByHeightWithResponse":"Customizations.Data.cropCollectionFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataAsyncClient.cropCollectionFeatureWithResponse":"Customizations.Data.cropCollectionFeature","com.azure.analytics.planetarycomputer.DataAsyncClient.cropFeature":"Customizations.Data.cropFeature","com.azure.analytics.planetarycomputer.DataAsyncClient.cropFeatureByFormat":"Customizations.Data.cropFeatureByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.cropFeatureByFormatWithResponse":"Customizations.Data.cropFeatureByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.cropFeatureWidthByHeight":"Customizations.Data.cropFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataAsyncClient.cropFeatureWidthByHeightWithResponse":"Customizations.Data.cropFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataAsyncClient.cropFeatureWithResponse":"Customizations.Data.cropFeature","com.azure.analytics.planetarycomputer.DataAsyncClient.cropSearchFeature":"Customizations.Data.cropSearchFeature","com.azure.analytics.planetarycomputer.DataAsyncClient.cropSearchFeatureByFormat":"Customizations.Data.cropSearchFeatureByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.cropSearchFeatureByFormatWithResponse":"Customizations.Data.cropSearchFeatureByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.cropSearchFeatureWidthByHeight":"Customizations.Data.cropSearchFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataAsyncClient.cropSearchFeatureWidthByHeightWithResponse":"Customizations.Data.cropSearchFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataAsyncClient.cropSearchFeatureWithResponse":"Customizations.Data.cropSearchFeature","com.azure.analytics.planetarycomputer.DataAsyncClient.getClassMapLegend":"Customizations.Data.getClassMapLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getClassMapLegendWithResponse":"Customizations.Data.getClassMapLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionAssetsForBbox":"Customizations.Data.getCollectionAssetsForBbox","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionAssetsForBboxWithResponse":"Customizations.Data.getCollectionAssetsForBbox","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionAssetsForTile":"Customizations.Data.getCollectionAssetsForTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionAssetsForTileNoTms":"Customizations.Data.getCollectionAssetsForTileNoTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionAssetsForTileNoTmsWithResponse":"Customizations.Data.getCollectionAssetsForTileNoTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionAssetsForTileWithResponse":"Customizations.Data.getCollectionAssetsForTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionBboxCrop":"Customizations.Data.getCollectionBboxCrop","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionBboxCropWithDimensions":"Customizations.Data.getCollectionBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionBboxCropWithDimensionsWithResponse":"Customizations.Data.getCollectionBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionBboxCropWithResponse":"Customizations.Data.getCollectionBboxCrop","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionInfo":"Customizations.Data.getCollectionInfo","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionInfoWithResponse":"Customizations.Data.getCollectionInfo","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionPoint":"Customizations.Data.getCollectionPoint","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionPointAssets":"Customizations.Data.getCollectionPointAssets","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionPointAssetsWithResponse":"Customizations.Data.getCollectionPointAssets","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionPointWithResponse":"Customizations.Data.getCollectionPoint","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTile":"Customizations.Data.getCollectionTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileByFormat":"Customizations.Data.getCollectionTileByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileByFormatWithResponse":"Customizations.Data.getCollectionTileByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileByScale":"Customizations.Data.getCollectionTileByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileByScaleAndFormat":"Customizations.Data.getCollectionTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileByScaleAndFormatWithResponse":"Customizations.Data.getCollectionTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileByScaleWithResponse":"Customizations.Data.getCollectionTileByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileJson":"Customizations.Data.getCollectionTileJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileJsonByTms":"Customizations.Data.getCollectionTileJsonByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileJsonByTmsWithResponse":"Customizations.Data.getCollectionTileJsonByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileJsonWithResponse":"Customizations.Data.getCollectionTileJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileNoTms":"Customizations.Data.getCollectionTileNoTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileNoTmsByFormat":"Customizations.Data.getCollectionTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileNoTmsByFormatWithResponse":"Customizations.Data.getCollectionTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileNoTmsByScale":"Customizations.Data.getCollectionTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileNoTmsByScaleAndFormat":"Customizations.Data.getCollectionTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileNoTmsByScaleAndFormatWithResponse":"Customizations.Data.getCollectionTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileNoTmsByScaleWithResponse":"Customizations.Data.getCollectionTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileNoTmsWithResponse":"Customizations.Data.getCollectionTileNoTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTileWithResponse":"Customizations.Data.getCollectionTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTilesetMetadata":"Customizations.Data.getCollectionTilesetMetadata","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTilesetMetadataWithResponse":"Customizations.Data.getCollectionTilesetMetadata","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTilesets":"Customizations.Data.getCollectionTilesets","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionTilesetsWithResponse":"Customizations.Data.getCollectionTilesets","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionWmtsCapabilities":"Customizations.Data.getCollectionWmtsCapabilities","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionWmtsCapabilitiesByTms":"Customizations.Data.getCollectionWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionWmtsCapabilitiesByTmsWithResponse":"Customizations.Data.getCollectionWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getCollectionWmtsCapabilitiesWithResponse":"Customizations.Data.getCollectionWmtsCapabilities","com.azure.analytics.planetarycomputer.DataAsyncClient.getIntervalLegend":"Customizations.Data.getIntervalLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getIntervalLegendWithResponse":"Customizations.Data.getIntervalLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemAssetStatistics":"Customizations.Data.getItemAssetStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemAssetStatisticsWithResponse":"Customizations.Data.getItemAssetStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemAvailableAssets":"Customizations.Data.getItemAvailableAssets","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemAvailableAssetsWithResponse":"Customizations.Data.getItemAvailableAssets","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemBboxCrop":"Customizations.Data.getItemBboxCrop","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemBboxCropWithDimensions":"Customizations.Data.getItemBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemBboxCropWithDimensionsWithResponse":"Customizations.Data.getItemBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemBboxCropWithResponse":"Customizations.Data.getItemBboxCrop","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemBounds":"Customizations.Data.getItemBounds","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemBoundsWithResponse":"Customizations.Data.getItemBounds","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemFeatureStatistics":"Customizations.Data.getItemFeatureStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemFeatureStatisticsWithResponse":"Customizations.Data.getItemFeatureStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemInfo":"Customizations.Data.getItemInfo","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemInfoGeoJson":"Customizations.Data.getItemInfoGeoJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemInfoGeoJsonWithResponse":"Customizations.Data.getItemInfoGeoJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemInfoWithResponse":"Customizations.Data.getItemInfo","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemPoint":"Customizations.Data.getItemPoint","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemPointWithResponse":"Customizations.Data.getItemPoint","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemPreview":"Customizations.Data.getItemPreview","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemPreviewWithFormat":"Customizations.Data.getItemPreviewWithFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemPreviewWithFormatWithResponse":"Customizations.Data.getItemPreviewWithFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemPreviewWithResponse":"Customizations.Data.getItemPreview","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemStatistics":"Customizations.Data.getItemStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemStatisticsWithResponse":"Customizations.Data.getItemStatistics","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemTileJson":"Customizations.Data.getItemTileJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemTileJsonByTms":"Customizations.Data.getItemTileJsonByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemTileJsonByTmsWithResponse":"Customizations.Data.getItemTileJsonByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemTileJsonWithResponse":"Customizations.Data.getItemTileJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemWmtsCapabilities":"Customizations.Data.getItemWmtsCapabilities","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemWmtsCapabilitiesByTms":"Customizations.Data.getItemWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemWmtsCapabilitiesByTmsWithResponse":"Customizations.Data.getItemWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getItemWmtsCapabilitiesWithResponse":"Customizations.Data.getItemWmtsCapabilities","com.azure.analytics.planetarycomputer.DataAsyncClient.getLegend":"Customizations.Data.getLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getLegendWithResponse":"Customizations.Data.getLegend","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchAssetsForTile":"Customizations.Data.getSearchAssetsForTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchAssetsForTileNoTms":"Customizations.Data.getSearchAssetsForTileNoTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchAssetsForTileNoTmsWithResponse":"Customizations.Data.getSearchAssetsForTileNoTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchAssetsForTileWithResponse":"Customizations.Data.getSearchAssetsForTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchBboxAssets":"Customizations.Data.getSearchBboxAssets","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchBboxAssetsWithResponse":"Customizations.Data.getSearchBboxAssets","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchBboxCrop":"Customizations.Data.getSearchBboxCrop","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchBboxCropWithDimensions":"Customizations.Data.getSearchBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchBboxCropWithDimensionsWithResponse":"Customizations.Data.getSearchBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchBboxCropWithResponse":"Customizations.Data.getSearchBboxCrop","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchInfo":"Customizations.Data.getSearchInfo","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchInfoWithResponse":"Customizations.Data.getSearchInfo","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchPoint":"Customizations.Data.getSearchPoint","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchPointWithAssets":"Customizations.Data.getSearchPointWithAssets","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchPointWithAssetsWithResponse":"Customizations.Data.getSearchPointWithAssets","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchPointWithResponse":"Customizations.Data.getSearchPoint","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTile":"Customizations.Data.getSearchTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileByFormat":"Customizations.Data.getSearchTileByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileByFormatWithResponse":"Customizations.Data.getSearchTileByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileByScale":"Customizations.Data.getSearchTileByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileByScaleAndFormat":"Customizations.Data.getSearchTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileByScaleAndFormatWithResponse":"Customizations.Data.getSearchTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileByScaleWithResponse":"Customizations.Data.getSearchTileByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileJson":"Customizations.Data.getSearchTileJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileJsonByTms":"Customizations.Data.getSearchTileJsonByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileJsonByTmsWithResponse":"Customizations.Data.getSearchTileJsonByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileJsonWithResponse":"Customizations.Data.getSearchTileJson","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileNoTms":"Customizations.Data.getSearchTileNoTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileNoTmsByFormat":"Customizations.Data.getSearchTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileNoTmsByFormatWithResponse":"Customizations.Data.getSearchTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileNoTmsByScale":"Customizations.Data.getSearchTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileNoTmsByScaleAndFormat":"Customizations.Data.getSearchTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileNoTmsByScaleAndFormatWithResponse":"Customizations.Data.getSearchTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileNoTmsByScaleWithResponse":"Customizations.Data.getSearchTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileNoTmsWithResponse":"Customizations.Data.getSearchTileNoTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTileWithResponse":"Customizations.Data.getSearchTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTilesetMetadata":"Customizations.Data.getSearchTilesetMetadata","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTilesetMetadataWithResponse":"Customizations.Data.getSearchTilesetMetadata","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTilesets":"Customizations.Data.getSearchTilesets","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchTilesetsWithResponse":"Customizations.Data.getSearchTilesets","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchWmtsCapabilities":"Customizations.Data.getSearchWmtsCapabilities","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchWmtsCapabilitiesByTms":"Customizations.Data.getSearchWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchWmtsCapabilitiesByTmsWithResponse":"Customizations.Data.getSearchWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getSearchWmtsCapabilitiesWithResponse":"Customizations.Data.getSearchWmtsCapabilities","com.azure.analytics.planetarycomputer.DataAsyncClient.getTile":"Customizations.Data.getTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileByFormat":"Customizations.Data.getTileByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileByFormatWithResponse":"Customizations.Data.getTileByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileByScale":"Customizations.Data.getTileByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileByScaleAndFormat":"Customizations.Data.getTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileByScaleAndFormatWithResponse":"Customizations.Data.getTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileByScaleWithResponse":"Customizations.Data.getTileByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileMatrices":"Customizations.Data.getTileMatrices","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileMatricesWithResponse":"Customizations.Data.getTileMatrices","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileMatrixDefinitions":"Customizations.Data.getTileMatrixDefinitions","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileMatrixDefinitionsWithResponse":"Customizations.Data.getTileMatrixDefinitions","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileNoTms":"Customizations.Data.getTileNoTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileNoTmsByFormat":"Customizations.Data.getTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileNoTmsByFormatWithResponse":"Customizations.Data.getTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileNoTmsByScale":"Customizations.Data.getTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileNoTmsByScaleAndFormat":"Customizations.Data.getTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileNoTmsByScaleAndFormatWithResponse":"Customizations.Data.getTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileNoTmsByScaleWithResponse":"Customizations.Data.getTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileNoTmsWithResponse":"Customizations.Data.getTileNoTms","com.azure.analytics.planetarycomputer.DataAsyncClient.getTileWithResponse":"Customizations.Data.getTile","com.azure.analytics.planetarycomputer.DataAsyncClient.getTilesetMetadata":"Customizations.Data.getTilesetMetadata","com.azure.analytics.planetarycomputer.DataAsyncClient.getTilesetMetadataWithResponse":"Customizations.Data.getTilesetMetadata","com.azure.analytics.planetarycomputer.DataAsyncClient.getTilesets":"Customizations.Data.getTilesets","com.azure.analytics.planetarycomputer.DataAsyncClient.getTilesetsWithResponse":"Customizations.Data.getTilesets","com.azure.analytics.planetarycomputer.DataAsyncClient.registerMosaicsSearch":"Customizations.Data.registerMosaicsSearch","com.azure.analytics.planetarycomputer.DataAsyncClient.registerMosaicsSearchWithResponse":"Customizations.Data.registerMosaicsSearch","com.azure.analytics.planetarycomputer.DataClient":"Customizations.Data","com.azure.analytics.planetarycomputer.DataClient.cropCollectionFeature":"Customizations.Data.cropCollectionFeature","com.azure.analytics.planetarycomputer.DataClient.cropCollectionFeatureByFormat":"Customizations.Data.cropCollectionFeatureByFormat","com.azure.analytics.planetarycomputer.DataClient.cropCollectionFeatureByFormatWithResponse":"Customizations.Data.cropCollectionFeatureByFormat","com.azure.analytics.planetarycomputer.DataClient.cropCollectionFeatureWidthByHeight":"Customizations.Data.cropCollectionFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataClient.cropCollectionFeatureWidthByHeightWithResponse":"Customizations.Data.cropCollectionFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataClient.cropCollectionFeatureWithResponse":"Customizations.Data.cropCollectionFeature","com.azure.analytics.planetarycomputer.DataClient.cropFeature":"Customizations.Data.cropFeature","com.azure.analytics.planetarycomputer.DataClient.cropFeatureByFormat":"Customizations.Data.cropFeatureByFormat","com.azure.analytics.planetarycomputer.DataClient.cropFeatureByFormatWithResponse":"Customizations.Data.cropFeatureByFormat","com.azure.analytics.planetarycomputer.DataClient.cropFeatureWidthByHeight":"Customizations.Data.cropFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataClient.cropFeatureWidthByHeightWithResponse":"Customizations.Data.cropFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataClient.cropFeatureWithResponse":"Customizations.Data.cropFeature","com.azure.analytics.planetarycomputer.DataClient.cropSearchFeature":"Customizations.Data.cropSearchFeature","com.azure.analytics.planetarycomputer.DataClient.cropSearchFeatureByFormat":"Customizations.Data.cropSearchFeatureByFormat","com.azure.analytics.planetarycomputer.DataClient.cropSearchFeatureByFormatWithResponse":"Customizations.Data.cropSearchFeatureByFormat","com.azure.analytics.planetarycomputer.DataClient.cropSearchFeatureWidthByHeight":"Customizations.Data.cropSearchFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataClient.cropSearchFeatureWidthByHeightWithResponse":"Customizations.Data.cropSearchFeatureWidthByHeight","com.azure.analytics.planetarycomputer.DataClient.cropSearchFeatureWithResponse":"Customizations.Data.cropSearchFeature","com.azure.analytics.planetarycomputer.DataClient.getClassMapLegend":"Customizations.Data.getClassMapLegend","com.azure.analytics.planetarycomputer.DataClient.getClassMapLegendWithResponse":"Customizations.Data.getClassMapLegend","com.azure.analytics.planetarycomputer.DataClient.getCollectionAssetsForBbox":"Customizations.Data.getCollectionAssetsForBbox","com.azure.analytics.planetarycomputer.DataClient.getCollectionAssetsForBboxWithResponse":"Customizations.Data.getCollectionAssetsForBbox","com.azure.analytics.planetarycomputer.DataClient.getCollectionAssetsForTile":"Customizations.Data.getCollectionAssetsForTile","com.azure.analytics.planetarycomputer.DataClient.getCollectionAssetsForTileNoTms":"Customizations.Data.getCollectionAssetsForTileNoTms","com.azure.analytics.planetarycomputer.DataClient.getCollectionAssetsForTileNoTmsWithResponse":"Customizations.Data.getCollectionAssetsForTileNoTms","com.azure.analytics.planetarycomputer.DataClient.getCollectionAssetsForTileWithResponse":"Customizations.Data.getCollectionAssetsForTile","com.azure.analytics.planetarycomputer.DataClient.getCollectionBboxCrop":"Customizations.Data.getCollectionBboxCrop","com.azure.analytics.planetarycomputer.DataClient.getCollectionBboxCropWithDimensions":"Customizations.Data.getCollectionBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataClient.getCollectionBboxCropWithDimensionsWithResponse":"Customizations.Data.getCollectionBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataClient.getCollectionBboxCropWithResponse":"Customizations.Data.getCollectionBboxCrop","com.azure.analytics.planetarycomputer.DataClient.getCollectionInfo":"Customizations.Data.getCollectionInfo","com.azure.analytics.planetarycomputer.DataClient.getCollectionInfoWithResponse":"Customizations.Data.getCollectionInfo","com.azure.analytics.planetarycomputer.DataClient.getCollectionPoint":"Customizations.Data.getCollectionPoint","com.azure.analytics.planetarycomputer.DataClient.getCollectionPointAssets":"Customizations.Data.getCollectionPointAssets","com.azure.analytics.planetarycomputer.DataClient.getCollectionPointAssetsWithResponse":"Customizations.Data.getCollectionPointAssets","com.azure.analytics.planetarycomputer.DataClient.getCollectionPointWithResponse":"Customizations.Data.getCollectionPoint","com.azure.analytics.planetarycomputer.DataClient.getCollectionTile":"Customizations.Data.getCollectionTile","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileByFormat":"Customizations.Data.getCollectionTileByFormat","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileByFormatWithResponse":"Customizations.Data.getCollectionTileByFormat","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileByScale":"Customizations.Data.getCollectionTileByScale","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileByScaleAndFormat":"Customizations.Data.getCollectionTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileByScaleAndFormatWithResponse":"Customizations.Data.getCollectionTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileByScaleWithResponse":"Customizations.Data.getCollectionTileByScale","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileJson":"Customizations.Data.getCollectionTileJson","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileJsonByTms":"Customizations.Data.getCollectionTileJsonByTms","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileJsonByTmsWithResponse":"Customizations.Data.getCollectionTileJsonByTms","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileJsonWithResponse":"Customizations.Data.getCollectionTileJson","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileNoTms":"Customizations.Data.getCollectionTileNoTms","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileNoTmsByFormat":"Customizations.Data.getCollectionTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileNoTmsByFormatWithResponse":"Customizations.Data.getCollectionTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileNoTmsByScale":"Customizations.Data.getCollectionTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileNoTmsByScaleAndFormat":"Customizations.Data.getCollectionTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileNoTmsByScaleAndFormatWithResponse":"Customizations.Data.getCollectionTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileNoTmsByScaleWithResponse":"Customizations.Data.getCollectionTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileNoTmsWithResponse":"Customizations.Data.getCollectionTileNoTms","com.azure.analytics.planetarycomputer.DataClient.getCollectionTileWithResponse":"Customizations.Data.getCollectionTile","com.azure.analytics.planetarycomputer.DataClient.getCollectionTilesetMetadata":"Customizations.Data.getCollectionTilesetMetadata","com.azure.analytics.planetarycomputer.DataClient.getCollectionTilesetMetadataWithResponse":"Customizations.Data.getCollectionTilesetMetadata","com.azure.analytics.planetarycomputer.DataClient.getCollectionTilesets":"Customizations.Data.getCollectionTilesets","com.azure.analytics.planetarycomputer.DataClient.getCollectionTilesetsWithResponse":"Customizations.Data.getCollectionTilesets","com.azure.analytics.planetarycomputer.DataClient.getCollectionWmtsCapabilities":"Customizations.Data.getCollectionWmtsCapabilities","com.azure.analytics.planetarycomputer.DataClient.getCollectionWmtsCapabilitiesByTms":"Customizations.Data.getCollectionWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataClient.getCollectionWmtsCapabilitiesByTmsWithResponse":"Customizations.Data.getCollectionWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataClient.getCollectionWmtsCapabilitiesWithResponse":"Customizations.Data.getCollectionWmtsCapabilities","com.azure.analytics.planetarycomputer.DataClient.getIntervalLegend":"Customizations.Data.getIntervalLegend","com.azure.analytics.planetarycomputer.DataClient.getIntervalLegendWithResponse":"Customizations.Data.getIntervalLegend","com.azure.analytics.planetarycomputer.DataClient.getItemAssetStatistics":"Customizations.Data.getItemAssetStatistics","com.azure.analytics.planetarycomputer.DataClient.getItemAssetStatisticsWithResponse":"Customizations.Data.getItemAssetStatistics","com.azure.analytics.planetarycomputer.DataClient.getItemAvailableAssets":"Customizations.Data.getItemAvailableAssets","com.azure.analytics.planetarycomputer.DataClient.getItemAvailableAssetsWithResponse":"Customizations.Data.getItemAvailableAssets","com.azure.analytics.planetarycomputer.DataClient.getItemBboxCrop":"Customizations.Data.getItemBboxCrop","com.azure.analytics.planetarycomputer.DataClient.getItemBboxCropWithDimensions":"Customizations.Data.getItemBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataClient.getItemBboxCropWithDimensionsWithResponse":"Customizations.Data.getItemBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataClient.getItemBboxCropWithResponse":"Customizations.Data.getItemBboxCrop","com.azure.analytics.planetarycomputer.DataClient.getItemBounds":"Customizations.Data.getItemBounds","com.azure.analytics.planetarycomputer.DataClient.getItemBoundsWithResponse":"Customizations.Data.getItemBounds","com.azure.analytics.planetarycomputer.DataClient.getItemFeatureStatistics":"Customizations.Data.getItemFeatureStatistics","com.azure.analytics.planetarycomputer.DataClient.getItemFeatureStatisticsWithResponse":"Customizations.Data.getItemFeatureStatistics","com.azure.analytics.planetarycomputer.DataClient.getItemInfo":"Customizations.Data.getItemInfo","com.azure.analytics.planetarycomputer.DataClient.getItemInfoGeoJson":"Customizations.Data.getItemInfoGeoJson","com.azure.analytics.planetarycomputer.DataClient.getItemInfoGeoJsonWithResponse":"Customizations.Data.getItemInfoGeoJson","com.azure.analytics.planetarycomputer.DataClient.getItemInfoWithResponse":"Customizations.Data.getItemInfo","com.azure.analytics.planetarycomputer.DataClient.getItemPoint":"Customizations.Data.getItemPoint","com.azure.analytics.planetarycomputer.DataClient.getItemPointWithResponse":"Customizations.Data.getItemPoint","com.azure.analytics.planetarycomputer.DataClient.getItemPreview":"Customizations.Data.getItemPreview","com.azure.analytics.planetarycomputer.DataClient.getItemPreviewWithFormat":"Customizations.Data.getItemPreviewWithFormat","com.azure.analytics.planetarycomputer.DataClient.getItemPreviewWithFormatWithResponse":"Customizations.Data.getItemPreviewWithFormat","com.azure.analytics.planetarycomputer.DataClient.getItemPreviewWithResponse":"Customizations.Data.getItemPreview","com.azure.analytics.planetarycomputer.DataClient.getItemStatistics":"Customizations.Data.getItemStatistics","com.azure.analytics.planetarycomputer.DataClient.getItemStatisticsWithResponse":"Customizations.Data.getItemStatistics","com.azure.analytics.planetarycomputer.DataClient.getItemTileJson":"Customizations.Data.getItemTileJson","com.azure.analytics.planetarycomputer.DataClient.getItemTileJsonByTms":"Customizations.Data.getItemTileJsonByTms","com.azure.analytics.planetarycomputer.DataClient.getItemTileJsonByTmsWithResponse":"Customizations.Data.getItemTileJsonByTms","com.azure.analytics.planetarycomputer.DataClient.getItemTileJsonWithResponse":"Customizations.Data.getItemTileJson","com.azure.analytics.planetarycomputer.DataClient.getItemWmtsCapabilities":"Customizations.Data.getItemWmtsCapabilities","com.azure.analytics.planetarycomputer.DataClient.getItemWmtsCapabilitiesByTms":"Customizations.Data.getItemWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataClient.getItemWmtsCapabilitiesByTmsWithResponse":"Customizations.Data.getItemWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataClient.getItemWmtsCapabilitiesWithResponse":"Customizations.Data.getItemWmtsCapabilities","com.azure.analytics.planetarycomputer.DataClient.getLegend":"Customizations.Data.getLegend","com.azure.analytics.planetarycomputer.DataClient.getLegendWithResponse":"Customizations.Data.getLegend","com.azure.analytics.planetarycomputer.DataClient.getSearchAssetsForTile":"Customizations.Data.getSearchAssetsForTile","com.azure.analytics.planetarycomputer.DataClient.getSearchAssetsForTileNoTms":"Customizations.Data.getSearchAssetsForTileNoTms","com.azure.analytics.planetarycomputer.DataClient.getSearchAssetsForTileNoTmsWithResponse":"Customizations.Data.getSearchAssetsForTileNoTms","com.azure.analytics.planetarycomputer.DataClient.getSearchAssetsForTileWithResponse":"Customizations.Data.getSearchAssetsForTile","com.azure.analytics.planetarycomputer.DataClient.getSearchBboxAssets":"Customizations.Data.getSearchBboxAssets","com.azure.analytics.planetarycomputer.DataClient.getSearchBboxAssetsWithResponse":"Customizations.Data.getSearchBboxAssets","com.azure.analytics.planetarycomputer.DataClient.getSearchBboxCrop":"Customizations.Data.getSearchBboxCrop","com.azure.analytics.planetarycomputer.DataClient.getSearchBboxCropWithDimensions":"Customizations.Data.getSearchBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataClient.getSearchBboxCropWithDimensionsWithResponse":"Customizations.Data.getSearchBboxCropWithDimensions","com.azure.analytics.planetarycomputer.DataClient.getSearchBboxCropWithResponse":"Customizations.Data.getSearchBboxCrop","com.azure.analytics.planetarycomputer.DataClient.getSearchInfo":"Customizations.Data.getSearchInfo","com.azure.analytics.planetarycomputer.DataClient.getSearchInfoWithResponse":"Customizations.Data.getSearchInfo","com.azure.analytics.planetarycomputer.DataClient.getSearchPoint":"Customizations.Data.getSearchPoint","com.azure.analytics.planetarycomputer.DataClient.getSearchPointWithAssets":"Customizations.Data.getSearchPointWithAssets","com.azure.analytics.planetarycomputer.DataClient.getSearchPointWithAssetsWithResponse":"Customizations.Data.getSearchPointWithAssets","com.azure.analytics.planetarycomputer.DataClient.getSearchPointWithResponse":"Customizations.Data.getSearchPoint","com.azure.analytics.planetarycomputer.DataClient.getSearchTile":"Customizations.Data.getSearchTile","com.azure.analytics.planetarycomputer.DataClient.getSearchTileByFormat":"Customizations.Data.getSearchTileByFormat","com.azure.analytics.planetarycomputer.DataClient.getSearchTileByFormatWithResponse":"Customizations.Data.getSearchTileByFormat","com.azure.analytics.planetarycomputer.DataClient.getSearchTileByScale":"Customizations.Data.getSearchTileByScale","com.azure.analytics.planetarycomputer.DataClient.getSearchTileByScaleAndFormat":"Customizations.Data.getSearchTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getSearchTileByScaleAndFormatWithResponse":"Customizations.Data.getSearchTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getSearchTileByScaleWithResponse":"Customizations.Data.getSearchTileByScale","com.azure.analytics.planetarycomputer.DataClient.getSearchTileJson":"Customizations.Data.getSearchTileJson","com.azure.analytics.planetarycomputer.DataClient.getSearchTileJsonByTms":"Customizations.Data.getSearchTileJsonByTms","com.azure.analytics.planetarycomputer.DataClient.getSearchTileJsonByTmsWithResponse":"Customizations.Data.getSearchTileJsonByTms","com.azure.analytics.planetarycomputer.DataClient.getSearchTileJsonWithResponse":"Customizations.Data.getSearchTileJson","com.azure.analytics.planetarycomputer.DataClient.getSearchTileNoTms":"Customizations.Data.getSearchTileNoTms","com.azure.analytics.planetarycomputer.DataClient.getSearchTileNoTmsByFormat":"Customizations.Data.getSearchTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataClient.getSearchTileNoTmsByFormatWithResponse":"Customizations.Data.getSearchTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataClient.getSearchTileNoTmsByScale":"Customizations.Data.getSearchTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataClient.getSearchTileNoTmsByScaleAndFormat":"Customizations.Data.getSearchTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getSearchTileNoTmsByScaleAndFormatWithResponse":"Customizations.Data.getSearchTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getSearchTileNoTmsByScaleWithResponse":"Customizations.Data.getSearchTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataClient.getSearchTileNoTmsWithResponse":"Customizations.Data.getSearchTileNoTms","com.azure.analytics.planetarycomputer.DataClient.getSearchTileWithResponse":"Customizations.Data.getSearchTile","com.azure.analytics.planetarycomputer.DataClient.getSearchTilesetMetadata":"Customizations.Data.getSearchTilesetMetadata","com.azure.analytics.planetarycomputer.DataClient.getSearchTilesetMetadataWithResponse":"Customizations.Data.getSearchTilesetMetadata","com.azure.analytics.planetarycomputer.DataClient.getSearchTilesets":"Customizations.Data.getSearchTilesets","com.azure.analytics.planetarycomputer.DataClient.getSearchTilesetsWithResponse":"Customizations.Data.getSearchTilesets","com.azure.analytics.planetarycomputer.DataClient.getSearchWmtsCapabilities":"Customizations.Data.getSearchWmtsCapabilities","com.azure.analytics.planetarycomputer.DataClient.getSearchWmtsCapabilitiesByTms":"Customizations.Data.getSearchWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataClient.getSearchWmtsCapabilitiesByTmsWithResponse":"Customizations.Data.getSearchWmtsCapabilitiesByTms","com.azure.analytics.planetarycomputer.DataClient.getSearchWmtsCapabilitiesWithResponse":"Customizations.Data.getSearchWmtsCapabilities","com.azure.analytics.planetarycomputer.DataClient.getTile":"Customizations.Data.getTile","com.azure.analytics.planetarycomputer.DataClient.getTileByFormat":"Customizations.Data.getTileByFormat","com.azure.analytics.planetarycomputer.DataClient.getTileByFormatWithResponse":"Customizations.Data.getTileByFormat","com.azure.analytics.planetarycomputer.DataClient.getTileByScale":"Customizations.Data.getTileByScale","com.azure.analytics.planetarycomputer.DataClient.getTileByScaleAndFormat":"Customizations.Data.getTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getTileByScaleAndFormatWithResponse":"Customizations.Data.getTileByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getTileByScaleWithResponse":"Customizations.Data.getTileByScale","com.azure.analytics.planetarycomputer.DataClient.getTileMatrices":"Customizations.Data.getTileMatrices","com.azure.analytics.planetarycomputer.DataClient.getTileMatricesWithResponse":"Customizations.Data.getTileMatrices","com.azure.analytics.planetarycomputer.DataClient.getTileMatrixDefinitions":"Customizations.Data.getTileMatrixDefinitions","com.azure.analytics.planetarycomputer.DataClient.getTileMatrixDefinitionsWithResponse":"Customizations.Data.getTileMatrixDefinitions","com.azure.analytics.planetarycomputer.DataClient.getTileNoTms":"Customizations.Data.getTileNoTms","com.azure.analytics.planetarycomputer.DataClient.getTileNoTmsByFormat":"Customizations.Data.getTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataClient.getTileNoTmsByFormatWithResponse":"Customizations.Data.getTileNoTmsByFormat","com.azure.analytics.planetarycomputer.DataClient.getTileNoTmsByScale":"Customizations.Data.getTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataClient.getTileNoTmsByScaleAndFormat":"Customizations.Data.getTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getTileNoTmsByScaleAndFormatWithResponse":"Customizations.Data.getTileNoTmsByScaleAndFormat","com.azure.analytics.planetarycomputer.DataClient.getTileNoTmsByScaleWithResponse":"Customizations.Data.getTileNoTmsByScale","com.azure.analytics.planetarycomputer.DataClient.getTileNoTmsWithResponse":"Customizations.Data.getTileNoTms","com.azure.analytics.planetarycomputer.DataClient.getTileWithResponse":"Customizations.Data.getTile","com.azure.analytics.planetarycomputer.DataClient.getTilesetMetadata":"Customizations.Data.getTilesetMetadata","com.azure.analytics.planetarycomputer.DataClient.getTilesetMetadataWithResponse":"Customizations.Data.getTilesetMetadata","com.azure.analytics.planetarycomputer.DataClient.getTilesets":"Customizations.Data.getTilesets","com.azure.analytics.planetarycomputer.DataClient.getTilesetsWithResponse":"Customizations.Data.getTilesets","com.azure.analytics.planetarycomputer.DataClient.registerMosaicsSearch":"Customizations.Data.registerMosaicsSearch","com.azure.analytics.planetarycomputer.DataClient.registerMosaicsSearchWithResponse":"Customizations.Data.registerMosaicsSearch","com.azure.analytics.planetarycomputer.IngestionAsyncClient":"Customizations.Ingestion","com.azure.analytics.planetarycomputer.IngestionAsyncClient.beginDelete":"Customizations.Ingestion.delete","com.azure.analytics.planetarycomputer.IngestionAsyncClient.beginDeleteWithModel":"Customizations.Ingestion.delete","com.azure.analytics.planetarycomputer.IngestionAsyncClient.cancelAllOperations":"Customizations.Ingestion.cancelAllOperations","com.azure.analytics.planetarycomputer.IngestionAsyncClient.cancelAllOperationsWithResponse":"Customizations.Ingestion.cancelAllOperations","com.azure.analytics.planetarycomputer.IngestionAsyncClient.cancelOperation":"Customizations.Ingestion.cancelOperation","com.azure.analytics.planetarycomputer.IngestionAsyncClient.cancelOperationWithResponse":"Customizations.Ingestion.cancelOperation","com.azure.analytics.planetarycomputer.IngestionAsyncClient.create":"Customizations.Ingestion.create","com.azure.analytics.planetarycomputer.IngestionAsyncClient.createRun":"Customizations.Ingestion.createRun","com.azure.analytics.planetarycomputer.IngestionAsyncClient.createRunWithResponse":"Customizations.Ingestion.createRun","com.azure.analytics.planetarycomputer.IngestionAsyncClient.createSource":"Customizations.Ingestion.createSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.createSourceWithResponse":"Customizations.Ingestion.createSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.createWithResponse":"Customizations.Ingestion.create","com.azure.analytics.planetarycomputer.IngestionAsyncClient.deleteSource":"Customizations.Ingestion.deleteSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.deleteSourceWithResponse":"Customizations.Ingestion.deleteSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.get":"Customizations.Ingestion.get","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getOperation":"Customizations.Ingestion.getOperation","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getOperationWithResponse":"Customizations.Ingestion.getOperation","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getRun":"Customizations.Ingestion.getRun","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getRunWithResponse":"Customizations.Ingestion.getRun","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getSource":"Customizations.Ingestion.getSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getSourceWithResponse":"Customizations.Ingestion.getSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.getWithResponse":"Customizations.Ingestion.get","com.azure.analytics.planetarycomputer.IngestionAsyncClient.list":"Customizations.Ingestion.list","com.azure.analytics.planetarycomputer.IngestionAsyncClient.listManagedIdentities":"Customizations.Ingestion.listManagedIdentities","com.azure.analytics.planetarycomputer.IngestionAsyncClient.listOperations":"Customizations.Ingestion.listOperations","com.azure.analytics.planetarycomputer.IngestionAsyncClient.listRuns":"Customizations.Ingestion.listRuns","com.azure.analytics.planetarycomputer.IngestionAsyncClient.listSources":"Customizations.Ingestion.listSources","com.azure.analytics.planetarycomputer.IngestionAsyncClient.replaceSource":"Customizations.Ingestion.replaceSource","com.azure.analytics.planetarycomputer.IngestionAsyncClient.replaceSourceWithResponse":"Customizations.Ingestion.replaceSource","com.azure.analytics.planetarycomputer.IngestionClient":"Customizations.Ingestion","com.azure.analytics.planetarycomputer.IngestionClient.beginDelete":"Customizations.Ingestion.delete","com.azure.analytics.planetarycomputer.IngestionClient.beginDeleteWithModel":"Customizations.Ingestion.delete","com.azure.analytics.planetarycomputer.IngestionClient.cancelAllOperations":"Customizations.Ingestion.cancelAllOperations","com.azure.analytics.planetarycomputer.IngestionClient.cancelAllOperationsWithResponse":"Customizations.Ingestion.cancelAllOperations","com.azure.analytics.planetarycomputer.IngestionClient.cancelOperation":"Customizations.Ingestion.cancelOperation","com.azure.analytics.planetarycomputer.IngestionClient.cancelOperationWithResponse":"Customizations.Ingestion.cancelOperation","com.azure.analytics.planetarycomputer.IngestionClient.create":"Customizations.Ingestion.create","com.azure.analytics.planetarycomputer.IngestionClient.createRun":"Customizations.Ingestion.createRun","com.azure.analytics.planetarycomputer.IngestionClient.createRunWithResponse":"Customizations.Ingestion.createRun","com.azure.analytics.planetarycomputer.IngestionClient.createSource":"Customizations.Ingestion.createSource","com.azure.analytics.planetarycomputer.IngestionClient.createSourceWithResponse":"Customizations.Ingestion.createSource","com.azure.analytics.planetarycomputer.IngestionClient.createWithResponse":"Customizations.Ingestion.create","com.azure.analytics.planetarycomputer.IngestionClient.deleteSource":"Customizations.Ingestion.deleteSource","com.azure.analytics.planetarycomputer.IngestionClient.deleteSourceWithResponse":"Customizations.Ingestion.deleteSource","com.azure.analytics.planetarycomputer.IngestionClient.get":"Customizations.Ingestion.get","com.azure.analytics.planetarycomputer.IngestionClient.getOperation":"Customizations.Ingestion.getOperation","com.azure.analytics.planetarycomputer.IngestionClient.getOperationWithResponse":"Customizations.Ingestion.getOperation","com.azure.analytics.planetarycomputer.IngestionClient.getRun":"Customizations.Ingestion.getRun","com.azure.analytics.planetarycomputer.IngestionClient.getRunWithResponse":"Customizations.Ingestion.getRun","com.azure.analytics.planetarycomputer.IngestionClient.getSource":"Customizations.Ingestion.getSource","com.azure.analytics.planetarycomputer.IngestionClient.getSourceWithResponse":"Customizations.Ingestion.getSource","com.azure.analytics.planetarycomputer.IngestionClient.getWithResponse":"Customizations.Ingestion.get","com.azure.analytics.planetarycomputer.IngestionClient.list":"Customizations.Ingestion.list","com.azure.analytics.planetarycomputer.IngestionClient.listManagedIdentities":"Customizations.Ingestion.listManagedIdentities","com.azure.analytics.planetarycomputer.IngestionClient.listOperations":"Customizations.Ingestion.listOperations","com.azure.analytics.planetarycomputer.IngestionClient.listRuns":"Customizations.Ingestion.listRuns","com.azure.analytics.planetarycomputer.IngestionClient.listSources":"Customizations.Ingestion.listSources","com.azure.analytics.planetarycomputer.IngestionClient.replaceSource":"Customizations.Ingestion.replaceSource","com.azure.analytics.planetarycomputer.IngestionClient.replaceSourceWithResponse":"Customizations.Ingestion.replaceSource","com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder":"Customizations","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient":"Customizations.SharedAccessSignature","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.getToken":"Customizations.SharedAccessSignature.getToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.getTokenWithResponse":"Customizations.SharedAccessSignature.getToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.getUrl":"Customizations.SharedAccessSignature.getUrl","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.getUrlWithResponse":"Customizations.SharedAccessSignature.getUrl","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.revokeToken":"Customizations.SharedAccessSignature.revokeToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureAsyncClient.revokeTokenWithResponse":"Customizations.SharedAccessSignature.revokeToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient":"Customizations.SharedAccessSignature","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.getToken":"Customizations.SharedAccessSignature.getToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.getTokenWithResponse":"Customizations.SharedAccessSignature.getToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.getUrl":"Customizations.SharedAccessSignature.getUrl","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.getUrlWithResponse":"Customizations.SharedAccessSignature.getUrl","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.revokeToken":"Customizations.SharedAccessSignature.revokeToken","com.azure.analytics.planetarycomputer.SharedAccessSignatureClient.revokeTokenWithResponse":"Customizations.SharedAccessSignature.revokeToken","com.azure.analytics.planetarycomputer.StacAsyncClient":"Customizations.Stac","com.azure.analytics.planetarycomputer.StacAsyncClient.addMosaic":"Customizations.Stac.addMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.addMosaicWithResponse":"Customizations.Stac.addMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.beginCreateCollection":"Customizations.Stac.createCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.beginCreateCollectionWithModel":"Customizations.Stac.createCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.beginCreateItem":"Customizations.Stac.createItem","com.azure.analytics.planetarycomputer.StacAsyncClient.beginCreateItemWithModel":"Customizations.Stac.createItem","com.azure.analytics.planetarycomputer.StacAsyncClient.beginDeleteCollection":"Customizations.Stac.deleteCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.beginDeleteCollectionWithModel":"Customizations.Stac.deleteCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.beginDeleteItem":"Customizations.Stac.deleteItem","com.azure.analytics.planetarycomputer.StacAsyncClient.beginDeleteItemWithModel":"Customizations.Stac.deleteItem","com.azure.analytics.planetarycomputer.StacAsyncClient.beginReplaceItem":"Customizations.Stac.replaceItem","com.azure.analytics.planetarycomputer.StacAsyncClient.beginReplaceItemWithModel":"Customizations.Stac.replaceItem","com.azure.analytics.planetarycomputer.StacAsyncClient.createCollectionAsset":"Customizations.Stac.createCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.createCollectionAssetWithResponse":"Customizations.Stac.createCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.createQueryables":"Customizations.Stac.createQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.createQueryablesWithResponse":"Customizations.Stac.createQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.createRenderOption":"Customizations.Stac.createRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.createRenderOptionWithResponse":"Customizations.Stac.createRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteCollectionAsset":"Customizations.Stac.deleteCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteCollectionAssetWithResponse":"Customizations.Stac.deleteCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteMosaic":"Customizations.Stac.deleteMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteMosaicWithResponse":"Customizations.Stac.deleteMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteQueryable":"Customizations.Stac.deleteQueryable","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteQueryableWithResponse":"Customizations.Stac.deleteQueryable","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteRenderOption":"Customizations.Stac.deleteRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.deleteRenderOptionWithResponse":"Customizations.Stac.deleteRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollection":"Customizations.Stac.getCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionConfiguration":"Customizations.Stac.getCollectionConfiguration","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionConfigurationWithResponse":"Customizations.Stac.getCollectionConfiguration","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionQueryables":"Customizations.Stac.getCollectionQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionQueryablesWithResponse":"Customizations.Stac.getCollectionQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionThumbnail":"Customizations.Stac.getCollectionThumbnail","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionThumbnailWithResponse":"Customizations.Stac.getCollectionThumbnail","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionWithResponse":"Customizations.Stac.getCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollections":"Customizations.Stac.getCollections","com.azure.analytics.planetarycomputer.StacAsyncClient.getCollectionsWithResponse":"Customizations.Stac.getCollections","com.azure.analytics.planetarycomputer.StacAsyncClient.getConformanceClasses":"Customizations.Stac.getConformanceClasses","com.azure.analytics.planetarycomputer.StacAsyncClient.getConformanceClassesWithResponse":"Customizations.Stac.getConformanceClasses","com.azure.analytics.planetarycomputer.StacAsyncClient.getItem":"Customizations.Stac.getItem","com.azure.analytics.planetarycomputer.StacAsyncClient.getItemCollection":"Customizations.Stac.getItemCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.getItemCollectionWithResponse":"Customizations.Stac.getItemCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.getItemWithResponse":"Customizations.Stac.getItem","com.azure.analytics.planetarycomputer.StacAsyncClient.getLandingPage":"Customizations.Stac.getLandingPage","com.azure.analytics.planetarycomputer.StacAsyncClient.getLandingPageWithResponse":"Customizations.Stac.getLandingPage","com.azure.analytics.planetarycomputer.StacAsyncClient.getMosaic":"Customizations.Stac.getMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.getMosaicWithResponse":"Customizations.Stac.getMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.getMosaics":"Customizations.Stac.getMosaics","com.azure.analytics.planetarycomputer.StacAsyncClient.getMosaicsWithResponse":"Customizations.Stac.getMosaics","com.azure.analytics.planetarycomputer.StacAsyncClient.getPartitionType":"Customizations.Stac.getPartitionType","com.azure.analytics.planetarycomputer.StacAsyncClient.getPartitionTypeWithResponse":"Customizations.Stac.getPartitionType","com.azure.analytics.planetarycomputer.StacAsyncClient.getQueryables":"Customizations.Stac.getQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.getQueryablesWithResponse":"Customizations.Stac.getQueryables","com.azure.analytics.planetarycomputer.StacAsyncClient.getRenderOption":"Customizations.Stac.getRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.getRenderOptionWithResponse":"Customizations.Stac.getRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.getRenderOptions":"Customizations.Stac.getRenderOptions","com.azure.analytics.planetarycomputer.StacAsyncClient.getRenderOptionsWithResponse":"Customizations.Stac.getRenderOptions","com.azure.analytics.planetarycomputer.StacAsyncClient.getTileSettings":"Customizations.Stac.getTileSettings","com.azure.analytics.planetarycomputer.StacAsyncClient.getTileSettingsWithResponse":"Customizations.Stac.getTileSettings","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceCollection":"Customizations.Stac.replaceCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceCollectionAsset":"Customizations.Stac.replaceCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceCollectionAssetWithResponse":"Customizations.Stac.replaceCollectionAsset","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceCollectionWithResponse":"Customizations.Stac.replaceCollection","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceMosaic":"Customizations.Stac.replaceMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceMosaicWithResponse":"Customizations.Stac.replaceMosaic","com.azure.analytics.planetarycomputer.StacAsyncClient.replacePartitionType":"Customizations.Stac.replacePartitionType","com.azure.analytics.planetarycomputer.StacAsyncClient.replacePartitionTypeWithResponse":"Customizations.Stac.replacePartitionType","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceQueryable":"Customizations.Stac.replaceQueryable","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceQueryableWithResponse":"Customizations.Stac.replaceQueryable","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceRenderOption":"Customizations.Stac.replaceRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceRenderOptionWithResponse":"Customizations.Stac.replaceRenderOption","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceTileSettings":"Customizations.Stac.replaceTileSettings","com.azure.analytics.planetarycomputer.StacAsyncClient.replaceTileSettingsWithResponse":"Customizations.Stac.replaceTileSettings","com.azure.analytics.planetarycomputer.StacAsyncClient.search":"Customizations.Stac.search","com.azure.analytics.planetarycomputer.StacAsyncClient.searchWithResponse":"Customizations.Stac.search","com.azure.analytics.planetarycomputer.StacClient":"Customizations.Stac","com.azure.analytics.planetarycomputer.StacClient.addMosaic":"Customizations.Stac.addMosaic","com.azure.analytics.planetarycomputer.StacClient.addMosaicWithResponse":"Customizations.Stac.addMosaic","com.azure.analytics.planetarycomputer.StacClient.beginCreateCollection":"Customizations.Stac.createCollection","com.azure.analytics.planetarycomputer.StacClient.beginCreateCollectionWithModel":"Customizations.Stac.createCollection","com.azure.analytics.planetarycomputer.StacClient.beginCreateItem":"Customizations.Stac.createItem","com.azure.analytics.planetarycomputer.StacClient.beginCreateItemWithModel":"Customizations.Stac.createItem","com.azure.analytics.planetarycomputer.StacClient.beginDeleteCollection":"Customizations.Stac.deleteCollection","com.azure.analytics.planetarycomputer.StacClient.beginDeleteCollectionWithModel":"Customizations.Stac.deleteCollection","com.azure.analytics.planetarycomputer.StacClient.beginDeleteItem":"Customizations.Stac.deleteItem","com.azure.analytics.planetarycomputer.StacClient.beginDeleteItemWithModel":"Customizations.Stac.deleteItem","com.azure.analytics.planetarycomputer.StacClient.beginReplaceItem":"Customizations.Stac.replaceItem","com.azure.analytics.planetarycomputer.StacClient.beginReplaceItemWithModel":"Customizations.Stac.replaceItem","com.azure.analytics.planetarycomputer.StacClient.createCollectionAsset":"Customizations.Stac.createCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.createCollectionAssetWithResponse":"Customizations.Stac.createCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.createQueryables":"Customizations.Stac.createQueryables","com.azure.analytics.planetarycomputer.StacClient.createQueryablesWithResponse":"Customizations.Stac.createQueryables","com.azure.analytics.planetarycomputer.StacClient.createRenderOption":"Customizations.Stac.createRenderOption","com.azure.analytics.planetarycomputer.StacClient.createRenderOptionWithResponse":"Customizations.Stac.createRenderOption","com.azure.analytics.planetarycomputer.StacClient.deleteCollectionAsset":"Customizations.Stac.deleteCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.deleteCollectionAssetWithResponse":"Customizations.Stac.deleteCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.deleteMosaic":"Customizations.Stac.deleteMosaic","com.azure.analytics.planetarycomputer.StacClient.deleteMosaicWithResponse":"Customizations.Stac.deleteMosaic","com.azure.analytics.planetarycomputer.StacClient.deleteQueryable":"Customizations.Stac.deleteQueryable","com.azure.analytics.planetarycomputer.StacClient.deleteQueryableWithResponse":"Customizations.Stac.deleteQueryable","com.azure.analytics.planetarycomputer.StacClient.deleteRenderOption":"Customizations.Stac.deleteRenderOption","com.azure.analytics.planetarycomputer.StacClient.deleteRenderOptionWithResponse":"Customizations.Stac.deleteRenderOption","com.azure.analytics.planetarycomputer.StacClient.getCollection":"Customizations.Stac.getCollection","com.azure.analytics.planetarycomputer.StacClient.getCollectionConfiguration":"Customizations.Stac.getCollectionConfiguration","com.azure.analytics.planetarycomputer.StacClient.getCollectionConfigurationWithResponse":"Customizations.Stac.getCollectionConfiguration","com.azure.analytics.planetarycomputer.StacClient.getCollectionQueryables":"Customizations.Stac.getCollectionQueryables","com.azure.analytics.planetarycomputer.StacClient.getCollectionQueryablesWithResponse":"Customizations.Stac.getCollectionQueryables","com.azure.analytics.planetarycomputer.StacClient.getCollectionThumbnail":"Customizations.Stac.getCollectionThumbnail","com.azure.analytics.planetarycomputer.StacClient.getCollectionThumbnailWithResponse":"Customizations.Stac.getCollectionThumbnail","com.azure.analytics.planetarycomputer.StacClient.getCollectionWithResponse":"Customizations.Stac.getCollection","com.azure.analytics.planetarycomputer.StacClient.getCollections":"Customizations.Stac.getCollections","com.azure.analytics.planetarycomputer.StacClient.getCollectionsWithResponse":"Customizations.Stac.getCollections","com.azure.analytics.planetarycomputer.StacClient.getConformanceClasses":"Customizations.Stac.getConformanceClasses","com.azure.analytics.planetarycomputer.StacClient.getConformanceClassesWithResponse":"Customizations.Stac.getConformanceClasses","com.azure.analytics.planetarycomputer.StacClient.getItem":"Customizations.Stac.getItem","com.azure.analytics.planetarycomputer.StacClient.getItemCollection":"Customizations.Stac.getItemCollection","com.azure.analytics.planetarycomputer.StacClient.getItemCollectionWithResponse":"Customizations.Stac.getItemCollection","com.azure.analytics.planetarycomputer.StacClient.getItemWithResponse":"Customizations.Stac.getItem","com.azure.analytics.planetarycomputer.StacClient.getLandingPage":"Customizations.Stac.getLandingPage","com.azure.analytics.planetarycomputer.StacClient.getLandingPageWithResponse":"Customizations.Stac.getLandingPage","com.azure.analytics.planetarycomputer.StacClient.getMosaic":"Customizations.Stac.getMosaic","com.azure.analytics.planetarycomputer.StacClient.getMosaicWithResponse":"Customizations.Stac.getMosaic","com.azure.analytics.planetarycomputer.StacClient.getMosaics":"Customizations.Stac.getMosaics","com.azure.analytics.planetarycomputer.StacClient.getMosaicsWithResponse":"Customizations.Stac.getMosaics","com.azure.analytics.planetarycomputer.StacClient.getPartitionType":"Customizations.Stac.getPartitionType","com.azure.analytics.planetarycomputer.StacClient.getPartitionTypeWithResponse":"Customizations.Stac.getPartitionType","com.azure.analytics.planetarycomputer.StacClient.getQueryables":"Customizations.Stac.getQueryables","com.azure.analytics.planetarycomputer.StacClient.getQueryablesWithResponse":"Customizations.Stac.getQueryables","com.azure.analytics.planetarycomputer.StacClient.getRenderOption":"Customizations.Stac.getRenderOption","com.azure.analytics.planetarycomputer.StacClient.getRenderOptionWithResponse":"Customizations.Stac.getRenderOption","com.azure.analytics.planetarycomputer.StacClient.getRenderOptions":"Customizations.Stac.getRenderOptions","com.azure.analytics.planetarycomputer.StacClient.getRenderOptionsWithResponse":"Customizations.Stac.getRenderOptions","com.azure.analytics.planetarycomputer.StacClient.getTileSettings":"Customizations.Stac.getTileSettings","com.azure.analytics.planetarycomputer.StacClient.getTileSettingsWithResponse":"Customizations.Stac.getTileSettings","com.azure.analytics.planetarycomputer.StacClient.replaceCollection":"Customizations.Stac.replaceCollection","com.azure.analytics.planetarycomputer.StacClient.replaceCollectionAsset":"Customizations.Stac.replaceCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.replaceCollectionAssetWithResponse":"Customizations.Stac.replaceCollectionAsset","com.azure.analytics.planetarycomputer.StacClient.replaceCollectionWithResponse":"Customizations.Stac.replaceCollection","com.azure.analytics.planetarycomputer.StacClient.replaceMosaic":"Customizations.Stac.replaceMosaic","com.azure.analytics.planetarycomputer.StacClient.replaceMosaicWithResponse":"Customizations.Stac.replaceMosaic","com.azure.analytics.planetarycomputer.StacClient.replacePartitionType":"Customizations.Stac.replacePartitionType","com.azure.analytics.planetarycomputer.StacClient.replacePartitionTypeWithResponse":"Customizations.Stac.replacePartitionType","com.azure.analytics.planetarycomputer.StacClient.replaceQueryable":"Customizations.Stac.replaceQueryable","com.azure.analytics.planetarycomputer.StacClient.replaceQueryableWithResponse":"Customizations.Stac.replaceQueryable","com.azure.analytics.planetarycomputer.StacClient.replaceRenderOption":"Customizations.Stac.replaceRenderOption","com.azure.analytics.planetarycomputer.StacClient.replaceRenderOptionWithResponse":"Customizations.Stac.replaceRenderOption","com.azure.analytics.planetarycomputer.StacClient.replaceTileSettings":"Customizations.Stac.replaceTileSettings","com.azure.analytics.planetarycomputer.StacClient.replaceTileSettingsWithResponse":"Customizations.Stac.replaceTileSettings","com.azure.analytics.planetarycomputer.StacClient.search":"Customizations.Stac.search","com.azure.analytics.planetarycomputer.StacClient.searchWithResponse":"Customizations.Stac.search","com.azure.analytics.planetarycomputer.implementation.models.RegisterMosaicsSearchRequest":"Customizations.registerMosaicsSearch.Request.anonymous","com.azure.analytics.planetarycomputer.models.AssetMetadata":"Microsoft.PlanetaryComputer.AssetMetadata","com.azure.analytics.planetarycomputer.models.AssetStatisticsResponse":"Microsoft.PlanetaryComputer.AssetStatisticsResponse","com.azure.analytics.planetarycomputer.models.BandStatistics":"Microsoft.PlanetaryComputer.BandStatistics","com.azure.analytics.planetarycomputer.models.BandStatisticsMap":"Microsoft.PlanetaryComputer.BandStatisticsMap","com.azure.analytics.planetarycomputer.models.ClassMapLegendResponse":"ClassMapLegendResponse","com.azure.analytics.planetarycomputer.models.ColorMapNames":"Microsoft.PlanetaryComputer.ColorMapNames","com.azure.analytics.planetarycomputer.models.DefaultLocation":"Microsoft.PlanetaryComputer.DefaultLocation","com.azure.analytics.planetarycomputer.models.ErrorInfo":"Microsoft.PlanetaryComputer.ErrorInfo","com.azure.analytics.planetarycomputer.models.Feature":"Feature","com.azure.analytics.planetarycomputer.models.FeatureType":"FeatureType","com.azure.analytics.planetarycomputer.models.FileDetails":null,"com.azure.analytics.planetarycomputer.models.FilterLanguage":"Microsoft.PlanetaryComputer.FilterLanguage","com.azure.analytics.planetarycomputer.models.Geometry":"Geometry","com.azure.analytics.planetarycomputer.models.GeometryType":"GeometryType","com.azure.analytics.planetarycomputer.models.IngestionDefinition":"Microsoft.PlanetaryComputer.IngestionDefinition","com.azure.analytics.planetarycomputer.models.IngestionRun":"Microsoft.PlanetaryComputer.IngestionRun","com.azure.analytics.planetarycomputer.models.IngestionRunOperation":"Microsoft.PlanetaryComputer.IngestionRunOperation","com.azure.analytics.planetarycomputer.models.IngestionSource":"Microsoft.PlanetaryComputer.IngestionSource","com.azure.analytics.planetarycomputer.models.IngestionSourceSummary":"Microsoft.PlanetaryComputer.IngestionSourceSummary","com.azure.analytics.planetarycomputer.models.IngestionSourceType":"Microsoft.PlanetaryComputer.IngestionSourceType","com.azure.analytics.planetarycomputer.models.IngestionStatus":"Microsoft.PlanetaryComputer.IngestionStatus","com.azure.analytics.planetarycomputer.models.IngestionType":"Microsoft.PlanetaryComputer.IngestionType","com.azure.analytics.planetarycomputer.models.LegendConfigType":"Microsoft.PlanetaryComputer.LegendConfigType","com.azure.analytics.planetarycomputer.models.LineString":"LineString","com.azure.analytics.planetarycomputer.models.ManagedIdentityConnection":"Microsoft.PlanetaryComputer.ManagedIdentityConnection","com.azure.analytics.planetarycomputer.models.ManagedIdentityIngestionSource":"Microsoft.PlanetaryComputer.ManagedIdentityIngestionSource","com.azure.analytics.planetarycomputer.models.ManagedIdentityMetadata":"Microsoft.PlanetaryComputer.ManagedIdentityMetadata","com.azure.analytics.planetarycomputer.models.MosaicMetadata":"Microsoft.PlanetaryComputer.MosaicMetadata","com.azure.analytics.planetarycomputer.models.MosaicMetadataType":"Microsoft.PlanetaryComputer.MosaicMetadataType","com.azure.analytics.planetarycomputer.models.MultiLineString":"MultiLineString","com.azure.analytics.planetarycomputer.models.MultiPoint":"MultiPoint","com.azure.analytics.planetarycomputer.models.MultiPolygon":"MultiPolygon","com.azure.analytics.planetarycomputer.models.NoDataType":"Microsoft.PlanetaryComputer.NoDataType","com.azure.analytics.planetarycomputer.models.Operation":"Microsoft.PlanetaryComputer.Operation","com.azure.analytics.planetarycomputer.models.OperationStatus":"Microsoft.PlanetaryComputer.OperationStatus","com.azure.analytics.planetarycomputer.models.OperationStatusHistoryItem":"Microsoft.PlanetaryComputer.OperationStatusHistoryItem","com.azure.analytics.planetarycomputer.models.PartitionType":"Microsoft.PlanetaryComputer.PartitionType","com.azure.analytics.planetarycomputer.models.PartitionTypeScheme":"Microsoft.PlanetaryComputer.PartitionTypeScheme","com.azure.analytics.planetarycomputer.models.PixelSelection":"Microsoft.PlanetaryComputer.PixelSelection","com.azure.analytics.planetarycomputer.models.Point":"Point","com.azure.analytics.planetarycomputer.models.Polygon":"Polygon","com.azure.analytics.planetarycomputer.models.QueryableDefinitionsResponse":"Microsoft.PlanetaryComputer.QueryableDefinitionsResponse","com.azure.analytics.planetarycomputer.models.RegisterMosaicsSearchOptions":null,"com.azure.analytics.planetarycomputer.models.RenderOption":"Microsoft.PlanetaryComputer.RenderOption","com.azure.analytics.planetarycomputer.models.RenderOptionCondition":"Microsoft.PlanetaryComputer.RenderOptionCondition","com.azure.analytics.planetarycomputer.models.RenderOptionLegend":"Microsoft.PlanetaryComputer.RenderOptionLegend","com.azure.analytics.planetarycomputer.models.RenderOptionType":"Microsoft.PlanetaryComputer.RenderOptionType","com.azure.analytics.planetarycomputer.models.RenderOptionVectorOptions":"Microsoft.PlanetaryComputer.RenderOptionVectorOptions","com.azure.analytics.planetarycomputer.models.Resampling":"Microsoft.PlanetaryComputer.Resampling","com.azure.analytics.planetarycomputer.models.SearchOptionsFields":"Microsoft.PlanetaryComputer.SearchOptionsFields","com.azure.analytics.planetarycomputer.models.SelMethod":"Microsoft.PlanetaryComputer.SelMethod","com.azure.analytics.planetarycomputer.models.SharedAccessSignatureSignedLink":"Microsoft.PlanetaryComputer.SharedAccessSignatureSignedLink","com.azure.analytics.planetarycomputer.models.SharedAccessSignatureToken":"Microsoft.PlanetaryComputer.SharedAccessSignatureToken","com.azure.analytics.planetarycomputer.models.SharedAccessSignatureTokenConnection":"Microsoft.PlanetaryComputer.SharedAccessSignatureTokenConnection","com.azure.analytics.planetarycomputer.models.SharedAccessSignatureTokenIngestionSource":"Microsoft.PlanetaryComputer.SharedAccessSignatureTokenIngestionSource","com.azure.analytics.planetarycomputer.models.StacAsset":"Microsoft.PlanetaryComputer.StacAsset","com.azure.analytics.planetarycomputer.models.StacAssetData":"Microsoft.PlanetaryComputer.StacAssetData","com.azure.analytics.planetarycomputer.models.StacAssetUrlSigningMode":"Microsoft.PlanetaryComputer.StacAssetUrlSigningMode","com.azure.analytics.planetarycomputer.models.StacCatalogCollections":"Microsoft.PlanetaryComputer.StacCatalogCollections","com.azure.analytics.planetarycomputer.models.StacCollection":"Microsoft.PlanetaryComputer.StacCollection","com.azure.analytics.planetarycomputer.models.StacCollectionTemporalExtent":"Microsoft.PlanetaryComputer.StacCollectionTemporalExtent","com.azure.analytics.planetarycomputer.models.StacConformanceClasses":"Microsoft.PlanetaryComputer.StacConformanceClasses","com.azure.analytics.planetarycomputer.models.StacContextExtension":"Microsoft.PlanetaryComputer.StacContextExtension","com.azure.analytics.planetarycomputer.models.StacExtensionExtent":"Microsoft.PlanetaryComputer.StacExtensionExtent","com.azure.analytics.planetarycomputer.models.StacExtensionSpatialExtent":"Microsoft.PlanetaryComputer.StacExtensionSpatialExtent","com.azure.analytics.planetarycomputer.models.StacItem":"Microsoft.PlanetaryComputer.StacItem","com.azure.analytics.planetarycomputer.models.StacItemAsset":"Microsoft.PlanetaryComputer.StacItemAsset","com.azure.analytics.planetarycomputer.models.StacItemBounds":"Microsoft.PlanetaryComputer.StacItemBounds","com.azure.analytics.planetarycomputer.models.StacItemCollection":"Microsoft.PlanetaryComputer.StacItemCollection","com.azure.analytics.planetarycomputer.models.StacItemOrStacItemCollection":"Microsoft.PlanetaryComputer.StacItemOrStacItemCollection","com.azure.analytics.planetarycomputer.models.StacItemPointAsset":"Microsoft.PlanetaryComputer.StacItemPointAsset","com.azure.analytics.planetarycomputer.models.StacItemProperties":"Microsoft.PlanetaryComputer.StacItemProperties","com.azure.analytics.planetarycomputer.models.StacItemStatisticsGeoJson":"Microsoft.PlanetaryComputer.StacItemStatisticsGeoJson","com.azure.analytics.planetarycomputer.models.StacItemStatisticsGeoJsonProperties":"Microsoft.PlanetaryComputer.StacItemStatisticsGeoJsonProperties","com.azure.analytics.planetarycomputer.models.StacLandingPage":"Microsoft.PlanetaryComputer.StacLandingPage","com.azure.analytics.planetarycomputer.models.StacLink":"Microsoft.PlanetaryComputer.StacLink","com.azure.analytics.planetarycomputer.models.StacLinkMethod":"Microsoft.PlanetaryComputer.StacLink.method.anonymous","com.azure.analytics.planetarycomputer.models.StacLinkType":"Microsoft.PlanetaryComputer.StacLinkType","com.azure.analytics.planetarycomputer.models.StacModelType":"Microsoft.PlanetaryComputer.StacModelType","com.azure.analytics.planetarycomputer.models.StacMosaic":"Microsoft.PlanetaryComputer.StacMosaic","com.azure.analytics.planetarycomputer.models.StacMosaicConfiguration":"Microsoft.PlanetaryComputer.StacMosaicConfiguration","com.azure.analytics.planetarycomputer.models.StacProvider":"Microsoft.PlanetaryComputer.StacProvider","com.azure.analytics.planetarycomputer.models.StacQueryable":"Microsoft.PlanetaryComputer.StacQueryable","com.azure.analytics.planetarycomputer.models.StacQueryableDefinitionDataType":"Microsoft.PlanetaryComputer.StacQueryableDefinitionDataType","com.azure.analytics.planetarycomputer.models.StacSearchParameters":"Microsoft.PlanetaryComputer.StacSearchParameters","com.azure.analytics.planetarycomputer.models.StacSearchSortingDirection":"Microsoft.PlanetaryComputer.StacSearchSortingDirection","com.azure.analytics.planetarycomputer.models.StacSortExtension":"Microsoft.PlanetaryComputer.StacSortExtension","com.azure.analytics.planetarycomputer.models.TerrainAlgorithm":"Microsoft.PlanetaryComputer.TerrainAlgorithm","com.azure.analytics.planetarycomputer.models.TileAddressingScheme":"Microsoft.PlanetaryComputer.TileAddressingScheme","com.azure.analytics.planetarycomputer.models.TileJsonMetadata":"Microsoft.PlanetaryComputer.TileJsonMetadata","com.azure.analytics.planetarycomputer.models.TileMatrix":"TileMatrix","com.azure.analytics.planetarycomputer.models.TileMatrixCornerOfOrigin":"TileMatrixCornerOfOrigin","com.azure.analytics.planetarycomputer.models.TileMatrixSet":"TileMatrixSet","com.azure.analytics.planetarycomputer.models.TileMatrixSetBoundingBox":"TileMatrixSetBoundingBox","com.azure.analytics.planetarycomputer.models.TileMatrixSetId":"Microsoft.PlanetaryComputer.TileMatrixSetId","com.azure.analytics.planetarycomputer.models.TileMatrixSetLimitsEntry":"Microsoft.PlanetaryComputer.TileMatrixSetLimitsEntry","com.azure.analytics.planetarycomputer.models.TileSetBoundingBox":"Microsoft.PlanetaryComputer.TileSetBoundingBox","com.azure.analytics.planetarycomputer.models.TileSetEntry":"Microsoft.PlanetaryComputer.TileSetEntry","com.azure.analytics.planetarycomputer.models.TileSetLink":"Microsoft.PlanetaryComputer.TileSetLink","com.azure.analytics.planetarycomputer.models.TileSetList":"Microsoft.PlanetaryComputer.TileSetList","com.azure.analytics.planetarycomputer.models.TileSetMetadata":"Microsoft.PlanetaryComputer.TileSetMetadata","com.azure.analytics.planetarycomputer.models.TileSettings":"Microsoft.PlanetaryComputer.TileSettings","com.azure.analytics.planetarycomputer.models.TilerAssetGeoJson":"Microsoft.PlanetaryComputer.TilerAssetGeoJson","com.azure.analytics.planetarycomputer.models.TilerCoreModelsResponsesPoint":"Microsoft.PlanetaryComputer.TilerCoreModelsResponsesPoint","com.azure.analytics.planetarycomputer.models.TilerImageFormat":"Microsoft.PlanetaryComputer.TilerImageFormat","com.azure.analytics.planetarycomputer.models.TilerInfo":"Microsoft.PlanetaryComputer.TilerInfo","com.azure.analytics.planetarycomputer.models.TilerInfoGeoJsonFeature":"Microsoft.PlanetaryComputer.TilerInfoGeoJsonFeature","com.azure.analytics.planetarycomputer.models.TilerInfoMapResponse":"Microsoft.PlanetaryComputer.TilerInfoMapResponse","com.azure.analytics.planetarycomputer.models.TilerMosaicSearchRegistrationResponse":"Microsoft.PlanetaryComputer.TilerMosaicSearchRegistrationResponse","com.azure.analytics.planetarycomputer.models.TilerStacItemStatistics":"Microsoft.PlanetaryComputer.TilerStacItemStatistics","com.azure.analytics.planetarycomputer.models.TilerStacSearchDefinition":"Microsoft.PlanetaryComputer.TilerStacSearchDefinition","com.azure.analytics.planetarycomputer.models.TilerStacSearchRegistration":"Microsoft.PlanetaryComputer.TilerStacSearchRegistration","com.azure.analytics.planetarycomputer.models.UserCollectionSettings":"Microsoft.PlanetaryComputer.UserCollectionSettings","com.azure.analytics.planetarycomputer.models.VariableMatrixWidth":"VariableMatrixWidth","com.azure.analytics.planetarycomputer.models.WarpKernelResampling":"Microsoft.PlanetaryComputer.WarpKernelResampling"},"generatedFiles":["src/main/java/com/azure/analytics/planetarycomputer/DataAsyncClient.java","src/main/java/com/azure/analytics/planetarycomputer/DataClient.java","src/main/java/com/azure/analytics/planetarycomputer/IngestionAsyncClient.java","src/main/java/com/azure/analytics/planetarycomputer/IngestionClient.java","src/main/java/com/azure/analytics/planetarycomputer/PlanetaryComputerProClientBuilder.java","src/main/java/com/azure/analytics/planetarycomputer/PlanetaryComputerServiceVersion.java","src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureAsyncClient.java","src/main/java/com/azure/analytics/planetarycomputer/SharedAccessSignatureClient.java","src/main/java/com/azure/analytics/planetarycomputer/StacAsyncClient.java","src/main/java/com/azure/analytics/planetarycomputer/StacClient.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/DatasImpl.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/IngestionsImpl.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/JsonMergePatchHelper.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/MultipartFormDataHelper.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/PlanetaryComputerProClientImpl.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/SharedAccessSignaturesImpl.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/StacsImpl.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/models/RegisterMosaicsSearchRequest.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/models/package-info.java","src/main/java/com/azure/analytics/planetarycomputer/implementation/package-info.java","src/main/java/com/azure/analytics/planetarycomputer/models/AssetMetadata.java","src/main/java/com/azure/analytics/planetarycomputer/models/AssetStatisticsResponse.java","src/main/java/com/azure/analytics/planetarycomputer/models/BandStatistics.java","src/main/java/com/azure/analytics/planetarycomputer/models/BandStatisticsMap.java","src/main/java/com/azure/analytics/planetarycomputer/models/ClassMapLegendResponse.java","src/main/java/com/azure/analytics/planetarycomputer/models/ColorMapNames.java","src/main/java/com/azure/analytics/planetarycomputer/models/DefaultLocation.java","src/main/java/com/azure/analytics/planetarycomputer/models/ErrorInfo.java","src/main/java/com/azure/analytics/planetarycomputer/models/Feature.java","src/main/java/com/azure/analytics/planetarycomputer/models/FeatureType.java","src/main/java/com/azure/analytics/planetarycomputer/models/FileDetails.java","src/main/java/com/azure/analytics/planetarycomputer/models/FilterLanguage.java","src/main/java/com/azure/analytics/planetarycomputer/models/Geometry.java","src/main/java/com/azure/analytics/planetarycomputer/models/GeometryType.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionDefinition.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionRun.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionRunOperation.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionSource.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionSourceSummary.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionSourceType.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionStatus.java","src/main/java/com/azure/analytics/planetarycomputer/models/IngestionType.java","src/main/java/com/azure/analytics/planetarycomputer/models/LegendConfigType.java","src/main/java/com/azure/analytics/planetarycomputer/models/LineString.java","src/main/java/com/azure/analytics/planetarycomputer/models/ManagedIdentityConnection.java","src/main/java/com/azure/analytics/planetarycomputer/models/ManagedIdentityIngestionSource.java","src/main/java/com/azure/analytics/planetarycomputer/models/ManagedIdentityMetadata.java","src/main/java/com/azure/analytics/planetarycomputer/models/MosaicMetadata.java","src/main/java/com/azure/analytics/planetarycomputer/models/MosaicMetadataType.java","src/main/java/com/azure/analytics/planetarycomputer/models/MultiLineString.java","src/main/java/com/azure/analytics/planetarycomputer/models/MultiPoint.java","src/main/java/com/azure/analytics/planetarycomputer/models/MultiPolygon.java","src/main/java/com/azure/analytics/planetarycomputer/models/NoDataType.java","src/main/java/com/azure/analytics/planetarycomputer/models/Operation.java","src/main/java/com/azure/analytics/planetarycomputer/models/OperationStatus.java","src/main/java/com/azure/analytics/planetarycomputer/models/OperationStatusHistoryItem.java","src/main/java/com/azure/analytics/planetarycomputer/models/PartitionType.java","src/main/java/com/azure/analytics/planetarycomputer/models/PartitionTypeScheme.java","src/main/java/com/azure/analytics/planetarycomputer/models/PixelSelection.java","src/main/java/com/azure/analytics/planetarycomputer/models/Point.java","src/main/java/com/azure/analytics/planetarycomputer/models/Polygon.java","src/main/java/com/azure/analytics/planetarycomputer/models/QueryableDefinitionsResponse.java","src/main/java/com/azure/analytics/planetarycomputer/models/RegisterMosaicsSearchOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/RenderOption.java","src/main/java/com/azure/analytics/planetarycomputer/models/RenderOptionCondition.java","src/main/java/com/azure/analytics/planetarycomputer/models/RenderOptionLegend.java","src/main/java/com/azure/analytics/planetarycomputer/models/RenderOptionType.java","src/main/java/com/azure/analytics/planetarycomputer/models/RenderOptionVectorOptions.java","src/main/java/com/azure/analytics/planetarycomputer/models/Resampling.java","src/main/java/com/azure/analytics/planetarycomputer/models/SearchOptionsFields.java","src/main/java/com/azure/analytics/planetarycomputer/models/SelMethod.java","src/main/java/com/azure/analytics/planetarycomputer/models/SharedAccessSignatureSignedLink.java","src/main/java/com/azure/analytics/planetarycomputer/models/SharedAccessSignatureToken.java","src/main/java/com/azure/analytics/planetarycomputer/models/SharedAccessSignatureTokenConnection.java","src/main/java/com/azure/analytics/planetarycomputer/models/SharedAccessSignatureTokenIngestionSource.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacAsset.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacAssetData.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacAssetUrlSigningMode.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacCatalogCollections.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacCollection.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacCollectionTemporalExtent.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacConformanceClasses.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacContextExtension.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacExtensionExtent.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacExtensionSpatialExtent.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItem.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemAsset.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemBounds.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemCollection.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemOrStacItemCollection.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemPointAsset.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemProperties.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemStatisticsGeoJson.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacItemStatisticsGeoJsonProperties.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacLandingPage.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacLink.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacLinkMethod.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacLinkType.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacModelType.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaic.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacMosaicConfiguration.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacProvider.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacQueryable.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacQueryableDefinitionDataType.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacSearchParameters.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacSearchSortingDirection.java","src/main/java/com/azure/analytics/planetarycomputer/models/StacSortExtension.java","src/main/java/com/azure/analytics/planetarycomputer/models/TerrainAlgorithm.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileAddressingScheme.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileJsonMetadata.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrix.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrixCornerOfOrigin.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrixSet.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrixSetBoundingBox.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrixSetId.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileMatrixSetLimitsEntry.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileSetBoundingBox.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileSetEntry.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileSetLink.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileSetList.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileSetMetadata.java","src/main/java/com/azure/analytics/planetarycomputer/models/TileSettings.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerAssetGeoJson.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerCoreModelsResponsesPoint.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerImageFormat.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerInfo.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerInfoGeoJsonFeature.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerInfoMapResponse.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerMosaicSearchRegistrationResponse.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerStacItemStatistics.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerStacSearchDefinition.java","src/main/java/com/azure/analytics/planetarycomputer/models/TilerStacSearchRegistration.java","src/main/java/com/azure/analytics/planetarycomputer/models/UserCollectionSettings.java","src/main/java/com/azure/analytics/planetarycomputer/models/VariableMatrixWidth.java","src/main/java/com/azure/analytics/planetarycomputer/models/WarpKernelResampling.java","src/main/java/com/azure/analytics/planetarycomputer/models/package-info.java","src/main/java/com/azure/analytics/planetarycomputer/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/ReadmeSamples.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/ReadmeSamples.java index 972f4cdc7ccc..dcfdf195e8af 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/ReadmeSamples.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/ReadmeSamples.java @@ -3,10 +3,25 @@ package com.azure.analytics.planetarycomputer; +import com.azure.analytics.planetarycomputer.models.IngestionDefinition; +import com.azure.analytics.planetarycomputer.models.IngestionRun; +import com.azure.analytics.planetarycomputer.models.IngestionSource; +import com.azure.analytics.planetarycomputer.models.IngestionType; +import com.azure.analytics.planetarycomputer.models.ManagedIdentityConnection; +import com.azure.analytics.planetarycomputer.models.ManagedIdentityIngestionSource; +import com.azure.analytics.planetarycomputer.models.RenderOption; +import com.azure.analytics.planetarycomputer.models.RenderOptionType; import com.azure.analytics.planetarycomputer.models.SharedAccessSignatureToken; +import com.azure.analytics.planetarycomputer.models.StacCatalogCollections; import com.azure.analytics.planetarycomputer.models.StacCollection; +import com.azure.analytics.planetarycomputer.models.StacItem; import com.azure.analytics.planetarycomputer.models.StacItemCollection; import com.azure.analytics.planetarycomputer.models.StacSearchParameters; +import com.azure.analytics.planetarycomputer.models.TilerMosaicSearchRegistrationResponse; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import com.azure.core.util.polling.SyncPoller; import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; @@ -68,4 +83,155 @@ public void getToken() { SharedAccessSignatureToken token = sasClient.getToken("naip-atl", null); // END: readme-sample-getToken } + + public void listCollections() { + StacClient stacClient = new PlanetaryComputerProClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint("") + .buildStacClient(); + + // BEGIN: readme-sample-listCollections + StacCatalogCollections collections = stacClient.getCollections(); + for (StacCollection col : collections.getCollections()) { + System.out.printf("Collection: %s - %s%n", col.getId(), col.getTitle()); + } + // END: readme-sample-listCollections + } + + public void getItem() { + StacClient stacClient = new PlanetaryComputerProClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint("") + .buildStacClient(); + + // BEGIN: readme-sample-getItem + StacItem item = stacClient.getItem("naip-atl", "ga_m_3308421_se_16_060_20211114"); + System.out.printf("Item ID: %s, Collection: %s%n", item.getId(), item.getCollection()); + System.out.printf("Assets: %s%n", item.getAssets().keySet()); + // END: readme-sample-getItem + } + + public void createCollection() { + StacClient stacClient = new PlanetaryComputerProClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint("") + .buildStacClient(); + + // BEGIN: readme-sample-createCollection + String collectionJson = "{" + + "\"id\": \"my-collection\"," + + "\"type\": \"Collection\"," + + "\"stac_version\": \"1.0.0\"," + + "\"description\": \"My geospatial dataset\"," + + "\"license\": \"proprietary\"," + + "\"extent\": {\"spatial\": {\"bbox\": [[-180, -90, 180, 90]]}," + + "\"temporal\": {\"interval\": [[\"2020-01-01T00:00:00Z\", null]]}}," + + "\"links\": []}"; + + SyncPoller poller = stacClient.beginCreateCollection( + BinaryData.fromString(collectionJson), new RequestOptions()); + poller.getFinalResult(); + // END: readme-sample-createCollection + } + + public void configureVisualization() { + StacClient stacClient = new PlanetaryComputerProClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint("") + .buildStacClient(); + + // BEGIN: readme-sample-configureVisualization + RenderOption renderOption = new RenderOption("natural-color", "Natural Color") + .setType(RenderOptionType.RASTER_TILE) + .setOptions("assets=image&asset_bidx=image|1,2,3") + .setMinZoom(6); + RenderOption created = stacClient.createRenderOption("naip-atl", renderOption); + System.out.printf("Created render option: %s%n", created.getId()); + // END: readme-sample-configureVisualization + } + + public void mosaicTiles() { + DataClient dataClient = new PlanetaryComputerProClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint("") + .buildDataClient(); + + // BEGIN: readme-sample-mosaicTiles + String searchBody = "{\"filter\":{\"op\":\"and\",\"args\":[" + + "{\"op\":\"=\",\"args\":[{\"property\":\"collection\"},\"naip-atl\"]}," + + "{\"op\":\">=\",\"args\":[{\"property\":\"datetime\"},\"2021-01-01T00:00:00Z\"]}" + + "]},\"filter-lang\":\"cql2-json\"}"; + + Response searchResponse = dataClient.registerMosaicsSearchWithResponse( + BinaryData.fromString(searchBody), new RequestOptions()); + String searchId = searchResponse.getValue() + .toObject(TilerMosaicSearchRegistrationResponse.class).getSearchId(); + System.out.printf("Registered mosaic search: %s%n", searchId); + // END: readme-sample-mosaicTiles + } + + public void pointValues() { + DataClient dataClient = new PlanetaryComputerProClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint("") + .buildDataClient(); + + // BEGIN: readme-sample-pointValues + RequestOptions options = new RequestOptions(); + options.addQueryParam("assets", "image", false); + Response response = dataClient.getItemPointWithResponse( + "naip-atl", "ga_m_3308421_se_16_060_20211114", -84.386, 33.676, options); + System.out.printf("Point data: %s%n", response.getValue().toString()); + // END: readme-sample-pointValues + } + + public void mapTile() { + DataClient dataClient = new PlanetaryComputerProClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint("") + .buildDataClient(); + + // BEGIN: readme-sample-mapTile + RequestOptions options = new RequestOptions(); + options.addQueryParam("assets", "image", false); + options.addQueryParam("asset_bidx", "image|1,2,3", false); + BinaryData tile = dataClient.getTileByFormatWithResponse( + "naip-atl", "ga_m_3308421_se_16_060_20211114", + "WebMercatorQuad", 14, 4349, 6564, "png", options).getValue(); + System.out.printf("Tile size: %d bytes%n", tile.toBytes().length); + // END: readme-sample-mapTile + } + + public void ingestionSource() { + IngestionClient ingestionClient = new PlanetaryComputerProClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint("") + .buildIngestionClient(); + + // BEGIN: readme-sample-ingestionSource + IngestionSource source = ingestionClient.createSource( + new ManagedIdentityIngestionSource("source-id", + new ManagedIdentityConnection("https://storage.blob.core.windows.net/container", + "managed-identity-object-id"))); + System.out.printf("Created ingestion source: %s%n", source.getId()); + // END: readme-sample-ingestionSource + } + + public void ingestion() { + IngestionClient ingestionClient = new PlanetaryComputerProClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .endpoint("") + .buildIngestionClient(); + + // BEGIN: readme-sample-ingestion + IngestionDefinition ingestion = new IngestionDefinition(); + ingestion.setImportType(IngestionType.STATIC_CATALOG); + ingestion.setDisplayName("My Dataset Ingestion"); + ingestion.setSourceCatalogUrl("https://example.com/catalog.json"); + + IngestionDefinition created = ingestionClient.create("my-collection", ingestion); + IngestionRun run = ingestionClient.createRun("my-collection", created.getId()); + System.out.printf("Ingestion run started: %s%n", run.getId()); + // END: readme-sample-ingestion + } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/IngestionsStacCreateGeoparquet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/IngestionsStacCreateGeoparquet.java new file mode 100644 index 000000000000..bb0c9f847b84 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/IngestionsStacCreateGeoparquet.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.IngestionClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.IngestionDefinition; +import com.azure.analytics.planetarycomputer.models.IngestionType; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +public class IngestionsStacCreateGeoparquet { + public static void main(String[] args) { + IngestionClient ingestionClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildIngestionClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.ingestion-create.ingestions-stac-create-geoparquet + IngestionDefinition response = ingestionClient.create("naip-atl", new IngestionDefinition() + .setImportType(IngestionType.STAC_GEOPARQUET) + .setDisplayName("Geoparquet Ingestion") + .setStacGeoparquetUrl( + "https://raw.githubusercontent.com/aloverro/mpcpro-sample-datasets/main/datasets/planetary_computer/naip/items.parquet") + .setSkipExistingItems(true) + .setKeepOriginalAssets(true)); + // END:com.azure.analytics.planetarycomputer.generated.ingestion-create.ingestions-stac-create-geoparquet + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsAssetsForBboxGetBboxAssets.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsAssetsForBboxGetBboxAssets.java new file mode 100644 index 000000000000..78c41c101727 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsAssetsForBboxGetBboxAssets.java @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.List; + +public class MosaicCollectionsAssetsForBboxGetBboxAssets { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-assets-for-bbox.mosaic-collections-assets-for-bbox-get-bbox-assets + List response = dataClient.getCollectionAssetsForBbox("naip-atl", -122.5, 37.7, -122.3, 37.8, null, + null, null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", null, null, null, null, + null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-assets-for-bbox.mosaic-collections-assets-for-bbox-get-bbox-assets + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsAssetsForTileMatrixSetsGetZxyAssets.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsAssetsForTileMatrixSetsGetZxyAssets.java new file mode 100644 index 000000000000..37ef27c53bcd --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsAssetsForTileMatrixSetsGetZxyAssets.java @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TilerAssetGeoJson; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.List; + +public class MosaicCollectionsAssetsForTileMatrixSetsGetZxyAssets { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-assets-for-tile.mosaic-collections-assets-for-tile-matrix-sets-get-zxy-assets + List response = dataClient.getCollectionAssetsForTile("naip-atl", "WebMercatorQuad", 13.0, + 2174.0, 3282.0, null, null, null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", + null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-assets-for-tile.mosaic-collections-assets-for-tile-matrix-sets-get-zxy-assets + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsAssetsForTilesGetZxyAssets.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsAssetsForTilesGetZxyAssets.java new file mode 100644 index 000000000000..6701ff67719d --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsAssetsForTilesGetZxyAssets.java @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.List; + +public class MosaicCollectionsAssetsForTilesGetZxyAssets { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-assets-for-tile-no-tms.mosaic-collections-assets-for-tiles-get-zxy-assets + List response + = dataClient.getCollectionAssetsForTileNoTms("naip-atl", 13.0, 2174.0, 3282.0, null, null, null, null, null, + "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-assets-for-tile-no-tms.mosaic-collections-assets-for-tiles-get-zxy-assets + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsBboxGetCroppedToBoundingBox.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsBboxGetCroppedToBoundingBox.java new file mode 100644 index 000000000000..d0be5bda46f2 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsBboxGetCroppedToBoundingBox.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsBboxGetCroppedToBoundingBox { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-bbox-crop.mosaic-collections-bbox-get-cropped-to-bounding-box + BinaryData response = dataClient.getCollectionBboxCrop("naip-atl", -122.5, 37.7, -122.3, 37.8, "png", null, + Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, + "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-bbox-crop.mosaic-collections-bbox-get-cropped-to-bounding-box + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight.java new file mode 100644 index 000000000000..10e92bf49e78 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-bbox-crop-with-dimensions.mosaic-collections-bbox-with-dimensions-get-cropped-to-bounding-box-width-by-height + BinaryData response = dataClient.getCollectionBboxCropWithDimensions("naip-atl", -122.5, 37.7, -122.3, 37.8, + 256, 256, "png", null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, + null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-bbox-crop-with-dimensions.mosaic-collections-bbox-with-dimensions-get-cropped-to-bounding-box-width-by-height + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerGeoJsonsCropFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsFeatureGeoJsonCrop.java similarity index 74% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerGeoJsonsCropFormat.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsFeatureGeoJsonCrop.java index 3e8a4fedeeee..5dc08a7cb46b 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerGeoJsonsCropFormat.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsFeatureGeoJsonCrop.java @@ -6,7 +6,6 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.CropGeoJsonOptions; import com.azure.analytics.planetarycomputer.models.Feature; import com.azure.analytics.planetarycomputer.models.FeatureType; import com.azure.analytics.planetarycomputer.models.Polygon; @@ -17,19 +16,21 @@ import java.util.HashMap; import java.util.Map; -public class TilerGeoJsonsCropFormat { +public class MosaicCollectionsFeatureGeoJsonCrop { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-crop-geo-json.tiler-geo-jsons-crop-format - BinaryData response = dataClient.cropGeoJson("naip-atl", "ga_m_3308421_se_16_060_20211114", "crop.png", - new CropGeoJsonOptions().setAssets(Arrays.asList("image")).setAssetBandIndices("image|1,2,3"), + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-crop-collection-feature.mosaic-collections-feature-geo-json-crop + BinaryData response = dataClient.cropCollectionFeature("naip-atl", new Feature(new Polygon().setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.3906, 33.6714), Arrays.asList(-84.3814, 33.6714), Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), - Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf())); - // END:com.azure.analytics.planetarycomputer.generated.data-crop-geo-json.tiler-geo-jsons-crop-format + Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf()), + null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, + "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-crop-collection-feature.mosaic-collections-feature-geo-json-crop } // Use "Map.of" if available diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsFeatureGeoJsonFormatCropFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsFeatureGeoJsonFormatCropFormat.java new file mode 100644 index 000000000000..43db021aa38b --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsFeatureGeoJsonFormatCropFormat.java @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +public class MosaicCollectionsFeatureGeoJsonFormatCropFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-crop-collection-feature-by-format.mosaic-collections-feature-geo-json-format-crop-format + BinaryData response = dataClient.cropCollectionFeatureByFormat("naip-atl", "png", + new Feature(new Polygon().setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.3906, 33.6714), + Arrays.asList(-84.3814, 33.6714), Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), + Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf()), + null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, + "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-crop-collection-feature-by-format.mosaic-collections-feature-geo-json-format-crop-format + } + + // Use "Map.of" if available + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsFeatureGeoJsonWidthByHeightCropWidthByHeightFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsFeatureGeoJsonWidthByHeightCropWidthByHeightFormat.java new file mode 100644 index 000000000000..5249e8eb484a --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsFeatureGeoJsonWidthByHeightCropWidthByHeightFormat.java @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +public class MosaicCollectionsFeatureGeoJsonWidthByHeightCropWidthByHeightFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-crop-collection-feature-width-by-height.mosaic-collections-feature-geo-json-width-by-height-crop-width-by-height-format + BinaryData response = dataClient.cropCollectionFeatureWidthByHeight("naip-atl", 256, 256, "png", + new Feature(new Polygon().setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.3906, 33.6714), + Arrays.asList(-84.3814, 33.6714), Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), + Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf()), + null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, + "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-crop-collection-feature-width-by-height.mosaic-collections-feature-geo-json-width-by-height-crop-width-by-height-format + } + + // Use "Map.of" if available + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsInfoSearchGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsInfoGet.java similarity index 79% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsInfoSearchGet.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsInfoGet.java index b6175dad43b8..7a842f4bced5 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsInfoSearchGet.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsInfoGet.java @@ -10,14 +10,14 @@ import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; -public class MosaicsInfoSearchGet { +public class MosaicCollectionsInfoGet { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-search-info.mosaics-info-search-get - TilerStacSearchRegistration response = dataClient.getMosaicsSearchInfo("ba13fc7947b9b585690d84ee61aaa653"); - // END:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-search-info.mosaics-info-search-get + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-info.mosaic-collections-info-get + TilerStacSearchRegistration response = dataClient.getCollectionInfo("naip-atl"); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-info.mosaic-collections-info-get } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsPointAssetsGetPointAssets.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsPointAssetsGetPointAssets.java new file mode 100644 index 000000000000..4228a9be9880 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsPointAssetsGetPointAssets.java @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.StacItemPointAsset; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.List; + +public class MosaicCollectionsPointAssetsGetPointAssets { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-point-assets.mosaic-collections-point-assets-get-point-assets + List response + = dataClient.getCollectionPointAssets("naip-atl", -122.4194, 37.7749, null, null, null, null, null, + "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-point-assets.mosaic-collections-point-assets-get-point-assets + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsPointGetPoint.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsPointGetPoint.java new file mode 100644 index 000000000000..6ebc8a9397f9 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsPointGetPoint.java @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TilerCoreModelsResponsesPoint; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsPointGetPoint { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-point.mosaic-collections-point-get-point + TilerCoreModelsResponsesPoint response = dataClient.getCollectionPoint("naip-atl", -84.386, 33.676, null, null, + null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", null, null, null, null, null, + null, null, Arrays.asList("image"), null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-point.mosaic-collections-point-get-point + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileJsonGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileJsonGet.java new file mode 100644 index 000000000000..1c7b68049293 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileJsonGet.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TileJsonMetadata; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsTileJsonGet { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-json.mosaic-collections-tile-json-get + TileJsonMetadata response = dataClient.getCollectionTileJson("naip-atl", Arrays.asList(1, 2, 3), + Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, WarpKernelResampling.NEAREST, + null, null, null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", + "2024-01-01T00:00:00Z", null, null, "epsg:4326", Arrays.asList("band=1"), SelMethod.NEAREST, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-json.mosaic-collections-tile-json-get + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsFormatGetZxyByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsFormatGetZxyByFormat.java new file mode 100644 index 000000000000..35086f30091c --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsFormatGetZxyByFormat.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsTileMatrixSetsFormatGetZxyByFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-by-format.mosaic-collections-tile-matrix-sets-format-get-zxy-by-format + BinaryData response = dataClient.getCollectionTileByFormat("naip-atl", "WebMercatorQuad", 13.0, 2174.0, 3282.0, + "png", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", + "-datetime", "2024-01-01T00:00:00Z", null, null, "epsg:4326", Arrays.asList("band=1"), SelMethod.NEAREST, + null, null, 1, null, null, "naip-atl", null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-by-format.mosaic-collections-tile-matrix-sets-format-get-zxy-by-format + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsGetZxyScaleByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsGetZxyScaleByFormat.java new file mode 100644 index 000000000000..ce3e4dc533a9 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsGetZxyScaleByFormat.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsTileMatrixSetsGetZxyScaleByFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-by-scale-and-format.mosaic-collections-tile-matrix-sets-get-zxy-scale-by-format + BinaryData response = dataClient.getCollectionTileByScaleAndFormat("naip-atl", "WebMercatorQuad", 13.0, 2174.0, + 3282.0, 1.0, "png", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), + null, null, null, WarpKernelResampling.NEAREST, null, null, null, null, null, "item-id-1,item-id-2", + "-180,-90,180,90", "{}", "-datetime", "2024-01-01T00:00:00Z", null, null, "epsg:4326", + Arrays.asList("band=1"), SelMethod.NEAREST, null, null, null, null, null, null, null, null, null, null, + null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-by-scale-and-format.mosaic-collections-tile-matrix-sets-get-zxy-scale-by-format + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsPlainGetZxy.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsPlainGetZxy.java new file mode 100644 index 000000000000..952975588c42 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsPlainGetZxy.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsTileMatrixSetsPlainGetZxy { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile.mosaic-collections-tile-matrix-sets-plain-get-zxy + BinaryData response = dataClient.getCollectionTile("naip-atl", "WebMercatorQuad", 13.0, 2174.0, 3282.0, + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", + "-datetime", "2024-01-01T00:00:00Z", null, null, "epsg:4326", Arrays.asList("band=1"), SelMethod.NEAREST, + null, null, TilerImageFormat.PNG, 1, null, null, "naip-atl", null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile.mosaic-collections-tile-matrix-sets-plain-get-zxy + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsScaleGetZxyByScale.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsScaleGetZxyByScale.java new file mode 100644 index 000000000000..53bf38247914 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsScaleGetZxyByScale.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsTileMatrixSetsScaleGetZxyByScale { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-by-scale.mosaic-collections-tile-matrix-sets-scale-get-zxy-by-scale + BinaryData response = dataClient.getCollectionTileByScale("naip-atl", "WebMercatorQuad", 13.0, 2174.0, 3282.0, + 1.0, Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", + "-datetime", "2024-01-01T00:00:00Z", null, null, "epsg:4326", Arrays.asList("band=1"), SelMethod.NEAREST, + null, null, TilerImageFormat.PNG, null, null, "naip-atl", null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-by-scale.mosaic-collections-tile-matrix-sets-scale-get-zxy-by-scale + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsTileJsonGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsTileJsonGet.java new file mode 100644 index 000000000000..6b1c92c1699c --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileMatrixSetsTileJsonGet.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TileJsonMetadata; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsTileMatrixSetsTileJsonGet { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-json-by-tms.mosaic-collections-tile-matrix-sets-tile-json-get + TileJsonMetadata response = dataClient.getCollectionTileJsonByTms("naip-atl", "WebMercatorQuad", + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", + "-datetime", "2024-01-01T00:00:00Z", null, null, "epsg:4326", Arrays.asList("band=1"), SelMethod.NEAREST, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-json-by-tms.mosaic-collections-tile-matrix-sets-tile-json-get + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileSetListGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileSetListGet.java new file mode 100644 index 000000000000..a200f5b50f13 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileSetListGet.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TileSetList; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +public class MosaicCollectionsTileSetListGet { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tilesets.mosaic-collections-tile-set-list-get + TileSetList response = dataClient.getCollectionTilesets("naip-atl", "item-id-1,item-id-2", "-180,-90,180,90", + "{}", "-datetime", null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tilesets.mosaic-collections-tile-set-list-get + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileSetMetadataGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileSetMetadataGet.java new file mode 100644 index 000000000000..c92e0952e81b --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTileSetMetadataGet.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TileSetMetadata; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +public class MosaicCollectionsTileSetMetadataGet { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tileset-metadata.mosaic-collections-tile-set-metadata-get + TileSetMetadata response = dataClient.getCollectionTilesetMetadata("naip-atl", "WebMercatorQuad", + "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tileset-metadata.mosaic-collections-tile-set-metadata-get + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesFormatGetZxyByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesFormatGetZxyByFormat.java new file mode 100644 index 000000000000..3f900399f128 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesFormatGetZxyByFormat.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsTilesFormatGetZxyByFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-no-tms-by-format.mosaic-collections-tiles-format-get-zxy-by-format + BinaryData response = dataClient.getCollectionTileNoTmsByFormat("naip-atl", 13.0, 2174.0, 3282.0, "png", + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", + "-datetime", "2024-01-01T00:00:00Z", null, null, "epsg:4326", Arrays.asList("band=1"), SelMethod.NEAREST, + null, null, null, 1, null, null, "naip-atl", null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-no-tms-by-format.mosaic-collections-tiles-format-get-zxy-by-format + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesGetZxyScaleByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesGetZxyScaleByFormat.java new file mode 100644 index 000000000000..276c08912713 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesGetZxyScaleByFormat.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsTilesGetZxyScaleByFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-no-tms-by-scale-and-format.mosaic-collections-tiles-get-zxy-scale-by-format + BinaryData response = dataClient.getCollectionTileNoTmsByScaleAndFormat("naip-atl", 13.0, 2174.0, 3282.0, 1.0, + "png", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", + "-datetime", "2024-01-01T00:00:00Z", null, null, "epsg:4326", Arrays.asList("band=1"), SelMethod.NEAREST, + null, null, null, null, null, "naip-atl", null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-no-tms-by-scale-and-format.mosaic-collections-tiles-get-zxy-scale-by-format + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesPlainGetZxy.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesPlainGetZxy.java new file mode 100644 index 000000000000..02bc50f0c5dd --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesPlainGetZxy.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsTilesPlainGetZxy { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-no-tms.mosaic-collections-tiles-plain-get-zxy + BinaryData response = dataClient.getCollectionTileNoTms("naip-atl", 13.0, 2174.0, 3282.0, + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", + "-datetime", "2024-01-01T00:00:00Z", null, null, "epsg:4326", Arrays.asList("band=1"), SelMethod.NEAREST, + null, null, null, TilerImageFormat.PNG, 1, null, null, "naip-atl", null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-no-tms.mosaic-collections-tiles-plain-get-zxy + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesScaleGetZxyByScale.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesScaleGetZxyByScale.java new file mode 100644 index 000000000000..f7e07f4054ae --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsTilesScaleGetZxyByScale.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicCollectionsTilesScaleGetZxyByScale { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-no-tms-by-scale.mosaic-collections-tiles-scale-get-zxy-by-scale + BinaryData response = dataClient.getCollectionTileNoTmsByScale("naip-atl", 13.0, 2174.0, 3282.0, 1.0, + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, "item-id-1,item-id-2", "-180,-90,180,90", "{}", + "-datetime", "2024-01-01T00:00:00Z", null, null, "epsg:4326", Arrays.asList("band=1"), SelMethod.NEAREST, + null, null, null, TilerImageFormat.PNG, null, null, "naip-atl", null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-tile-no-tms-by-scale.mosaic-collections-tiles-scale-get-zxy-by-scale + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsWmtsGetCapabilitiesXml.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsWmtsGetCapabilitiesXml.java new file mode 100644 index 000000000000..af48788a6929 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsWmtsGetCapabilitiesXml.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +public class MosaicCollectionsWmtsGetCapabilitiesXml { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-wmts-capabilities.mosaic-collections-wmts-get-capabilities-xml + byte[] response = dataClient.getCollectionWmtsCapabilities("naip-atl", "item-id-1,item-id-2", "-180,-90,180,90", + "{}", "-datetime", null, null, null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-wmts-capabilities.mosaic-collections-wmts-get-capabilities-xml + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsWmtsTileMatrixSetsGetCapabilitiesXml.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsWmtsTileMatrixSetsGetCapabilitiesXml.java new file mode 100644 index 000000000000..7ca22953e1dc --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicCollectionsWmtsTileMatrixSetsGetCapabilitiesXml.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +public class MosaicCollectionsWmtsTileMatrixSetsGetCapabilitiesXml { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-collection-wmts-capabilities-by-tms.mosaic-collections-wmts-tile-matrix-sets-get-capabilities-xml + byte[] response = dataClient.getCollectionWmtsCapabilitiesByTms("naip-atl", "WebMercatorQuad", + "item-id-1,item-id-2", "-180,-90,180,90", "{}", "-datetime", null, null, null, null, null, null, null, null, + null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-collection-wmts-capabilities-by-tms.mosaic-collections-wmts-tile-matrix-sets-get-capabilities-xml + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerAssetStatisticsGetAll.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsAssetStatisticsGetAll.java similarity index 67% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerAssetStatisticsGetAll.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsAssetStatisticsGetAll.java index 4806cf8a8bca..2c009fc632e4 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerAssetStatisticsGetAll.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsAssetStatisticsGetAll.java @@ -7,20 +7,20 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; import com.azure.analytics.planetarycomputer.models.AssetStatisticsResponse; -import com.azure.analytics.planetarycomputer.models.GetAssetStatisticsOptions; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class TilerAssetStatisticsGetAll { +public class MosaicItemsAssetStatisticsGetAll { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-asset-statistics.tiler-asset-statistics-get-all - AssetStatisticsResponse response = dataClient.getAssetStatistics("naip-atl", "ga_m_3308421_se_16_060_20211114", - new GetAssetStatisticsOptions().setAssets(Arrays.asList("image"))); - // END:com.azure.analytics.planetarycomputer.generated.data-get-asset-statistics.tiler-asset-statistics-get-all + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-asset-statistics.mosaic-items-asset-statistics-get-all + AssetStatisticsResponse response = dataClient.getItemAssetStatistics("naip-atl", + "ga_m_3308421_se_16_060_20211114", null, Arrays.asList("image"), null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-asset-statistics.mosaic-items-asset-statistics-get-all } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsAvailableAssetsGetAll.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsAvailableAssetsGetAll.java new file mode 100644 index 000000000000..edbab5064569 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsAvailableAssetsGetAll.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.List; + +public class MosaicItemsAvailableAssetsGetAll { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-available-assets.mosaic-items-available-assets-get-all + List response = dataClient.getItemAvailableAssets("naip-atl", "ga_m_3308421_se_16_060_20211114", null, + null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-available-assets.mosaic-items-available-assets-get-all + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPartsGetCroppedToBoundingBox.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsBboxGetCroppedToBoundingBox.java similarity index 63% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPartsGetCroppedToBoundingBox.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsBboxGetCroppedToBoundingBox.java index baac94d91b7f..e46c0b54259c 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPartsGetCroppedToBoundingBox.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsBboxGetCroppedToBoundingBox.java @@ -6,22 +6,21 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.GetPartOptions; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class TilerPartsGetCroppedToBoundingBox { +public class MosaicItemsBboxGetCroppedToBoundingBox { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-part.tiler-parts-get-cropped-to-bounding-box - BinaryData response - = dataClient.getPart("naip-atl", "ga_m_3308421_se_16_060_20211114", -84.393, 33.6798, -84.367, 33.7058, - "png", new GetPartOptions().setAssets(Arrays.asList("image")).setAssetBandIndices("image|1,2,3")); - // END:com.azure.analytics.planetarycomputer.generated.data-get-part.tiler-parts-get-cropped-to-bounding-box + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-bbox-crop.mosaic-items-bbox-get-cropped-to-bounding-box + BinaryData response = dataClient.getItemBboxCrop("naip-atl", "ga_m_3308421_se_16_060_20211114", -122.5, 37.7, + -122.3, 37.8, "png", null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-bbox-crop.mosaic-items-bbox-get-cropped-to-bounding-box } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight.java new file mode 100644 index 000000000000..536821b8cb01 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight.java @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicItemsBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-bbox-crop-with-dimensions.mosaic-items-bbox-with-dimensions-get-cropped-to-bounding-box-width-by-height + BinaryData response = dataClient.getItemBboxCropWithDimensions("naip-atl", "ga_m_3308421_se_16_060_20211114", + -122.5, 37.7, -122.3, 37.8, 256, 256, "png", null, Arrays.asList("image"), null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-bbox-crop-with-dimensions.mosaic-items-bbox-with-dimensions-get-cropped-to-bounding-box-width-by-height + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerBoundGetAll.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsBoundsGetAll.java similarity index 76% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerBoundGetAll.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsBoundsGetAll.java index 9cde5359d2b0..b0a7fca56c14 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerBoundGetAll.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsBoundsGetAll.java @@ -10,14 +10,15 @@ import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; -public class TilerBoundGetAll { +public class MosaicItemsBoundsGetAll { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-bounds.tiler-bound-get-all - StacItemBounds response = dataClient.getBounds("naip-atl", "ga_m_3308421_se_16_060_20211114"); - // END:com.azure.analytics.planetarycomputer.generated.data-get-bounds.tiler-bound-get-all + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-bounds.mosaic-items-bounds-get-all + StacItemBounds response = dataClient.getItemBounds("naip-atl", "ga_m_3308421_se_16_060_20211114", null, null, + null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-bounds.mosaic-items-bounds-get-all } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsFeatureGeoJsonCrop.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsFeatureGeoJsonCrop.java new file mode 100644 index 000000000000..3e3a7a8380df --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsFeatureGeoJsonCrop.java @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +public class MosaicItemsFeatureGeoJsonCrop { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-crop-feature.mosaic-items-feature-geo-json-crop + BinaryData response = dataClient.cropFeature("naip-atl", "ga_m_3308421_se_16_060_20211114", + new Feature(new Polygon().setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.3906, 33.6714), + Arrays.asList(-84.3814, 33.6714), Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), + Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf()), + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST, null); + // END:com.azure.analytics.planetarycomputer.generated.data-crop-feature.mosaic-items-feature-geo-json-crop + } + + // Use "Map.of" if available + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsFeatureGeoJsonFormatCropFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsFeatureGeoJsonFormatCropFormat.java new file mode 100644 index 000000000000..4037b1797ce1 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsFeatureGeoJsonFormatCropFormat.java @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +public class MosaicItemsFeatureGeoJsonFormatCropFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-crop-feature-by-format.mosaic-items-feature-geo-json-format-crop-format + BinaryData response = dataClient.cropFeatureByFormat("naip-atl", "ga_m_3308421_se_16_060_20211114", "png", + new Feature(new Polygon().setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.3906, 33.6714), + Arrays.asList(-84.3814, 33.6714), Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), + Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf()), + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-crop-feature-by-format.mosaic-items-feature-geo-json-format-crop-format + } + + // Use "Map.of" if available + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsFeatureGeoJsonWidthByHeightCropWidthByHeightFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsFeatureGeoJsonWidthByHeightCropWidthByHeightFormat.java new file mode 100644 index 000000000000..92ae4797e2fe --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsFeatureGeoJsonWidthByHeightCropWidthByHeightFormat.java @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +public class MosaicItemsFeatureGeoJsonWidthByHeightCropWidthByHeightFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-crop-feature-width-by-height.mosaic-items-feature-geo-json-width-by-height-crop-width-by-height-format + BinaryData response = dataClient.cropFeatureWidthByHeight("naip-atl", "ga_m_3308421_se_16_060_20211114", 256, + 256, "png", + new Feature(new Polygon().setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.3906, 33.6714), + Arrays.asList(-84.3814, 33.6714), Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), + Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf()), + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, null, null, null, null, null, null, null, null, + "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-crop-feature-width-by-height.mosaic-items-feature-geo-json-width-by-height-crop-width-by-height-format + } + + // Use "Map.of" if available + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerGeoJsonStatisticsGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsGeoJsonStatisticsGet.java similarity index 77% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerGeoJsonStatisticsGet.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsGeoJsonStatisticsGet.java index 52e78e41e178..da71c23d61c2 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerGeoJsonStatisticsGet.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsGeoJsonStatisticsGet.java @@ -8,7 +8,6 @@ import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; import com.azure.analytics.planetarycomputer.models.Feature; import com.azure.analytics.planetarycomputer.models.FeatureType; -import com.azure.analytics.planetarycomputer.models.GetGeoJsonStatisticsOptions; import com.azure.analytics.planetarycomputer.models.Polygon; import com.azure.analytics.planetarycomputer.models.StacItemStatisticsGeoJson; import com.azure.core.util.Configuration; @@ -17,19 +16,21 @@ import java.util.HashMap; import java.util.Map; -public class TilerGeoJsonStatisticsGet { +public class MosaicItemsGeoJsonStatisticsGet { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-geo-json-statistics.tiler-geo-json-statistics-get - StacItemStatisticsGeoJson response = dataClient.getGeoJsonStatistics("naip-atl", - "ga_m_3308421_se_16_060_20211114", new GetGeoJsonStatisticsOptions().setAssets(Arrays.asList("image")), + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-feature-statistics.mosaic-items-geo-json-statistics-get + StacItemStatisticsGeoJson response = dataClient.getItemFeatureStatistics("naip-atl", + "ga_m_3308421_se_16_060_20211114", new Feature(new Polygon().setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.3906, 33.6714), Arrays.asList(-84.3814, 33.6714), Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), - Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf())); - // END:com.azure.analytics.planetarycomputer.generated.data-get-geo-json-statistics.tiler-geo-json-statistics-get + Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf()), + null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-feature-statistics.mosaic-items-geo-json-statistics-get } // Use "Map.of" if available diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerInfoGeoJsonOperationsGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsInfoGeoJsonGet.java similarity index 73% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerInfoGeoJsonOperationsGet.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsInfoGeoJsonGet.java index 8caf9ea1fc54..544ae2ec7e03 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerInfoGeoJsonOperationsGet.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsInfoGeoJsonGet.java @@ -11,15 +11,15 @@ import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class TilerInfoGeoJsonOperationsGet { +public class MosaicItemsInfoGeoJsonGet { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-info-geo-json.tiler-info-geo-json-operations-get - TilerInfoGeoJsonFeature response - = dataClient.getInfoGeoJson("naip-atl", "ga_m_3308421_se_16_060_20211114", Arrays.asList("image")); - // END:com.azure.analytics.planetarycomputer.generated.data-get-info-geo-json.tiler-info-geo-json-operations-get + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-info-geo-json.mosaic-items-info-geo-json-get + TilerInfoGeoJsonFeature response = dataClient.getItemInfoGeoJson("naip-atl", "ga_m_3308421_se_16_060_20211114", + null, null, null, null, null, null, Arrays.asList("image")); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-info-geo-json.mosaic-items-info-geo-json-get } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerInfoOperationsGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsInfoGet.java similarity index 76% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerInfoOperationsGet.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsInfoGet.java index a018dcc6d92f..83a76f0642e9 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerInfoOperationsGet.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsInfoGet.java @@ -11,15 +11,15 @@ import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class TilerInfoOperationsGet { +public class MosaicItemsInfoGet { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-asset-details.tiler-info-operations-get - TilerInfoMapResponse response - = dataClient.getItemAssetDetails("naip-atl", "ga_m_3308421_se_16_060_20211114", Arrays.asList("image")); - // END:com.azure.analytics.planetarycomputer.generated.data-get-item-asset-details.tiler-info-operations-get + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-info.mosaic-items-info-get + TilerInfoMapResponse response = dataClient.getItemInfo("naip-atl", "ga_m_3308421_se_16_060_20211114", null, + null, null, null, null, null, Arrays.asList("image")); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-info.mosaic-items-info-get } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPointsGetPoint.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsPointGetPoint.java similarity index 70% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPointsGetPoint.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsPointGetPoint.java index 1dfb95638adf..1f2789ea0dbe 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPointsGetPoint.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsPointGetPoint.java @@ -11,15 +11,16 @@ import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class TilerPointsGetPoint { +public class MosaicItemsPointGetPoint { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-point.tiler-points-get-point - TilerCoreModelsResponsesPoint response = dataClient.getPoint("naip-atl", "ga_m_3308421_se_16_060_20211114", - -84.386, 33.676, Arrays.asList("image"), null, null, null, null, null, null, null); - // END:com.azure.analytics.planetarycomputer.generated.data-get-point.tiler-points-get-point + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-point.mosaic-items-point-get-point + TilerCoreModelsResponsesPoint response = dataClient.getItemPoint("naip-atl", "ga_m_3308421_se_16_060_20211114", + -84.386, 33.676, null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, + null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-point.mosaic-items-point-get-point } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsPreviewFormatGetFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsPreviewFormatGetFormat.java new file mode 100644 index 000000000000..11aa3249b611 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsPreviewFormatGetFormat.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicItemsPreviewFormatGetFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-preview-with-format.mosaic-items-preview-format-get-format + BinaryData response = dataClient.getItemPreviewWithFormat("naip-atl", "ga_m_3308421_se_16_060_20211114", "jpeg", + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, null, null, null, null, null, null, null, null, null, null, + null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-preview-with-format.mosaic-items-preview-format-get-format + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsTileMatrixSetsTileJsonGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsPreviewGet.java similarity index 55% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsTileMatrixSetsTileJsonGet.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsPreviewGet.java index ecb232da4fdd..670b5871dce9 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsTileMatrixSetsTileJsonGet.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsPreviewGet.java @@ -6,27 +6,26 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.GetMosaicTileJsonOptions; -import com.azure.analytics.planetarycomputer.models.TileJsonMetadata; +import com.azure.analytics.planetarycomputer.models.SelMethod; import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class MosaicsTileMatrixSetsTileJsonGet { +public class MosaicItemsPreviewGet { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-tile-json.mosaics-tile-matrix-sets-tile-json-get - TileJsonMetadata response = dataClient.getMosaicsTileJson("ba13fc7947b9b585690d84ee61aaa653", "WebMercatorQuad", - new GetMosaicTileJsonOptions().setAssets(Arrays.asList("image")) - .setAssetBandIndices("image|1,2,3") - .setMinZoom(9) - .setTileFormat(TilerImageFormat.PNG) - .setTileScale(1) - .setCollection("naip-atl")); - // END:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-tile-json.mosaics-tile-matrix-sets-tile-json-get + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-preview.mosaic-items-preview-get + BinaryData response = dataClient.getItemPreview("naip-atl", "ga_m_3308421_se_16_060_20211114", + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, TilerImageFormat.PNG, null, null, null, null, 512, 512, null, + null, null, null, null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), + SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-preview.mosaic-items-preview-get } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerStatisticsGetAll.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsStatisticsGetAll.java similarity index 67% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerStatisticsGetAll.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsStatisticsGetAll.java index c66664741e93..30731dff1f94 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerStatisticsGetAll.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsStatisticsGetAll.java @@ -6,21 +6,21 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.GetStatisticsOptions; import com.azure.analytics.planetarycomputer.models.TilerStacItemStatistics; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class TilerStatisticsGetAll { +public class MosaicItemsStatisticsGetAll { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-list-statistics.tiler-statistics-get-all - TilerStacItemStatistics response = dataClient.listStatistics("naip-atl", "ga_m_3308421_se_16_060_20211114", - new GetStatisticsOptions().setAssets(Arrays.asList("image"))); - // END:com.azure.analytics.planetarycomputer.generated.data-list-statistics.tiler-statistics-get-all + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-statistics.mosaic-items-statistics-get-all + TilerStacItemStatistics response = dataClient.getItemStatistics("naip-atl", "ga_m_3308421_se_16_060_20211114", + null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-statistics.mosaic-items-statistics-get-all } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerTileJsonTileMatrixSetsGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileJsonGet.java similarity index 58% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerTileJsonTileMatrixSetsGet.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileJsonGet.java index ea58df3521e9..ff59f7922c80 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerTileJsonTileMatrixSetsGet.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileJsonGet.java @@ -6,28 +6,26 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.GetTileJsonOptions; +import com.azure.analytics.planetarycomputer.models.SelMethod; import com.azure.analytics.planetarycomputer.models.TileJsonMetadata; import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class TilerTileJsonTileMatrixSetsGet { +public class MosaicItemsTileJsonGet { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tile-json.tiler-tile-json-tile-matrix-sets-get - TileJsonMetadata response - = dataClient.getTileJson("naip-atl", "ga_m_3308421_se_16_060_20211114", "WebMercatorQuad", - new GetTileJsonOptions().setAssets(Arrays.asList("image")) - .setAssetBandIndices("image|1,2,3") - .setTileFormat(TilerImageFormat.PNG) - .setTileScale(1) - .setMinZoom(7) - .setMaxZoom(14)); - // END:com.azure.analytics.planetarycomputer.generated.data-get-tile-json.tiler-tile-json-tile-matrix-sets-get + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-tile-json.mosaic-items-tile-json-get + TileJsonMetadata response = dataClient.getItemTileJson("naip-atl", "ga_m_3308421_se_16_060_20211114", + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, TilerImageFormat.PNG, 1, 7, 14, null, null, null, null, + null, null, null, 2, null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), + SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-tile-json.mosaic-items-tile-json-get } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerTileMatrixSetsGetZxyScaleByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsFormatGetZxyByFormat.java similarity index 54% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerTileMatrixSetsGetZxyScaleByFormat.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsFormatGetZxyByFormat.java index 297668563a18..884de5d376a5 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerTileMatrixSetsGetZxyScaleByFormat.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsFormatGetZxyByFormat.java @@ -6,22 +6,25 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.GetTileOptions; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class TilerTileMatrixSetsGetZxyScaleByFormat { +public class MosaicItemsTileMatrixSetsFormatGetZxyByFormat { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tile.tiler-tile-matrix-sets-get-zxy-scale-by-format + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tile-by-format.mosaic-items-tile-matrix-sets-format-get-zxy-by-format BinaryData response - = dataClient.getTile("naip-atl", "ga_m_3308421_se_16_060_20211114", "WebMercatorQuad", 14.0, 4349.0, 6564.0, - 1.0, "png", new GetTileOptions().setAssets(Arrays.asList("image")).setAssetBandIndices("image|1,2,3")); - // END:com.azure.analytics.planetarycomputer.generated.data-get-tile.tiler-tile-matrix-sets-get-zxy-scale-by-format + = dataClient.getTileByFormat("naip-atl", "ga_m_3308421_se_16_060_20211114", "WebMercatorQuad", 14.0, 4349.0, + 6564.0, "png", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, + null, null, WarpKernelResampling.NEAREST, null, null, 1, null, null, null, null, null, null, null, 2, + null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-tile-by-format.mosaic-items-tile-matrix-sets-format-get-zxy-by-format } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsPlainGetZxy.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsPlainGetZxy.java new file mode 100644 index 000000000000..44bbd4237610 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsPlainGetZxy.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicItemsTileMatrixSetsPlainGetZxy { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tile.mosaic-items-tile-matrix-sets-plain-get-zxy + BinaryData response = dataClient.getTile("naip-atl", "ga_m_3308421_se_16_060_20211114", "WebMercatorQuad", 14.0, + 4349.0, 6564.0, Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, + null, null, WarpKernelResampling.NEAREST, null, null, TilerImageFormat.PNG, 1, null, null, null, null, null, + null, null, 2, null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-tile.mosaic-items-tile-matrix-sets-plain-get-zxy + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsScaleByFormatGetZxyScaleByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsScaleByFormatGetZxyScaleByFormat.java new file mode 100644 index 000000000000..9b0c0463d127 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsScaleByFormatGetZxyScaleByFormat.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicItemsTileMatrixSetsScaleByFormatGetZxyScaleByFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tile-by-scale-and-format.mosaic-items-tile-matrix-sets-scale-by-format-get-zxy-scale-by-format + BinaryData response = dataClient.getTileByScaleAndFormat("naip-atl", "ga_m_3308421_se_16_060_20211114", + "WebMercatorQuad", 14.0, 4349.0, 6564.0, 2.0, "png", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, + Arrays.asList("image|1,2,3"), null, null, null, WarpKernelResampling.NEAREST, null, null, null, null, null, + null, null, null, null, 2, null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), + SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-tile-by-scale-and-format.mosaic-items-tile-matrix-sets-scale-by-format-get-zxy-scale-by-format + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsScaleGetZxyByScale.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsScaleGetZxyByScale.java new file mode 100644 index 000000000000..8a3718eedeff --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsScaleGetZxyByScale.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicItemsTileMatrixSetsScaleGetZxyByScale { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tile-by-scale.mosaic-items-tile-matrix-sets-scale-get-zxy-by-scale + BinaryData response = dataClient.getTileByScale("naip-atl", "ga_m_3308421_se_16_060_20211114", + "WebMercatorQuad", 14.0, 4349.0, 6564.0, 2.0, Arrays.asList(1, 2, 3), Arrays.asList("image"), null, + Arrays.asList("image|1,2,3"), null, null, null, WarpKernelResampling.NEAREST, null, null, + TilerImageFormat.PNG, null, null, null, null, null, null, null, 2, null, null, "epsg:4326", + "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-tile-by-scale.mosaic-items-tile-matrix-sets-scale-get-zxy-by-scale + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsTileJsonGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsTileJsonGet.java new file mode 100644 index 000000000000..cd77df31fdf0 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileMatrixSetsTileJsonGet.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TileJsonMetadata; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicItemsTileMatrixSetsTileJsonGet { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-tile-json-by-tms.mosaic-items-tile-matrix-sets-tile-json-get + TileJsonMetadata response = dataClient.getItemTileJsonByTms("naip-atl", "ga_m_3308421_se_16_060_20211114", + "WebMercatorQuad", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, + null, null, WarpKernelResampling.NEAREST, null, null, TilerImageFormat.PNG, 1, 7, 14, null, null, null, + null, null, null, null, 2, null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), + SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-tile-json-by-tms.mosaic-items-tile-matrix-sets-tile-json-get + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerStaticImagesGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileSetListGet.java similarity index 71% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerStaticImagesGet.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileSetListGet.java index 899812755fc9..4ce0fbd8b145 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerStaticImagesGet.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileSetListGet.java @@ -6,19 +6,19 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.core.util.BinaryData; +import com.azure.analytics.planetarycomputer.models.TileSetList; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; -public class TilerStaticImagesGet { +public class MosaicItemsTileSetListGet { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-static-image.tiler-static-images-get - BinaryData response - = dataClient.getStaticImage("naip-atl", "geocatalog-naip-atl-000000008a4c45329aecf476d560e8d3.png"); - // END:com.azure.analytics.planetarycomputer.generated.data-get-static-image.tiler-static-images-get + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tilesets.mosaic-items-tile-set-list-get + TileSetList response + = dataClient.getTilesets("naip-atl", "ga_m_3308421_se_16_060_20211114", null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-tilesets.mosaic-items-tile-set-list-get } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileSetMetadataGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileSetMetadataGet.java new file mode 100644 index 000000000000..656cda238027 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTileSetMetadataGet.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TileSetMetadata; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +public class MosaicItemsTileSetMetadataGet { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tileset-metadata.mosaic-items-tile-set-metadata-get + TileSetMetadata response = dataClient.getTilesetMetadata("naip-atl", "ga_m_3308421_se_16_060_20211114", + "WebMercatorQuad", null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-tileset-metadata.mosaic-items-tile-set-metadata-get + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesFormatGetZxyByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesFormatGetZxyByFormat.java new file mode 100644 index 000000000000..62ba172958f4 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesFormatGetZxyByFormat.java @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicItemsTilesFormatGetZxyByFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tile-no-tms-by-format.mosaic-items-tiles-format-get-zxy-by-format + BinaryData response = dataClient.getTileNoTmsByFormat("naip-atl", "ga_m_3308421_se_16_060_20211114", 14.0, + 4349.0, 6564.0, "png", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), + null, null, null, WarpKernelResampling.NEAREST, null, null, null, 1, null, null, null, null, null, null, + null, 2, null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-tile-no-tms-by-format.mosaic-items-tiles-format-get-zxy-by-format + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesPlainGetZxy.java similarity index 55% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesPlainGetZxy.java index ca1f7908465b..3b3c13ddf9c0 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesPlainGetZxy.java @@ -6,26 +6,25 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.GetMosaicWmtsCapabilitiesOptions; +import com.azure.analytics.planetarycomputer.models.SelMethod; import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml { +public class MosaicItemsTilesPlainGetZxy { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-wmts-capabilities.mosaics-wmts-mosaics-tile-matrix-sets-get-capabilities-xml - byte[] response = dataClient.getMosaicsWmtsCapabilities("ba13fc7947b9b585690d84ee61aaa653", "WebMercatorQuad", - new GetMosaicWmtsCapabilitiesOptions().setAssets(Arrays.asList("image")) - .setAssetBandIndices("image|1,2,3") - .setTileFormat(TilerImageFormat.PNG) - .setTileScale(1) - .setMinZoom(7) - .setMaxZoom(13)); - // END:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-wmts-capabilities.mosaics-wmts-mosaics-tile-matrix-sets-get-capabilities-xml + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tile-no-tms.mosaic-items-tiles-plain-get-zxy + BinaryData response = dataClient.getTileNoTms("naip-atl", "ga_m_3308421_se_16_060_20211114", 14.0, 4349.0, + 6564.0, Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, + null, WarpKernelResampling.NEAREST, null, null, null, TilerImageFormat.PNG, 1, null, null, null, null, null, + null, null, 2, null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-tile-no-tms.mosaic-items-tiles-plain-get-zxy } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesScaleByFormatGetZxyScaleByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesScaleByFormatGetZxyScaleByFormat.java new file mode 100644 index 000000000000..aabb3452ae29 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesScaleByFormatGetZxyScaleByFormat.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicItemsTilesScaleByFormatGetZxyScaleByFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tile-no-tms-by-scale-and-format.mosaic-items-tiles-scale-by-format-get-zxy-scale-by-format + BinaryData response + = dataClient.getTileNoTmsByScaleAndFormat("naip-atl", "ga_m_3308421_se_16_060_20211114", 14.0, 4349.0, + 6564.0, 2.0, "png", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), + null, null, null, WarpKernelResampling.NEAREST, null, null, null, null, null, null, null, null, null, + null, 2, null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-tile-no-tms-by-scale-and-format.mosaic-items-tiles-scale-by-format-get-zxy-scale-by-format + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesScaleGetZxyByScale.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesScaleGetZxyByScale.java new file mode 100644 index 000000000000..8de5c8934199 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsTilesScaleGetZxyByScale.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicItemsTilesScaleGetZxyByScale { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tile-no-tms-by-scale.mosaic-items-tiles-scale-get-zxy-by-scale + BinaryData response = dataClient.getTileNoTmsByScale("naip-atl", "ga_m_3308421_se_16_060_20211114", 14.0, + 4349.0, 6564.0, 2.0, Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), + null, null, null, WarpKernelResampling.NEAREST, null, null, null, TilerImageFormat.PNG, null, null, null, + null, null, null, null, 2, null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), + SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-tile-no-tms-by-scale.mosaic-items-tiles-scale-get-zxy-by-scale + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerWmtsTileMatrixSetsGetCapabilitiesXml.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsWmtsGetCapabilitiesXml.java similarity index 55% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerWmtsTileMatrixSetsGetCapabilitiesXml.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsWmtsGetCapabilitiesXml.java index aa2969b04ff1..d2b5249f8a4e 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerWmtsTileMatrixSetsGetCapabilitiesXml.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsWmtsGetCapabilitiesXml.java @@ -6,27 +6,25 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.GetWmtsCapabilitiesOptions; +import com.azure.analytics.planetarycomputer.models.SelMethod; import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class TilerWmtsTileMatrixSetsGetCapabilitiesXml { +public class MosaicItemsWmtsGetCapabilitiesXml { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-wmts-capabilities.tiler-wmts-tile-matrix-sets-get-capabilities-xml - byte[] response - = dataClient.getWmtsCapabilities("naip-atl", "ga_m_3308421_se_16_060_20211114", "WebMercatorQuad", - new GetWmtsCapabilitiesOptions().setAssets(Arrays.asList("image")) - .setAssetBandIndices("image|1,2,3") - .setTileFormat(TilerImageFormat.PNG) - .setTileScale(1) - .setMinZoom(7) - .setMaxZoom(14)); - // END:com.azure.analytics.planetarycomputer.generated.data-get-wmts-capabilities.tiler-wmts-tile-matrix-sets-get-capabilities-xml + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-wmts-capabilities.mosaic-items-wmts-get-capabilities-xml + byte[] response = dataClient.getItemWmtsCapabilities("naip-atl", "ga_m_3308421_se_16_060_20211114", + Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, null, null, + WarpKernelResampling.NEAREST, null, null, null, TilerImageFormat.PNG, 1, 7, 14, null, null, null, null, + null, null, null, 2, null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), + SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-wmts-capabilities.mosaic-items-wmts-get-capabilities-xml } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsWmtsTileMatrixSetsGetCapabilitiesXml.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsWmtsTileMatrixSetsGetCapabilitiesXml.java new file mode 100644 index 000000000000..81b68abb5324 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicItemsWmtsTileMatrixSetsGetCapabilitiesXml.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicItemsWmtsTileMatrixSetsGetCapabilitiesXml { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-item-wmts-capabilities-by-tms.mosaic-items-wmts-tile-matrix-sets-get-capabilities-xml + byte[] response = dataClient.getItemWmtsCapabilitiesByTms("naip-atl", "ga_m_3308421_se_16_060_20211114", + "WebMercatorQuad", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, + null, null, WarpKernelResampling.NEAREST, null, null, TilerImageFormat.PNG, 1, 7, 14, null, null, null, + null, null, null, null, 2, null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), + SelMethod.NEAREST); + // END:com.azure.analytics.planetarycomputer.generated.data-get-item-wmts-capabilities-by-tms.mosaic-items-wmts-tile-matrix-sets-get-capabilities-xml + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPreviewsGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesAssetsForBboxGetBboxAssets.java similarity index 65% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPreviewsGet.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesAssetsForBboxGetBboxAssets.java index 2fc9e72a07d8..7b5b6de9ec48 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPreviewsGet.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesAssetsForBboxGetBboxAssets.java @@ -6,24 +6,20 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.GetPreviewOptions; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; -import java.util.Arrays; +import java.util.List; -public class TilerPreviewsGet { +public class MosaicSearchesAssetsForBboxGetBboxAssets { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-preview.tiler-previews-get - BinaryData response = dataClient.getPreview("naip-atl", "ga_m_3308421_se_16_060_20211114", - new GetPreviewOptions().setAssets(Arrays.asList("image")) - .setAssetBandIndices("image|1,2,3") - .setHeight(512) - .setWidth(512)); - // END:com.azure.analytics.planetarycomputer.generated.data-get-preview.tiler-previews-get + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-bbox-assets.mosaic-searches-assets-for-bbox-get-bbox-assets + List response = dataClient.getSearchBboxAssets("abc123def456", -122.5, 37.7, -122.3, 37.8, null, + null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-bbox-assets.mosaic-searches-assets-for-bbox-get-bbox-assets } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsAssetsForTileMatrixSetsGetZxyAssets.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesAssetsForTileMatrixSetsGetZxyAssets.java similarity index 65% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsAssetsForTileMatrixSetsGetZxyAssets.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesAssetsForTileMatrixSetsGetZxyAssets.java index 4d4e6fe3f5c5..74dec23f61f8 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsAssetsForTileMatrixSetsGetZxyAssets.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesAssetsForTileMatrixSetsGetZxyAssets.java @@ -11,15 +11,16 @@ import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.List; -public class MosaicsAssetsForTileMatrixSetsGetZxyAssets { +public class MosaicSearchesAssetsForTileMatrixSetsGetZxyAssets { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-assets-for-tile.mosaics-assets-for-tile-matrix-sets-get-zxy-assets - List response = dataClient.getMosaicsAssetsForTile("ba13fc7947b9b585690d84ee61aaa653", - "WebMercatorQuad", "naip-atl", 13.0, 2174.0, 3282.0, null, null, null, null, null); - // END:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-assets-for-tile.mosaics-assets-for-tile-matrix-sets-get-zxy-assets + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-assets-for-tile.mosaic-searches-assets-for-tile-matrix-sets-get-zxy-assets + List response + = dataClient.getSearchAssetsForTile("ba13fc7947b9b585690d84ee61aaa653", "WebMercatorQuad", "naip-atl", 13.0, + 2174.0, 3282.0, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-assets-for-tile.mosaic-searches-assets-for-tile-matrix-sets-get-zxy-assets } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPreviewsGetFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesAssetsForTilesGetZxyAssets.java similarity index 65% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPreviewsGetFormat.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesAssetsForTilesGetZxyAssets.java index 79acb570287e..061e8161851e 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPreviewsGetFormat.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesAssetsForTilesGetZxyAssets.java @@ -6,22 +6,20 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.GetPreviewOptions; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; -import java.util.Arrays; +import java.util.List; -public class TilerPreviewsGetFormat { +public class MosaicSearchesAssetsForTilesGetZxyAssets { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-preview-with-format.tiler-previews-get-format - BinaryData response - = dataClient.getPreviewWithFormat("naip-atl", "ga_m_3308421_se_16_060_20211114", "preview.jpeg", - new GetPreviewOptions().setAssets(Arrays.asList("image")).setAssetBandIndices("image|1,2,3")); - // END:com.azure.analytics.planetarycomputer.generated.data-get-preview-with-format.tiler-previews-get-format + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-assets-for-tile-no-tms.mosaic-searches-assets-for-tiles-get-zxy-assets + List response = dataClient.getSearchAssetsForTileNoTms("ba13fc7947b9b585690d84ee61aaa653", 13.0, + 2174.0, 3282.0, null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-assets-for-tile-no-tms.mosaic-searches-assets-for-tiles-get-zxy-assets } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPartsGetCroppedToBoundingBoxWidthByHeight.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesBboxGetCroppedToBoundingBox.java similarity index 61% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPartsGetCroppedToBoundingBoxWidthByHeight.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesBboxGetCroppedToBoundingBox.java index 2e3aa2d79066..e5c33fa94925 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerPartsGetCroppedToBoundingBoxWidthByHeight.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesBboxGetCroppedToBoundingBox.java @@ -6,22 +6,22 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.GetPartOptions; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class TilerPartsGetCroppedToBoundingBoxWidthByHeight { +public class MosaicSearchesBboxGetCroppedToBoundingBox { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-part-with-dimensions.tiler-parts-get-cropped-to-bounding-box-width-by-height - BinaryData response = dataClient.getPartWithDimensions("naip-atl", "ga_m_3308421_se_16_060_20211114", -84.393, - 33.6798, -84.367, 33.7058, 256, 256, "png", - new GetPartOptions().setAssets(Arrays.asList("image")).setAssetBandIndices("image|1,2,3")); - // END:com.azure.analytics.planetarycomputer.generated.data-get-part-with-dimensions.tiler-parts-get-cropped-to-bounding-box-width-by-height + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-bbox-crop.mosaic-searches-bbox-get-cropped-to-bounding-box + BinaryData response = dataClient.getSearchBboxCrop("ba13fc7947b9b585690d84ee61aaa653", -122.5, 37.7, -122.3, + 37.8, "png", null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-bbox-crop.mosaic-searches-bbox-get-cropped-to-bounding-box } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight.java new file mode 100644 index 000000000000..ea5009af7fe8 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicSearchesBboxWithDimensionsGetCroppedToBoundingBoxWidthByHeight { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-bbox-crop-with-dimensions.mosaic-searches-bbox-with-dimensions-get-cropped-to-bounding-box-width-by-height + BinaryData response = dataClient.getSearchBboxCropWithDimensions("ba13fc7947b9b585690d84ee61aaa653", -122.5, + 37.7, -122.3, 37.8, 256, 256, "png", null, Arrays.asList("image"), null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-bbox-crop-with-dimensions.mosaic-searches-bbox-with-dimensions-get-cropped-to-bounding-box-width-by-height + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerGeoJsonsCropWidthByHeightFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesFeatureGeoJsonCrop.java similarity index 76% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerGeoJsonsCropWidthByHeightFormat.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesFeatureGeoJsonCrop.java index 721f200cbd59..cf8eb6f19557 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerGeoJsonsCropWidthByHeightFormat.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesFeatureGeoJsonCrop.java @@ -6,7 +6,6 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.CropGeoJsonOptions; import com.azure.analytics.planetarycomputer.models.Feature; import com.azure.analytics.planetarycomputer.models.FeatureType; import com.azure.analytics.planetarycomputer.models.Polygon; @@ -17,19 +16,21 @@ import java.util.HashMap; import java.util.Map; -public class TilerGeoJsonsCropWidthByHeightFormat { +public class MosaicSearchesFeatureGeoJsonCrop { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-crop-geo-json-with-dimensions.tiler-geo-jsons-crop-width-by-height-format - BinaryData response = dataClient.cropGeoJsonWithDimensions("naip-atl", "ga_m_3308421_se_16_060_20211114", 256, - 256, "png", new CropGeoJsonOptions().setAssets(Arrays.asList("image")).setAssetBandIndices("image|1,2,3"), + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-crop-search-feature.mosaic-searches-feature-geo-json-crop + BinaryData response = dataClient.cropSearchFeature("ba13fc7947b9b585690d84ee61aaa653", new Feature(new Polygon().setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.3906, 33.6714), Arrays.asList(-84.3814, 33.6714), Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), - Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf())); - // END:com.azure.analytics.planetarycomputer.generated.data-crop-geo-json-with-dimensions.tiler-geo-jsons-crop-width-by-height-format + Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf()), + null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-crop-search-feature.mosaic-searches-feature-geo-json-crop } // Use "Map.of" if available diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesFeatureGeoJsonFormatCropFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesFeatureGeoJsonFormatCropFormat.java new file mode 100644 index 000000000000..7d417aa3de4d --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesFeatureGeoJsonFormatCropFormat.java @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +public class MosaicSearchesFeatureGeoJsonFormatCropFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-crop-search-feature-by-format.mosaic-searches-feature-geo-json-format-crop-format + BinaryData response = dataClient.cropSearchFeatureByFormat("ba13fc7947b9b585690d84ee61aaa653", "png", + new Feature(new Polygon().setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.3906, 33.6714), + Arrays.asList(-84.3814, 33.6714), Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), + Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf()), + null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, + null); + // END:com.azure.analytics.planetarycomputer.generated.data-crop-search-feature-by-format.mosaic-searches-feature-geo-json-format-crop-format + } + + // Use "Map.of" if available + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesFeatureGeoJsonWidthByHeightCropWidthByHeightFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesFeatureGeoJsonWidthByHeightCropWidthByHeightFormat.java new file mode 100644 index 000000000000..ee8fd233fd16 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesFeatureGeoJsonWidthByHeightCropWidthByHeightFormat.java @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +public class MosaicSearchesFeatureGeoJsonWidthByHeightCropWidthByHeightFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-crop-search-feature-width-by-height.mosaic-searches-feature-geo-json-width-by-height-crop-width-by-height-format + BinaryData response = dataClient.cropSearchFeatureWidthByHeight("ba13fc7947b9b585690d84ee61aaa653", 256, 256, + "png", + new Feature(new Polygon().setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.3906, 33.6714), + Arrays.asList(-84.3814, 33.6714), Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), + Arrays.asList(-84.3906, 33.6714)))), FeatureType.FEATURE).setProperties(mapOf()), + null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-crop-search-feature-width-by-height.mosaic-searches-feature-geo-json-width-by-height-crop-width-by-height-format + } + + // Use "Map.of" if available + @SuppressWarnings("unchecked") + private static Map mapOf(Object... inputs) { + Map map = new HashMap<>(); + for (int i = 0; i < inputs.length; i += 2) { + String key = (String) inputs[i]; + T value = (T) inputs[i + 1]; + map.put(key, value); + } + return map; + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerAvailableAssetsGetAll.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesInfoSearchGet.java similarity index 72% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerAvailableAssetsGetAll.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesInfoSearchGet.java index 9684f24e2254..c8a06376dc48 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerAvailableAssetsGetAll.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesInfoSearchGet.java @@ -6,18 +6,18 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TilerStacSearchRegistration; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; -import java.util.List; -public class TilerAvailableAssetsGetAll { +public class MosaicSearchesInfoSearchGet { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-list-available-assets.tiler-available-assets-get-all - List response = dataClient.listAvailableAssets("naip-atl", "ga_m_3308421_se_16_060_20211114"); - // END:com.azure.analytics.planetarycomputer.generated.data-list-available-assets.tiler-available-assets-get-all + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-info.mosaic-searches-info-search-get + TilerStacSearchRegistration response = dataClient.getSearchInfo("ba13fc7947b9b585690d84ee61aaa653"); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-info.mosaic-searches-info-search-get } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesPointGetPoint.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesPointGetPoint.java new file mode 100644 index 000000000000..345f06a97758 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesPointGetPoint.java @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TilerCoreModelsResponsesPoint; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicSearchesPointGetPoint { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-point.mosaic-searches-point-get-point + TilerCoreModelsResponsesPoint response = dataClient.getSearchPoint("ba13fc7947b9b585690d84ee61aaa653", -84.386, + 33.676, null, null, null, null, null, null, null, null, null, null, null, null, Arrays.asList("image"), + null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-point.mosaic-searches-point-get-point + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsAssetsForPointsGetPointAssets.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesPointWithAssetsGetPointAssets.java similarity index 68% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsAssetsForPointsGetPointAssets.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesPointWithAssetsGetPointAssets.java index 60f93de5aca4..9dde8074c2e6 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsAssetsForPointsGetPointAssets.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesPointWithAssetsGetPointAssets.java @@ -11,15 +11,15 @@ import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.List; -public class MosaicsAssetsForPointsGetPointAssets { +public class MosaicSearchesPointWithAssetsGetPointAssets { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-assets-for-point.mosaics-assets-for-points-get-point-assets - List response = dataClient.getMosaicsAssetsForPoint("ba13fc7947b9b585690d84ee61aaa653", - -84.43202751899601, 33.63964763972227, 100, 100, 30, true, true, "EPSG:4326"); - // END:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-assets-for-point.mosaics-assets-for-points-get-point-assets + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-point-with-assets.mosaic-searches-point-with-assets-get-point-assets + List response = dataClient.getSearchPointWithAssets("ba13fc7947b9b585690d84ee61aaa653", + -122.4194, 37.7749, null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-point-with-assets.mosaic-searches-point-with-assets-get-point-assets } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileJsonGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileJsonGet.java new file mode 100644 index 000000000000..789e5e466adc --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileJsonGet.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TileJsonMetadata; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicSearchesTileJsonGet { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-json.mosaic-searches-tile-json-get + TileJsonMetadata response + = dataClient.getSearchTileJson("ba13fc7947b9b585690d84ee61aaa653", null, Arrays.asList("image"), null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-json.mosaic-searches-tile-json-get + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsFormatGetZxyByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsFormatGetZxyByFormat.java new file mode 100644 index 000000000000..3c214f4f3669 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsFormatGetZxyByFormat.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicSearchesTileMatrixSetsFormatGetZxyByFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-by-format.mosaic-searches-tile-matrix-sets-format-get-zxy-by-format + BinaryData response = dataClient.getSearchTileByFormat("ba13fc7947b9b585690d84ee61aaa653", "WebMercatorQuad", + 13.0, 2174.0, 3282.0, "png", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, + Arrays.asList("image|1,2,3"), null, null, null, WarpKernelResampling.NEAREST, null, null, null, null, null, + null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST, null, null, 1, + null, null, "naip-atl", null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-by-format.mosaic-searches-tile-matrix-sets-format-get-zxy-by-format + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsGetZxyScaleByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsGetZxyScaleByFormat.java new file mode 100644 index 000000000000..674462f5d99e --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsGetZxyScaleByFormat.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicSearchesTileMatrixSetsGetZxyScaleByFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-by-scale-and-format.mosaic-searches-tile-matrix-sets-get-zxy-scale-by-format + BinaryData response = dataClient.getSearchTileByScaleAndFormat("ba13fc7947b9b585690d84ee61aaa653", + "WebMercatorQuad", 13.0, 2174.0, 3282.0, 1.0, "png", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, + Arrays.asList("image|1,2,3"), null, null, null, WarpKernelResampling.NEAREST, null, null, null, null, null, + null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST, null, null, + null, null, null, null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-by-scale-and-format.mosaic-searches-tile-matrix-sets-get-zxy-scale-by-format + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsPlainGetZxy.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsPlainGetZxy.java new file mode 100644 index 000000000000..94e4caff0710 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsPlainGetZxy.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicSearchesTileMatrixSetsPlainGetZxy { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tile.mosaic-searches-tile-matrix-sets-plain-get-zxy + BinaryData response = dataClient.getSearchTile("ba13fc7947b9b585690d84ee61aaa653", "WebMercatorQuad", 13.0, + 2174.0, 3282.0, Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, + null, null, WarpKernelResampling.NEAREST, null, null, null, null, null, null, null, "epsg:4326", + "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST, null, null, TilerImageFormat.PNG, 1, + null, null, "naip-atl", null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tile.mosaic-searches-tile-matrix-sets-plain-get-zxy + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsScaleGetZxyByScale.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsScaleGetZxyByScale.java new file mode 100644 index 000000000000..99b78bf9a8b7 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsScaleGetZxyByScale.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicSearchesTileMatrixSetsScaleGetZxyByScale { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-by-scale.mosaic-searches-tile-matrix-sets-scale-get-zxy-by-scale + BinaryData response = dataClient.getSearchTileByScale("ba13fc7947b9b585690d84ee61aaa653", "WebMercatorQuad", + 13.0, 2174.0, 3282.0, 1.0, Arrays.asList(1, 2, 3), Arrays.asList("image"), null, + Arrays.asList("image|1,2,3"), null, null, null, WarpKernelResampling.NEAREST, null, null, null, null, null, + null, null, "epsg:4326", "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST, null, null, + TilerImageFormat.PNG, null, null, "naip-atl", null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-by-scale.mosaic-searches-tile-matrix-sets-scale-get-zxy-by-scale + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsTileJsonGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsTileJsonGet.java new file mode 100644 index 000000000000..ef82b6f7848f --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileMatrixSetsTileJsonGet.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.SelMethod; +import com.azure.analytics.planetarycomputer.models.TileJsonMetadata; +import com.azure.analytics.planetarycomputer.models.WarpKernelResampling; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicSearchesTileMatrixSetsTileJsonGet { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-json-by-tms.mosaic-searches-tile-matrix-sets-tile-json-get + TileJsonMetadata response = dataClient.getSearchTileJsonByTms("ba13fc7947b9b585690d84ee61aaa653", + "WebMercatorQuad", Arrays.asList(1, 2, 3), Arrays.asList("image"), null, Arrays.asList("image|1,2,3"), null, + null, null, WarpKernelResampling.NEAREST, null, null, null, null, null, null, null, "epsg:4326", + "2024-01-01T00:00:00Z", Arrays.asList("band=1"), SelMethod.NEAREST, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, 2); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-json-by-tms.mosaic-searches-tile-matrix-sets-tile-json-get + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileSetListGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileSetListGet.java new file mode 100644 index 000000000000..d72f2a00ed7f --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileSetListGet.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TileSetList; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +public class MosaicSearchesTileSetListGet { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tilesets.mosaic-searches-tile-set-list-get + TileSetList response + = dataClient.getSearchTilesets("ba13fc7947b9b585690d84ee61aaa653", null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tilesets.mosaic-searches-tile-set-list-get + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileSetMetadataGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileSetMetadataGet.java new file mode 100644 index 000000000000..91566237830d --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTileSetMetadataGet.java @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TileSetMetadata; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +public class MosaicSearchesTileSetMetadataGet { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tileset-metadata.mosaic-searches-tile-set-metadata-get + TileSetMetadata response = dataClient.getSearchTilesetMetadata("ba13fc7947b9b585690d84ee61aaa653", + "WebMercatorQuad", null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tileset-metadata.mosaic-searches-tile-set-metadata-get + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsTileMatrixSetsGetZxyScaleByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesFormatGetZxyByFormat.java similarity index 61% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsTileMatrixSetsGetZxyScaleByFormat.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesFormatGetZxyByFormat.java index 60858746b0ae..8f9c7d8babec 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicsTileMatrixSetsGetZxyScaleByFormat.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesFormatGetZxyByFormat.java @@ -6,24 +6,22 @@ import com.azure.analytics.planetarycomputer.DataClient; import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.GetMosaicTileOptions; import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import java.util.Arrays; -public class MosaicsTileMatrixSetsGetZxyScaleByFormat { +public class MosaicSearchesTilesFormatGetZxyByFormat { public static void main(String[] args) { DataClient dataClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-tile.mosaics-tile-matrix-sets-get-zxy-scale-by-format - BinaryData response = dataClient.getMosaicsTile("ba13fc7947b9b585690d84ee61aaa653", "WebMercatorQuad", 13.0, - 2174.0, 3282.0, 1.0, "png", - new GetMosaicTileOptions().setAssets(Arrays.asList("image")) - .setAssetBandIndices("image|1,2,3") - .setCollection("naip-atl")); - // END:com.azure.analytics.planetarycomputer.generated.data-get-mosaics-tile.mosaics-tile-matrix-sets-get-zxy-scale-by-format + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-no-tms-by-format.mosaic-searches-tiles-format-get-zxy-by-format + BinaryData response = dataClient.getSearchTileNoTmsByFormat("ba13fc7947b9b585690d84ee61aaa653", 13.0, 2174.0, + 3282.0, "png", null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, 1, null, null, null, null, null, null, null, + null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-no-tms-by-format.mosaic-searches-tiles-format-get-zxy-by-format } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesGetZxyScaleByFormat.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesGetZxyScaleByFormat.java new file mode 100644 index 000000000000..23c14c9de33c --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesGetZxyScaleByFormat.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicSearchesTilesGetZxyScaleByFormat { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-no-tms-by-scale-and-format.mosaic-searches-tiles-get-zxy-scale-by-format + BinaryData response = dataClient.getSearchTileNoTmsByScaleAndFormat("ba13fc7947b9b585690d84ee61aaa653", 13.0, + 2174.0, 3282.0, 1.0, "png", null, Arrays.asList("image"), null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-no-tms-by-scale-and-format.mosaic-searches-tiles-get-zxy-scale-by-format + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesPlainGetZxy.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesPlainGetZxy.java new file mode 100644 index 000000000000..cf13676b9332 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesPlainGetZxy.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicSearchesTilesPlainGetZxy { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-no-tms.mosaic-searches-tiles-plain-get-zxy + BinaryData response = dataClient.getSearchTileNoTms("ba13fc7947b9b585690d84ee61aaa653", 13.0, 2174.0, 3282.0, + null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, TilerImageFormat.PNG, 1, null, null, null, null, null, null, null, + null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-no-tms.mosaic-searches-tiles-plain-get-zxy + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesScaleGetZxyByScale.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesScaleGetZxyByScale.java new file mode 100644 index 000000000000..ae80b9d96399 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesTilesScaleGetZxyByScale.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.analytics.planetarycomputer.models.TilerImageFormat; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; +import java.util.Arrays; + +public class MosaicSearchesTilesScaleGetZxyByScale { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-no-tms-by-scale.mosaic-searches-tiles-scale-get-zxy-by-scale + BinaryData response = dataClient.getSearchTileNoTmsByScale("ba13fc7947b9b585690d84ee61aaa653", 13.0, 2174.0, + 3282.0, 1.0, null, Arrays.asList("image"), null, null, null, null, null, null, null, null, null, null, null, + null, null, null, null, null, null, null, null, null, TilerImageFormat.PNG, null, null, null, null, null, + null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-tile-no-tms-by-scale.mosaic-searches-tiles-scale-get-zxy-by-scale + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesWmtsGetCapabilitiesXml.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesWmtsGetCapabilitiesXml.java new file mode 100644 index 000000000000..3a9d92cde7c1 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesWmtsGetCapabilitiesXml.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +public class MosaicSearchesWmtsGetCapabilitiesXml { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-wmts-capabilities.mosaic-searches-wmts-get-capabilities-xml + byte[] response = dataClient.getSearchWmtsCapabilities("ba13fc7947b9b585690d84ee61aaa653", null, null, null, + null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-wmts-capabilities.mosaic-searches-wmts-get-capabilities-xml + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesWmtsTileMatrixSetsGetCapabilitiesXml.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesWmtsTileMatrixSetsGetCapabilitiesXml.java new file mode 100644 index 000000000000..5de4c5247111 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/MosaicSearchesWmtsTileMatrixSetsGetCapabilitiesXml.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.analytics.planetarycomputer.generated; + +import com.azure.analytics.planetarycomputer.DataClient; +import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; +import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; + +public class MosaicSearchesWmtsTileMatrixSetsGetCapabilitiesXml { + public static void main(String[] args) { + DataClient dataClient + = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) + .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) + .buildDataClient(); + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-search-wmts-capabilities-by-tms.mosaic-searches-wmts-tile-matrix-sets-get-capabilities-xml + byte[] response = dataClient.getSearchWmtsCapabilitiesByTms("ba13fc7947b9b585690d84ee61aaa653", + "WebMercatorQuad", null, null, null, null, null, null, null, null, null, null, null, null); + // END:com.azure.analytics.planetarycomputer.generated.data-get-search-wmts-capabilities-by-tms.mosaic-searches-wmts-tile-matrix-sets-get-capabilities-xml + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/SasGetSign.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/SasGetSign.java index 1ca98fbc3b4e..ca1e6a81e98f 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/SasGetSign.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/SasGetSign.java @@ -16,10 +16,10 @@ public static void main(String[] args) { = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildSharedAccessSignatureClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.shared-access-signature-get-sign.sas-get-sign - SharedAccessSignatureSignedLink response = sharedAccessSignatureClient.getSign( + // BEGIN:com.azure.analytics.planetarycomputer.generated.shared-access-signature-get-url.sas-get-sign + SharedAccessSignatureSignedLink response = sharedAccessSignatureClient.getUrl( "https://SANITIZED.blob.core.windows.net/naip-atl-00000000/collection-assets/thumbnail/thumbnail.png", null); - // END:com.azure.analytics.planetarycomputer.generated.shared-access-signature-get-sign.sas-get-sign + // END:com.azure.analytics.planetarycomputer.generated.shared-access-signature-get-url.sas-get-sign } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionMosaicsGetAll.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionMosaicsGetAll.java index 954e01939a01..50f91956b603 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionMosaicsGetAll.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionMosaicsGetAll.java @@ -17,8 +17,8 @@ public static void main(String[] args) { = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildStacClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-list-mosaics.stac-collection-mosaics-get-all - List response = stacClient.listMosaics("naip-atl"); - // END:com.azure.analytics.planetarycomputer.generated.stac-list-mosaics.stac-collection-mosaics-get-all + // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-get-mosaics.stac-collection-mosaics-get-all + List response = stacClient.getMosaics("naip-atl"); + // END:com.azure.analytics.planetarycomputer.generated.stac-get-mosaics.stac-collection-mosaics-get-all } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionRenderOptionsGetAll.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionRenderOptionsGetAll.java index 0e8219d064f3..3e0747852b02 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionRenderOptionsGetAll.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionRenderOptionsGetAll.java @@ -17,8 +17,8 @@ public static void main(String[] args) { = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildStacClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-list-render-options.stac-collection-render-options-get-all - List response = stacClient.listRenderOptions("naip-atl"); - // END:com.azure.analytics.planetarycomputer.generated.stac-list-render-options.stac-collection-render-options-get-all + // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-get-render-options.stac-collection-render-options-get-all + List response = stacClient.getRenderOptions("naip-atl"); + // END:com.azure.analytics.planetarycomputer.generated.stac-get-render-options.stac-collection-render-options-get-all } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionsCreate.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionsCreate.java index 2963f4583a82..9513ad95431d 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionsCreate.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionsCreate.java @@ -11,9 +11,11 @@ import com.azure.analytics.planetarycomputer.models.StacCollectionTemporalExtent; import com.azure.analytics.planetarycomputer.models.StacExtensionExtent; import com.azure.analytics.planetarycomputer.models.StacExtensionSpatialExtent; +import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.core.util.polling.SyncPoller; import com.azure.identity.DefaultAzureCredentialBuilder; +import java.nio.charset.StandardCharsets; import java.time.OffsetDateTime; import java.util.Arrays; import java.util.HashMap; @@ -36,7 +38,8 @@ public static void main(String[] args) { .setStacVersion("1.0.0") .setTitle("Test Partition Type Collection") .setType("Collection") - .setAdditionalProperties(mapOf("id", "test-partition-type-collection"))); + .setAdditionalProperties(mapOf("id", BinaryData + .fromBytes("test-partition-type-collection".getBytes(StandardCharsets.UTF_8))))); // END:com.azure.analytics.planetarycomputer.generated.stac-create-collection.stac-collections-create } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionsCreateOrReplace.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionsReplace.java similarity index 87% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionsCreateOrReplace.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionsReplace.java index 4f6cdf99ee85..fa51bf44c57a 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionsCreateOrReplace.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacCollectionsReplace.java @@ -12,21 +12,23 @@ import com.azure.analytics.planetarycomputer.models.StacExtensionSpatialExtent; import com.azure.analytics.planetarycomputer.models.StacLink; import com.azure.analytics.planetarycomputer.models.StacLinkType; +import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; +import java.nio.charset.StandardCharsets; import java.time.OffsetDateTime; import java.util.Arrays; import java.util.HashMap; import java.util.Map; -public class StacCollectionsCreateOrReplace { +public class StacCollectionsReplace { public static void main(String[] args) { StacClient stacClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildStacClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-create-or-replace-collection.stac-collections-create-or-replace - StacCollection response = stacClient.createOrReplaceCollection("test-collection-lifecycle", new StacCollection( + // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-replace-collection.stac-collections-replace + StacCollection response = stacClient.replaceCollection("test-collection-lifecycle", new StacCollection( "Test collection for lifecycle operations - UPDATED", Arrays.asList(new StacLink().setRel("items") .setType(StacLinkType.APPLICATION_GEO_JSON) @@ -53,8 +55,9 @@ public static void main(String[] args) { .setStacVersion("1.0.0") .setTitle("Test Collection Lifecycle") .setType("Collection") - .setAdditionalProperties(mapOf("id", "test-collection-lifecycle"))); - // END:com.azure.analytics.planetarycomputer.generated.stac-create-or-replace-collection.stac-collections-create-or-replace + .setAdditionalProperties(mapOf("id", + BinaryData.fromBytes("test-collection-lifecycle".getBytes(StandardCharsets.UTF_8))))); + // END:com.azure.analytics.planetarycomputer.generated.stac-replace-collection.stac-collections-replace } // Use "Map.of" if available diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacConformanceClassGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacConformanceClassGet.java index ae4b1774a22e..fad74ae19213 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacConformanceClassGet.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacConformanceClassGet.java @@ -16,8 +16,8 @@ public static void main(String[] args) { = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildStacClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-get-conformance-class.stac-conformance-class-get - StacConformanceClasses response = stacClient.getConformanceClass(); - // END:com.azure.analytics.planetarycomputer.generated.stac-get-conformance-class.stac-conformance-class-get + // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-get-conformance-classes.stac-conformance-class-get + StacConformanceClasses response = stacClient.getConformanceClasses(); + // END:com.azure.analytics.planetarycomputer.generated.stac-get-conformance-classes.stac-conformance-class-get } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsCreate.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsCreate.java index b454c66fc82a..b4f1e875574a 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsCreate.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsCreate.java @@ -13,18 +13,17 @@ import com.azure.analytics.planetarycomputer.models.StacItemProperties; import com.azure.analytics.planetarycomputer.models.StacLink; import com.azure.analytics.planetarycomputer.models.StacLinkType; +import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.core.util.polling.SyncPoller; -import com.azure.core.util.serializer.JacksonAdapter; -import com.azure.core.util.serializer.SerializerEncoding; import com.azure.identity.DefaultAzureCredentialBuilder; -import java.io.IOException; +import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.HashMap; import java.util.Map; public class StacItemsCreate { - public static void main(String[] args) throws IOException { + public static void main(String[] args) { StacClient stacClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) @@ -41,17 +40,17 @@ public static void main(String[] args) throws IOException { Arrays.asList(-84.44157, 33.623293), Arrays.asList(-84.372943, 33.621853))))) .setCollection("naip-atl") .setBoundingBox(Arrays.asList(-84.44157, 33.621853, -84.370894, 33.690654)) - .setProperties(new StacItemProperties().setGsd(0.6D) - .setDatetime("2021-11-14T16:00:00Z") - .setAdditionalProperties(mapOf("proj:epsg", 26916, "naip:state", "ga", "proj:shape", - JacksonAdapter.createDefaultSerializerAdapter() - .deserialize("[12460,10620]", Object.class, SerializerEncoding.JSON), - "proj:transform", - JacksonAdapter.createDefaultSerializerAdapter() - .deserialize("[0.6,0,737334,0,-0.6,3730800,0,0,1]", Object.class, SerializerEncoding.JSON), - "naip:year", "2021", "proj:bbox", - JacksonAdapter.createDefaultSerializerAdapter() - .deserialize("[737334,3723324,743706,3730800]", Object.class, SerializerEncoding.JSON)))) + .setProperties( + new StacItemProperties().setGsd(0.6D) + .setDatetime("2021-11-14T16:00:00Z") + .setAdditionalProperties(mapOf("proj:epsg", + BinaryData.fromBytes("26916".getBytes(StandardCharsets.UTF_8)), "naip:state", + BinaryData.fromBytes("ga".getBytes(StandardCharsets.UTF_8)), "proj:shape", + BinaryData.fromBytes("[12460, 10620]".getBytes(StandardCharsets.UTF_8)), "proj:transform", + BinaryData + .fromBytes("[0.6, 0, 737334, 0, -0.6, 3730800, 0, 0, 1]".getBytes(StandardCharsets.UTF_8)), + "naip:year", BinaryData.fromBytes("2021".getBytes(StandardCharsets.UTF_8)), "proj:bbox", + BinaryData.fromBytes("[737334, 3723324, 743706, 3730800]".getBytes(StandardCharsets.UTF_8))))) .setAssets(mapOf("image", new StacAsset().setTitle("RGBIR COG tile") .setHref( "https://SANITIZED.blob.core.windows.net/naip/v002/ga/2021/ga_060cm_2021/33084/m_3308421_se_16_060_20211114.tif") diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsGet.java index f7f1fde88251..1104c9e42021 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsGet.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsGet.java @@ -17,7 +17,7 @@ public static void main(String[] args) { .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildStacClient(); // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-get-item.stac-items-get - StacItem response = stacClient.getItem("naip-atl", "ga_m_3308421_se_16_060_20211114_test"); + StacItem response = stacClient.getItem("naip-atl", "ga_m_3308421_se_16_060_20211114_test", null, null); // END:com.azure.analytics.planetarycomputer.generated.stac-get-item.stac-items-get } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsGetFeatures.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsGetFeatures.java index 9c77b6ed0f2b..912fee0e4b5d 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsGetFeatures.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsGetFeatures.java @@ -17,7 +17,7 @@ public static void main(String[] args) { .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildStacClient(); // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-get-item-collection.stac-items-get-features - StacItemCollection response = stacClient.getItemCollection("naip-atl", 10, null, null); + StacItemCollection response = stacClient.getItemCollection("naip-atl", 10, null, null, null, null, null); // END:com.azure.analytics.planetarycomputer.generated.stac-get-item-collection.stac-items-get-features } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsCreateOrReplace.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsReplace.java similarity index 66% rename from sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsCreateOrReplace.java rename to sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsReplace.java index 6e57ebd7fe94..359e825a2885 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsCreateOrReplace.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacItemsReplace.java @@ -13,25 +13,24 @@ import com.azure.analytics.planetarycomputer.models.StacItemProperties; import com.azure.analytics.planetarycomputer.models.StacLink; import com.azure.analytics.planetarycomputer.models.StacLinkType; +import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.core.util.polling.SyncPoller; -import com.azure.core.util.serializer.JacksonAdapter; -import com.azure.core.util.serializer.SerializerEncoding; import com.azure.identity.DefaultAzureCredentialBuilder; -import java.io.IOException; +import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.HashMap; import java.util.Map; -public class StacItemsCreateOrReplace { - public static void main(String[] args) throws IOException { +public class StacItemsReplace { + public static void main(String[] args) { StacClient stacClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildStacClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-create-or-replace-item.stac-items-create-or-replace + // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-replace-item.stac-items-replace SyncPoller response - = stacClient.beginCreateOrReplaceItem("naip-atl", "ga_m_3308421_se_16_060_20211114_replace_test", + = stacClient.beginReplaceItem("naip-atl", "ga_m_3308421_se_16_060_20211114_replace_test", new StacItem().setStacVersion("1.0.0") .setLinks(Arrays.asList(new StacLink().setRel("collection") .setType(StacLinkType.APPLICATION_JSON) @@ -43,28 +42,26 @@ public static void main(String[] args) throws IOException { Arrays.asList(-84.44157, 33.623293), Arrays.asList(-84.372943, 33.621853))))) .setCollection("naip-atl") .setBoundingBox(Arrays.asList(-84.44157, 33.621853, -84.370894, 33.690654)) - .setProperties( - new StacItemProperties().setPlatform("Imagery Updated") - .setGsd(0.6D) - .setDatetime("2021-11-14T16:00:00Z") - .setAdditionalProperties(mapOf("proj:epsg", 26916, "naip:state", "ga", "proj:shape", - JacksonAdapter.createDefaultSerializerAdapter() - .deserialize("[12460,10620]", Object.class, SerializerEncoding.JSON), - "proj:transform", - JacksonAdapter.createDefaultSerializerAdapter() - .deserialize("[0.6,0,737334,0,-0.6,3730800,0,0,1]", Object.class, - SerializerEncoding.JSON), - "processing_level", "L2", "naip:year", "2021", "proj:bbox", - JacksonAdapter.createDefaultSerializerAdapter() - .deserialize("[737334,3723324,743706,3730800]", Object.class, - SerializerEncoding.JSON)))) + .setProperties(new StacItemProperties().setPlatform("Imagery Updated") + .setGsd(0.6D) + .setDatetime("2021-11-14T16:00:00Z") + .setAdditionalProperties(mapOf("proj:epsg", + BinaryData.fromBytes("26916".getBytes(StandardCharsets.UTF_8)), "naip:state", + BinaryData.fromBytes("ga".getBytes(StandardCharsets.UTF_8)), "proj:shape", + BinaryData.fromBytes("[12460, 10620]".getBytes(StandardCharsets.UTF_8)), "proj:transform", + BinaryData.fromBytes( + "[0.6, 0, 737334, 0, -0.6, 3730800, 0, 0, 1]".getBytes(StandardCharsets.UTF_8)), + "processing_level", BinaryData.fromBytes("L2".getBytes(StandardCharsets.UTF_8)), + "naip:year", BinaryData.fromBytes("2021".getBytes(StandardCharsets.UTF_8)), "proj:bbox", + BinaryData + .fromBytes("[737334, 3723324, 743706, 3730800]".getBytes(StandardCharsets.UTF_8))))) .setAssets(mapOf("image", new StacAsset().setTitle("RGBIR COG tile") .setHref( "https://SANITIZED.blob.core.windows.net/naip/v002/ga/2021/ga_060cm_2021/33084/m_3308421_se_16_060_20211114.tif") .setType("image/tiff; application=geotiff; profile=cloud-optimized") .setRoles(Arrays.asList("data")) .setAdditionalProperties(mapOf())))); - // END:com.azure.analytics.planetarycomputer.generated.stac-create-or-replace-item.stac-items-create-or-replace + // END:com.azure.analytics.planetarycomputer.generated.stac-replace-item.stac-items-replace } // Use "Map.of" if available diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesCreate.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesCreate.java index 715d0b304410..5bc261ea6344 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesCreate.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesCreate.java @@ -8,8 +8,10 @@ import com.azure.analytics.planetarycomputer.StacClient; import com.azure.analytics.planetarycomputer.models.StacQueryable; import com.azure.analytics.planetarycomputer.models.StacQueryableDefinitionDataType; +import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; +import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.HashMap; import java.util.List; @@ -23,8 +25,10 @@ public static void main(String[] args) { .buildStacClient(); // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-create-queryables.stac-queryables-create List response = stacClient.createQueryables("naip-atl", - Arrays.asList(new StacQueryable("test:property", mapOf("data_type", "number")).setCreateIndex(false) - .setDataType(StacQueryableDefinitionDataType.NUMBER))); + Arrays.asList(new StacQueryable("test:property", + mapOf("data_type", BinaryData.fromBytes("number".getBytes(StandardCharsets.UTF_8)))) + .setCreateIndex(false) + .setDataType(StacQueryableDefinitionDataType.NUMBER))); // END:com.azure.analytics.planetarycomputer.generated.stac-create-queryables.stac-queryables-create } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesGetAll.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesGetAll.java index 3d3dda38ebcb..c0ef6eb55e60 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesGetAll.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesGetAll.java @@ -16,8 +16,8 @@ public static void main(String[] args) { = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildStacClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-list-queryables.stac-queryables-get-all - QueryableDefinitionsResponse response = stacClient.listQueryables(); - // END:com.azure.analytics.planetarycomputer.generated.stac-list-queryables.stac-queryables-get-all + // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-get-queryables.stac-queryables-get-all + QueryableDefinitionsResponse response = stacClient.getQueryables(); + // END:com.azure.analytics.planetarycomputer.generated.stac-get-queryables.stac-queryables-get-all } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesReplace.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesReplace.java index 024aa315ad65..aecb1ed7445b 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesReplace.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacQueryablesReplace.java @@ -8,8 +8,10 @@ import com.azure.analytics.planetarycomputer.StacClient; import com.azure.analytics.planetarycomputer.models.StacQueryable; import com.azure.analytics.planetarycomputer.models.StacQueryableDefinitionDataType; +import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; +import java.nio.charset.StandardCharsets; import java.util.HashMap; import java.util.Map; @@ -21,9 +23,11 @@ public static void main(String[] args) { .buildStacClient(); // BEGIN:com.azure.analytics.planetarycomputer.generated.stac-replace-queryable.stac-queryables-replace StacQueryable response = stacClient.replaceQueryable("naip-atl", "test%3Aproperty", - new StacQueryable("test:property", mapOf("data_type", "number", "description", "Test property - updated")) - .setCreateIndex(false) - .setDataType(StacQueryableDefinitionDataType.NUMBER)); + new StacQueryable("test:property", + mapOf("data_type", BinaryData.fromBytes("number".getBytes(StandardCharsets.UTF_8)), "description", + BinaryData.fromBytes("Test property - updated".getBytes(StandardCharsets.UTF_8)))) + .setCreateIndex(false) + .setDataType(StacQueryableDefinitionDataType.NUMBER)); // END:com.azure.analytics.planetarycomputer.generated.stac-replace-queryable.stac-queryables-replace } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacSearchCreate.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacSearchCreate.java index e064e04cb97e..7bd352656ff4 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacSearchCreate.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/StacSearchCreate.java @@ -11,17 +11,16 @@ import com.azure.analytics.planetarycomputer.models.StacSearchParameters; import com.azure.analytics.planetarycomputer.models.StacSearchSortingDirection; import com.azure.analytics.planetarycomputer.models.StacSortExtension; +import com.azure.core.util.BinaryData; import com.azure.core.util.Configuration; -import com.azure.core.util.serializer.JacksonAdapter; -import com.azure.core.util.serializer.SerializerEncoding; import com.azure.identity.DefaultAzureCredentialBuilder; -import java.io.IOException; +import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.HashMap; import java.util.Map; public class StacSearchCreate { - public static void main(String[] args) throws IOException { + public static void main(String[] args) { StacClient stacClient = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) @@ -32,10 +31,10 @@ public static void main(String[] args) throws IOException { .setDatetime("2021-01-01T00:00:00Z/2022-12-31T00:00:00Z") .setLimit(50) .setSortBy(Arrays.asList(new StacSortExtension("datetime", StacSearchSortingDirection.DESC))) - .setFilter(mapOf("op", "s_intersects", "args", JacksonAdapter.createDefaultSerializerAdapter() - .deserialize( - "[{\"property\":\"geometry\"},{\"type\":\"Polygon\",\"coordinates\":[[[-84.46416308610219,33.6033686729869],[-84.38815071170247,33.6033686729869],[-84.38815071170247,33.6713179813099],[-84.46416308610219,33.6713179813099],[-84.46416308610219,33.6033686729869]]]}]", - Object.class, SerializerEncoding.JSON))) + .setFilter(mapOf("op", BinaryData.fromBytes("s_intersects".getBytes(StandardCharsets.UTF_8)), "args", + BinaryData.fromBytes( + "[{property=geometry}, {type=Polygon, coordinates=[[[-84.46416308610219, 33.6033686729869], [-84.38815071170247, 33.6033686729869], [-84.38815071170247, 33.6713179813099], [-84.46416308610219, 33.6713179813099], [-84.46416308610219, 33.6033686729869]]]}]" + .getBytes(StandardCharsets.UTF_8)))) .setFilterLang(FilterLanguage.CQL2_JSON), null, null); // END:com.azure.analytics.planetarycomputer.generated.stac-search.stac-search-create } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TileMatrixListGet.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TileMatrixListGet.java index 23bc19c0ecaf..5d0e4467efdf 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TileMatrixListGet.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TileMatrixListGet.java @@ -16,8 +16,8 @@ public static void main(String[] args) { = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-list-tile-matrices.tile-matrix-list-get - List response = dataClient.listTileMatrices(); - // END:com.azure.analytics.planetarycomputer.generated.data-list-tile-matrices.tile-matrix-list-get + // BEGIN:com.azure.analytics.planetarycomputer.generated.data-get-tile-matrices.tile-matrix-list-get + List response = dataClient.getTileMatrices(); + // END:com.azure.analytics.planetarycomputer.generated.data-get-tile-matrices.tile-matrix-list-get } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerStaticImagesCreate.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerStaticImagesCreate.java deleted file mode 100644 index 2c3a24e4c44e..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/samples/java/com/azure/analytics/planetarycomputer/generated/TilerStaticImagesCreate.java +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) TypeSpec Code Generator. - -package com.azure.analytics.planetarycomputer.generated; - -import com.azure.analytics.planetarycomputer.DataClient; -import com.azure.analytics.planetarycomputer.PlanetaryComputerProClientBuilder; -import com.azure.analytics.planetarycomputer.models.ImageParameters; -import com.azure.analytics.planetarycomputer.models.ImageResponse; -import com.azure.analytics.planetarycomputer.models.Polygon; -import com.azure.core.util.Configuration; -import com.azure.core.util.serializer.JacksonAdapter; -import com.azure.core.util.serializer.SerializerEncoding; -import com.azure.identity.DefaultAzureCredentialBuilder; -import java.io.IOException; -import java.util.Arrays; -import java.util.HashMap; -import java.util.Map; - -public class TilerStaticImagesCreate { - public static void main(String[] args) throws IOException { - DataClient dataClient - = new PlanetaryComputerProClientBuilder().credential(new DefaultAzureCredentialBuilder().build()) - .endpoint(Configuration.getGlobalConfiguration().get("ENDPOINT")) - .buildDataClient(); - // BEGIN:com.azure.analytics.planetarycomputer.generated.data-create-static-image.tiler-static-images-create - ImageResponse response = dataClient.createStaticImage("naip-atl", - new ImageParameters(mapOf("op", "and", "args", JacksonAdapter.createDefaultSerializerAdapter() - .deserialize( - "[{\"op\":\"=\",\"args\":[{\"property\":\"collection\"},\"naip-atl\"]},{\"op\":\"anyinteracts\",\"args\":[{\"property\":\"datetime\"},{\"interval\":[\"2023-01-01T00:00:00Z\",\"2023-12-31T00:00:00Z\"]}]}]", - Object.class, SerializerEncoding.JSON)), - "assets=image&asset_bidx=image|1,2,3&collection=naip-atl", 1080, 1080) - .setZoom(13.0D) - .setGeometry(new Polygon() - .setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.45378097481053, 33.6567321707079), - Arrays.asList(-84.39805886744838, 33.6567321707079), - Arrays.asList(-84.39805886744838, 33.61945681366625), - Arrays.asList(-84.45378097481053, 33.61945681366625), - Arrays.asList(-84.45378097481053, 33.6567321707079))))) - .setShowBranding(false) - .setImageSize("1080x1080")); - // END:com.azure.analytics.planetarycomputer.generated.data-create-static-image.tiler-static-images-create - } - - // Use "Map.of" if available - @SuppressWarnings("unchecked") - private static Map mapOf(Object... inputs) { - Map map = new HashMap<>(); - for (int i = 0; i < inputs.length; i += 2) { - String key = (String) inputs[i]; - T value = (T) inputs[i + 1]; - map.put(key, value); - } - return map; - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/PlanetaryComputerTestBase.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/PlanetaryComputerTestBase.java index de9084cf72e3..415d54ded81c 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/PlanetaryComputerTestBase.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/PlanetaryComputerTestBase.java @@ -45,6 +45,10 @@ public class PlanetaryComputerTestBase extends TestProxyTestBase { protected StacClient stacClient; protected DataClient dataClient; protected SharedAccessSignatureClient sharedAccessSignatureClient; + protected IngestionAsyncClient ingestionAsyncClient; + protected StacAsyncClient stacAsyncClient; + protected DataAsyncClient dataAsyncClient; + protected SharedAccessSignatureAsyncClient sharedAccessSignatureAsyncClient; protected PlanetaryComputerTestEnvironment testEnvironment; private boolean sanitizersApplied = false; @@ -86,6 +90,17 @@ protected void beforeTest() { configureClientAuthentication(sasClientBuilder); sharedAccessSignatureClient = sasClientBuilder.buildSharedAccessSignatureClient(); + + // Build Async Clients (reuse same builder patterns) + PlanetaryComputerProClientBuilder asyncBuilder = new PlanetaryComputerProClientBuilder().endpoint(endpoint) + .httpClient(getHttpClientOrUsePlayback(getHttpClients().findFirst().orElse(null))) + .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BASIC)); + + configureClientAuthentication(asyncBuilder); + ingestionAsyncClient = asyncBuilder.buildIngestionAsyncClient(); + stacAsyncClient = asyncBuilder.buildStacAsyncClient(); + dataAsyncClient = asyncBuilder.buildDataAsyncClient(); + sharedAccessSignatureAsyncClient = asyncBuilder.buildSharedAccessSignatureAsyncClient(); } private void configureClientAuthentication(PlanetaryComputerProClientBuilder builder) { diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/PlanetaryComputerTestEnvironment.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/PlanetaryComputerTestEnvironment.java index 3cfd78193422..b8fc475b9742 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/PlanetaryComputerTestEnvironment.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/PlanetaryComputerTestEnvironment.java @@ -21,21 +21,21 @@ public PlanetaryComputerTestEnvironment() { */ public String getEndpoint() { return configuration.get("PLANETARYCOMPUTER_ENDPOINT", - "https://test-accessibility.h5d5a9crhnc8deaz.uksouth.geocatalog.spatio.azure.com"); + "https://emiliod-test.dqfjg4bffwadc9fq.uksouth.geocatalog.spatio.azure.com"); } /** * Get the test collection ID. */ public String getCollectionId() { - return configuration.get("PLANETARYCOMPUTER_COLLECTION_ID", "naip-sample-dataset-1.0.0"); + return configuration.get("PLANETARYCOMPUTER_COLLECTION_ID", "naip"); } /** * Get the test item ID. */ public String getItemId() { - return configuration.get("PLANETARYCOMPUTER_ITEM_ID", "va_m_3807708_sw_18_060_20231113_20240103"); + return configuration.get("PLANETARYCOMPUTER_ITEM_ID", "ga_m_3308421_se_16_060_20211114"); } /** diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01aStacCollectionTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01aStacCollectionTests.java index c65ce2c158a1..9db89601ef97 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01aStacCollectionTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01aStacCollectionTests.java @@ -87,7 +87,7 @@ public void test01_02_GetConformanceClass() { System.out.println("Testing getConformanceClass"); // Act - StacConformanceClasses conformance = stacClient.getConformanceClass(); + StacConformanceClasses conformance = stacClient.getConformanceClasses(); // Assert assertNotNull(conformance, "Conformance should not be null"); @@ -205,7 +205,7 @@ public void test01_05_ListRenderOptions() { System.out.println("Testing listRenderOptions for collection: " + collectionId); // Act - List renderOptions = stacClient.listRenderOptions(collectionId); + List renderOptions = stacClient.getRenderOptions(collectionId); // Assert assertNotNull(renderOptions, "RenderOptions should not be null"); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01bStacCollectionTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01bStacCollectionTests.java index 9c966412d8c4..c0eb2c7eac34 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01bStacCollectionTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01bStacCollectionTests.java @@ -70,7 +70,7 @@ public void test01_07_ListMosaics() { System.out.println("Testing listMosaics for collection: " + collectionId); // Act - List mosaics = stacClient.listMosaics(collectionId); + List mosaics = stacClient.getMosaics(collectionId); // Assert assertNotNull(mosaics, "Mosaics should not be null"); @@ -150,7 +150,7 @@ public void test01_09_ListQueryables() { System.out.println("Testing getQueryables (global queryables)"); // Act - Using protocol method for raw JSON response - Response response = stacClient.listQueryablesWithResponse(new RequestOptions()); + Response response = stacClient.getQueryablesWithResponse(new RequestOptions()); // Assert assertNotNull(response, "Response should not be null"); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01eStacCollectionTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01eStacCollectionTests.java index 3a5f7a541910..14772ee86c4c 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01eStacCollectionTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01eStacCollectionTests.java @@ -3,6 +3,8 @@ package com.azure.analytics.planetarycomputer; +import com.azure.core.util.BinaryData; + import com.azure.analytics.planetarycomputer.models.StacMosaic; import com.azure.core.exception.HttpResponseException; import org.junit.jupiter.api.Test; @@ -45,7 +47,7 @@ public void test01_15_AddMosaic() { // Create mosaic StacMosaic mosaic - = new StacMosaic("test-mosaic-1", "Test Most recent available", new ArrayList>()); + = new StacMosaic("test-mosaic-1", "Test Most recent available", new ArrayList>()); // Act StacMosaic createdMosaic = stacClient.addMosaic(collectionId, mosaic); @@ -72,7 +74,7 @@ public void test01_16_GetMosaic() { // First create the mosaic (matching recording) StacMosaic createMosaic - = new StacMosaic("mosaic-get-3945", "Test Mosaic for Get", new ArrayList>()); + = new StacMosaic("mosaic-get-3945", "Test Mosaic for Get", new ArrayList>()); stacClient.addMosaic(collectionId, createMosaic); // Act @@ -104,12 +106,12 @@ public void test01_17_ReplaceMosaic() { // First create the mosaic (matching recording) StacMosaic createMosaic - = new StacMosaic("mosaic-rep-5643", "Test Mosaic Original", new ArrayList>()); + = new StacMosaic("mosaic-rep-5643", "Test Mosaic Original", new ArrayList>()); stacClient.addMosaic(collectionId, createMosaic); // Create updated mosaic StacMosaic mosaic - = new StacMosaic("mosaic-rep-5643", "Test Mosaic Updated", new ArrayList>()); + = new StacMosaic("mosaic-rep-5643", "Test Mosaic Updated", new ArrayList>()); // Act StacMosaic updatedMosaic = stacClient.replaceMosaic(collectionId, "mosaic-rep-5643", mosaic); @@ -140,8 +142,8 @@ public void test01_17a_DeleteMosaic() { System.out.println("Testing deleteMosaic for collection: " + collectionId); // Create a mosaic to be deleted - StacMosaic mosaic - = new StacMosaic("test-mosaic-delete", "Test Mosaic To Be Deleted", new ArrayList>()); + StacMosaic mosaic = new StacMosaic("test-mosaic-delete", "Test Mosaic To Be Deleted", + new ArrayList>()); System.out.println("Creating mosaic for deletion"); stacClient.addMosaic(collectionId, mosaic); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01fStacQueryableTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01fStacQueryableTests.java new file mode 100644 index 000000000000..6196743fb5d5 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01fStacQueryableTests.java @@ -0,0 +1,92 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer; + +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Tests for STAC Queryable CRUD operations (Group 01f). + * Covers: createQueryables, replaceQueryable, deleteQueryable. + * Python equivalent: planetary_computer_00_stac_collection.py (manage_queryables) + * JS equivalent: 00_stacCollection.spec.ts (should create, replace, and delete a queryable) + */ +@Tag("STAC") +@Tag("Queryables") +public class TestPlanetaryComputer01fStacQueryableTests extends PlanetaryComputerTestBase { + + private static final String TEST_QUERYABLE_NAME = "test:cloud_cover_java"; + + /** + * Safely try to delete a test queryable (ignore if not found). + */ + private void tryDeleteQueryable(StacClient stacClient, String collectionId, String queryableName) { + try { + stacClient.deleteQueryable(collectionId, queryableName); + } catch (Exception ex) { + // Queryable may not exist + } + } + + /** + * Test creating, replacing, and deleting a queryable. + * Python equivalent: manage_queryables + * JS equivalent: should create, replace, and delete a queryable + */ + @Test + @Tag("QueryableCRUD") + public void test01_18_CreateReplaceDeleteQueryable() { + StacClient stacClient = getStacClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Collection: " + collectionId); + System.out.println("Queryable name: " + TEST_QUERYABLE_NAME); + + // Clean up if queryable exists + tryDeleteQueryable(stacClient, collectionId, TEST_QUERYABLE_NAME); + + // Step 1: Create queryable - use protocol method for precise JSON control + String createBody = "[{\"name\":\"" + TEST_QUERYABLE_NAME + + "\",\"definition\":{\"type\":\"number\"},\"data_type\":\"number\",\"create_index\":false}]"; + + System.out.println("Calling: createQueryables(...)"); + com.azure.core.http.rest.Response createResponse = stacClient.createQueryablesWithResponse( + collectionId, BinaryData.fromString(createBody), new com.azure.core.http.rest.RequestOptions()); + + assertNotNull(createResponse, "Create response should not be null"); + assertTrue(createResponse.getStatusCode() >= 200 && createResponse.getStatusCode() < 300); + System.out.println("Queryable(s) created"); + + // Step 2: Replace queryable with description - use protocol method + String replaceBody = "{\"name\":\"" + TEST_QUERYABLE_NAME + + "\",\"definition\":{\"type\":\"number\",\"description\":\"Cloud cover percentage\"},\"data_type\":\"number\",\"create_index\":false}"; + + System.out.println("Calling: replaceQueryable(...)"); + com.azure.core.http.rest.Response replaceResponse + = stacClient.replaceQueryableWithResponse(collectionId, TEST_QUERYABLE_NAME, + BinaryData.fromString(replaceBody), new com.azure.core.http.rest.RequestOptions()); + + assertNotNull(replaceResponse, "Replace response should not be null"); + assertTrue(replaceResponse.getStatusCode() >= 200 && replaceResponse.getStatusCode() < 300); + System.out.println("Queryable replaced successfully"); + + // Step 3: Delete queryable + System.out.println("Calling: deleteQueryable(...)"); + stacClient.deleteQueryable(collectionId, TEST_QUERYABLE_NAME); + + // Verify deletion - queryable should no longer appear in collection queryables + Response queryablesResponse + = stacClient.getCollectionQueryablesWithResponse(collectionId, new RequestOptions()); + String responseJson = queryablesResponse.getValue().toString(); + assertFalse(responseJson.contains(TEST_QUERYABLE_NAME), + "Deleted queryable should not appear in collection queryables"); + + System.out.println("Queryable '" + TEST_QUERYABLE_NAME + "' deleted and verified successfully"); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01gMiscStacTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01gMiscStacTests.java new file mode 100644 index 000000000000..6acb8a8ce791 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer01gMiscStacTests.java @@ -0,0 +1,157 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer; + +import com.azure.analytics.planetarycomputer.models.PartitionType; +import com.azure.analytics.planetarycomputer.models.StacItemCollection; +import com.azure.analytics.planetarycomputer.models.TileSettings; +import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Tests for miscellaneous operations not covered in other test files. + * Covers: getLandingPage, replaceTileSettings, replacePartitionType, spatial CQL2 search. + * Python equivalent: planetary_computer_00_stac_collection.py (manage_tile_settings, manage_partition_type) + * JS equivalent: 00_stacCollection.spec.ts (replaceTileSettings) + */ +@Tag("STAC") +public class TestPlanetaryComputer01gMiscStacTests extends PlanetaryComputerTestBase { + + /** + * Test getting the STAC landing page. + * Python equivalent: get_landing_page + */ + @Test + @Tag("LandingPage") + public void test01_19_GetLandingPage() { + StacClient stacClient = getStacClient(); + + System.out.println("Testing getLandingPage"); + + // The landing page endpoint may return 307 redirect on some geocatalog instances. + // Use protocol method and handle both success and redirect cases. + try { + com.azure.core.http.rest.Response response + = stacClient.getLandingPageWithResponse(new com.azure.core.http.rest.RequestOptions()); + + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 400, + "Should get successful response, got: " + response.getStatusCode()); + System.out.println("Landing page response status: " + response.getStatusCode()); + } catch (com.azure.core.exception.HttpResponseException ex) { + // Accept 307 as valid — the landing page exists but redirects to /stac + if (ex.getResponse().getStatusCode() == 307) { + System.out.println("Landing page returned 307 redirect (expected on some endpoints)"); + } else { + throw ex; + } + } + + System.out.println("Landing page test completed successfully"); + } + + /** + * Test replacing tile settings. + * Python equivalent: manage_tile_settings + * JS equivalent: should replace tile settings + */ + @Test + @Tag("TileSettings") + public void test01_20_ReplaceTileSettings() { + StacClient stacClient = getStacClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing replaceTileSettings for collection: " + collectionId); + + // Get current settings first + TileSettings currentSettings = stacClient.getTileSettings(collectionId); + assertNotNull(currentSettings, "Current tile settings should not be null"); + + System.out.println("Current maxItemsPerTile: " + currentSettings.getMaxItemsPerTile()); + System.out.println("Current minZoom: " + currentSettings.getMinZoom()); + + // Replace with new settings (matching Python/JS test values) + TileSettings newSettings = new TileSettings(6, 35); + + TileSettings replaced = stacClient.replaceTileSettings(collectionId, newSettings); + + assertNotNull(replaced, "Replaced tile settings should not be null"); + assertEquals(35, replaced.getMaxItemsPerTile(), "maxItemsPerTile should be 35"); + assertEquals(6, replaced.getMinZoom(), "minZoom should be 6"); + + System.out.println("Tile settings replaced: maxItemsPerTile=" + replaced.getMaxItemsPerTile() + ", minZoom=" + + replaced.getMinZoom()); + System.out.println("Tile settings replaced successfully"); + } + + /** + * Test replacing partition type. + * Python equivalent: manage_partition_type + */ + @Test + @Tag("PartitionType") + public void test01_21_GetPartitionType() { + StacClient stacClient = getStacClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing getPartitionType for collection: " + collectionId); + + PartitionType partitionType = stacClient.getPartitionType(collectionId); + + assertNotNull(partitionType, "Partition type should not be null"); + assertNotNull(partitionType.getScheme(), "Partition type scheme should not be null"); + + System.out.println("Partition type scheme: " + partitionType.getScheme()); + System.out.println("Partition type retrieved successfully"); + } + + /** + * Test searching items with spatial CQL2-JSON filter. + * Python equivalent: search_items (CQL2 s_intersects filter) + * JS equivalent: should search items with spatial filter (CQL2-JSON) + */ + @Test + @Tag("Search") + public void test04_17_SearchItemsWithSpatialFilter() { + StacClient stacClient = getStacClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing search with spatial CQL2-JSON filter"); + + // Use protocol method with raw JSON for precise filter control + String filterJson = "{\"op\":\"s_intersects\",\"args\":[" + "{\"property\":\"geometry\"}," + + "{\"type\":\"Polygon\",\"coordinates\":[[[-84.45,33.60],[-84.30,33.60],[-84.30,33.75],[-84.45,33.75],[-84.45,33.60]]]}" + + "]}"; + + String searchBody = "{\"collections\":[\"" + collectionId + "\"]," + "\"filter\":" + filterJson + "," + + "\"filter-lang\":\"cql2-json\"," + "\"datetime\":\"2021-01-01T00:00:00Z/2022-12-31T00:00:00Z\"," + + "\"sortby\":[{\"field\":\"datetime\",\"direction\":\"desc\"}]," + "\"limit\":50}"; + + com.azure.core.http.rest.Response response = stacClient + .searchWithResponse(BinaryData.fromString(searchBody), new com.azure.core.http.rest.RequestOptions()); + + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + + StacItemCollection results = response.getValue().toObject(StacItemCollection.class); + + assertNotNull(results, "Search results should not be null"); + assertNotNull(results.getFeatures(), "Features should not be null"); + assertTrue(results.getFeatures().size() >= 1, + String.format("Expected at least 1 item in spatial search, got %d", results.getFeatures().size())); + + System.out.println("Spatial search returned " + results.getFeatures().size() + " items"); + + // Verify first item has expected properties + if (results.getFeatures().size() > 0) { + assertNotNull(results.getFeatures().get(0).getId(), "First item should have an ID"); + assertEquals(collectionId, results.getFeatures().get(0).getCollection(), "Item collection should match"); + } + + System.out.println("Spatial CQL2-JSON search completed successfully"); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer02cIngestionManagementTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer02cIngestionManagementTests.java index 5cd41164b338..ed75b3b6c304 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer02cIngestionManagementTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer02cIngestionManagementTests.java @@ -44,7 +44,8 @@ public void test02_09_DeleteIngestionSource() { // Create a source first SharedAccessSignatureTokenIngestionSource sourceDefinition = new SharedAccessSignatureTokenIngestionSource( - "00000000-0000-0000-0000-000000000000", new SharedAccessSignatureTokenConnection(uniqueContainerUri)); + "00000000-0000-0000-0000-000000000000", new SharedAccessSignatureTokenConnection(uniqueContainerUri) + .setSharedAccessSignatureToken(testEnvironment.getIngestionSasToken())); IngestionSource createdSource = ingestionClient.createSource(sourceDefinition); String sourceId = createdSource.getId(); @@ -145,7 +146,8 @@ public void test02_12_GetSource() { // Create a source SharedAccessSignatureTokenIngestionSource sourceDefinition = new SharedAccessSignatureTokenIngestionSource( - "00000000-0000-0000-0000-000000000000", new SharedAccessSignatureTokenConnection(uniqueContainerUri)); + "00000000-0000-0000-0000-000000000000", new SharedAccessSignatureTokenConnection(uniqueContainerUri) + .setSharedAccessSignatureToken(testEnvironment.getIngestionSasToken())); IngestionSource createdSource = ingestionClient.createSource(sourceDefinition); String sourceId = createdSource.getId(); @@ -186,15 +188,17 @@ public void test02_13_ReplaceSource() { // Create initial source SharedAccessSignatureTokenIngestionSource sourceDefinition = new SharedAccessSignatureTokenIngestionSource( - "00000000-0000-0000-0000-000000000000", new SharedAccessSignatureTokenConnection(uniqueContainerUri)); + "00000000-0000-0000-0000-000000000000", new SharedAccessSignatureTokenConnection(uniqueContainerUri) + .setSharedAccessSignatureToken(testEnvironment.getIngestionSasToken())); IngestionSource createdSource = ingestionClient.createSource(sourceDefinition); String sourceId = createdSource.getId(); System.out.println("Created initial source with ID: " + sourceId); - // First replacement - with same SAS token (testing update mechanism) + // First replacement - use actual sourceId in body SharedAccessSignatureTokenIngestionSource replacementSource1 = new SharedAccessSignatureTokenIngestionSource( - "00000000-0000-0000-0000-000000000000", new SharedAccessSignatureTokenConnection(uniqueContainerUri)); + sourceId, new SharedAccessSignatureTokenConnection(uniqueContainerUri) + .setSharedAccessSignatureToken(testEnvironment.getIngestionSasToken())); // Act - First replacement IngestionSource replaced1 = ingestionClient.replaceSource(sourceId, replacementSource1); @@ -206,10 +210,11 @@ public void test02_13_ReplaceSource() { System.out.println("First replacement successful:"); System.out.println(" - ID: " + replaced1.getId()); - // Second replacement - with updated SAS token (simulating token refresh) + // Second replacement - use actual sourceId in body String updatedContainerUri = containerUri + "/" + UUID.randomUUID().toString(); SharedAccessSignatureTokenIngestionSource replacementSource2 = new SharedAccessSignatureTokenIngestionSource( - "00000000-0000-0000-0000-000000000000", new SharedAccessSignatureTokenConnection(updatedContainerUri)); + sourceId, new SharedAccessSignatureTokenConnection(updatedContainerUri) + .setSharedAccessSignatureToken(testEnvironment.getIngestionSasToken())); // Act - Second replacement IngestionSource replaced2 = ingestionClient.replaceSource(sourceId, replacementSource2); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer03SharedAccessSignatureTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer03SharedAccessSignatureTests.java new file mode 100644 index 000000000000..99a8e9aee321 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer03SharedAccessSignatureTests.java @@ -0,0 +1,145 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer; + +import com.azure.analytics.planetarycomputer.models.SharedAccessSignatureSignedLink; +import com.azure.analytics.planetarycomputer.models.SharedAccessSignatureToken; +import com.azure.analytics.planetarycomputer.models.StacCollection; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Tests for Shared Access Signature operations (Group 03). + * Covers: getToken, getUrl (sign URL), revokeToken. + * Python equivalent: planetary_computer_03_shared_access_signature.py + * JS equivalent: 03_sharedAccessSignature.spec.ts + */ +@Tag("SAS") +public class TestPlanetaryComputer03SharedAccessSignatureTests extends PlanetaryComputerTestBase { + + /** + * Test getting a SAS token with default duration. + * Python equivalent: generate_sas_token + * JS equivalent: should get token with default duration + */ + @Test + @Tag("GetToken") + public void test03_01_GetTokenWithDefaultDuration() { + SharedAccessSignatureClient sasClient = getSasClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing getToken for collection: " + collectionId); + + SharedAccessSignatureToken tokenResponse = sasClient.getToken(collectionId); + + assertNotNull(tokenResponse, "Token response should not be null"); + assertNotNull(tokenResponse.getToken(), "Token should not be null"); + assertTrue(tokenResponse.getToken().length() > 0, "Token should not be empty"); + assertNotNull(tokenResponse.getExpiresOn(), "ExpiresOn should not be null"); + + System.out.println("Token length: " + tokenResponse.getToken().length()); + System.out.println("Expires on: " + tokenResponse.getExpiresOn()); + System.out.println("SAS token retrieved successfully"); + } + + /** + * Test getting a SAS token with custom duration. + * JS equivalent: should get token with custom duration (60 minutes) + */ + @Test + @Tag("GetToken") + public void test03_02_GetTokenWithCustomDuration() { + SharedAccessSignatureClient sasClient = getSasClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing getToken with 60-minute duration for collection: " + collectionId); + + SharedAccessSignatureToken tokenResponse = sasClient.getToken(collectionId, 60); + + assertNotNull(tokenResponse, "Token response should not be null"); + assertNotNull(tokenResponse.getToken(), "Token should not be null"); + assertTrue(tokenResponse.getToken().length() > 0, "Token should not be empty"); + assertNotNull(tokenResponse.getExpiresOn(), "ExpiresOn should not be null"); + + System.out.println("Token length: " + tokenResponse.getToken().length()); + System.out.println("Expires on: " + tokenResponse.getExpiresOn()); + System.out.println("SAS token with custom duration retrieved successfully"); + } + + /** + * Test signing a URL with SAS. + * Python equivalent: sign_asset_href + * JS equivalent: should sign a URL with SAS + */ + @Test + @Tag("SignUrl") + public void test03_03_SignUrl() { + SharedAccessSignatureClient sasClient = getSasClient(); + StacClient stacClient = getStacClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing getUrl (sign URL) for collection: " + collectionId); + + // Get a collection to find an asset href to sign + StacCollection collection = stacClient.getCollection(collectionId); + assertNotNull(collection, "Collection should not be null"); + + // Find a suitable href from collection assets + String originalHref = null; + if (collection.getAssets() != null) { + for (java.util.Map.Entry entry : collection + .getAssets() + .entrySet()) { + if (entry.getValue().getHref() != null && !entry.getValue().getHref().isEmpty()) { + originalHref = entry.getValue().getHref(); + System.out.println("Using asset '" + entry.getKey() + "' href: " + originalHref); + break; + } + } + } + + if (originalHref == null) { + System.out.println("No asset href found on collection, skipping URL signing test"); + return; + } + + // Sign the URL + SharedAccessSignatureSignedLink signedLink = sasClient.getUrl(originalHref); + + assertNotNull(signedLink, "Signed link response should not be null"); + assertNotNull(signedLink.getHref(), "Signed href should not be null"); + assertNotEquals(originalHref, signedLink.getHref(), "Signed URL should differ from original"); + assertTrue(signedLink.getHref().contains("?") || signedLink.getHref().contains("sig="), + "Signed URL should contain query parameters or sig"); + + System.out.println("Original href: " + originalHref); + System.out.println("Signed href: " + signedLink.getHref()); + System.out.println("URL signed successfully"); + } + + /** + * Test revoking a SAS token. + * Python equivalent: revoke_token + * JS equivalent: should revoke token without error + */ + @Test + @Tag("RevokeToken") + public void test03_04_RevokeToken() { + SharedAccessSignatureClient sasClient = getSasClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing revokeToken"); + + // First get a token to ensure there's something to revoke + SharedAccessSignatureToken tokenResponse = sasClient.getToken(collectionId); + assertNotNull(tokenResponse, "Should be able to get a token before revoking"); + + // Revoke the token - should complete without error + sasClient.revokeToken(); + + System.out.println("Token revoked successfully"); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer04aStacSpecificationTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer04aStacSpecificationTests.java index c63a15e3df46..f7742ce1057d 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer04aStacSpecificationTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer04aStacSpecificationTests.java @@ -37,7 +37,7 @@ public void test04_01_GetConformanceClass() { System.out.println("Testing getConformanceClass (STAC API conformance)"); // Act - StacConformanceClasses conformance = stacClient.getConformanceClass(); + StacConformanceClasses conformance = stacClient.getConformanceClasses(); // Assert assertNotNull(conformance, "Conformance should not be null"); @@ -186,7 +186,7 @@ public void test04_06_GetItemCollection() { System.out.println("Testing getItemCollection for collection: " + collectionId); // Act - StacItemCollection itemsResponse = stacClient.getItemCollection(collectionId, 10, null, null); + StacItemCollection itemsResponse = stacClient.getItemCollection(collectionId, 10, null, null, null, null, null); // Assert assertNotNull(itemsResponse, "Items response should not be null"); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer04bStacSpecificationTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer04bStacSpecificationTests.java index 904f6e7e0ee6..d88bbde651fc 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer04bStacSpecificationTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer04bStacSpecificationTests.java @@ -147,7 +147,7 @@ public void test04_12_GetItem() { System.out.println("Testing getItem for collection: " + collectionId); // First, get an item ID from the collection - StacItemCollection itemsResponse = stacClient.getItemCollection(collectionId, 1, null, null); + StacItemCollection itemsResponse = stacClient.getItemCollection(collectionId, 1, null, null, null, null, null); assertTrue(itemsResponse.getFeatures().size() > 0, "Should have at least one item to test"); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer04cStacItemCrudTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer04cStacItemCrudTests.java new file mode 100644 index 000000000000..1673363502d7 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer04cStacItemCrudTests.java @@ -0,0 +1,248 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer; + +import com.azure.analytics.planetarycomputer.models.StacItem; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import com.azure.core.util.polling.SyncPoller; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Tests for STAC Item CRUD lifecycle operations (Group 04c). + * Covers: beginCreateItem, beginUpdateItem, beginReplaceItem, beginDeleteItem (all LROs). + * Uses protocol methods (raw JSON) because the generated StacItem model has a read-only 'id' field. + * Python equivalent: planetary_computer_02_stac_specification.py (create/update/replace/delete) + * JS equivalent: 02_stacSpecification.spec.ts (create, update, replace, delete tests) + */ +@Tag("STAC") +@Tag("ItemCRUD") +public class TestPlanetaryComputer04cStacItemCrudTests extends PlanetaryComputerTestBase { + + private static final String TEST_ITEM_SUFFIX = "-crud-test"; + + /** + * Creates a sample STAC item as raw JSON. + * Uses raw JSON because the generated StacItem model has no setter for 'id'. + */ + private String createSampleItemJson(String itemId, String collectionId) { + return "{" + "\"type\": \"Feature\"," + "\"stac_version\": \"1.0.0\"," + "\"id\": \"" + itemId + "\"," + + "\"collection\": \"" + collectionId + "\"," + + "\"geometry\": {\"type\": \"Point\", \"coordinates\": [-84.39, 33.67]}," + + "\"bbox\": [-84.44, 33.63, -84.38, 33.69]," + + "\"properties\": {\"datetime\": \"2021-11-14T16:00:00Z\", \"gsd\": 0.6}," + "\"assets\": {" + + " \"image\": {" + + " \"href\": \"https://naipeuwest.blob.core.windows.net/naip/v002/ga/2021/ga_060cm_2021/33084/m_3308421_se_16_060_20211114.tif\"," + + " \"type\": \"image/tiff; application=geotiff; profile=cloud-optimized\"," + + " \"title\": \"RGBIR COG tile\"," + " \"roles\": [\"data\"]" + " }" + "}," + + "\"links\": [{\"rel\": \"collection\", \"href\": \"./\", \"type\": \"application/json\"}]" + "}"; + } + + /** + * Safely try to delete a test item (ignore if not found). + */ + private void tryDeleteItem(StacClient stacClient, String collectionId, String itemId) { + try { + SyncPoller poller + = stacClient.beginDeleteItem(collectionId, itemId, new RequestOptions()); + poller.waitForCompletion(); + } catch (Exception ex) { + // Item may not exist, that's fine + } + } + + /** + * Test creating a STAC item via LRO. + * Python equivalent: create_stac_item + * JS equivalent: should create and get a STAC item + */ + @Test + @Tag("CreateItem") + public void test04_13_CreateAndGetItem() { + StacClient stacClient = getStacClient(); + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId() + TEST_ITEM_SUFFIX; + + System.out.println("Test item ID: " + itemId); + System.out.println("Collection: " + collectionId); + + // Clean up if item already exists + tryDeleteItem(stacClient, collectionId, itemId); + + // Create the item using protocol method + String itemJson = createSampleItemJson(itemId, collectionId); + + System.out.println("Calling: beginCreateItem(...)"); + SyncPoller createPoller + = stacClient.beginCreateItem(collectionId, BinaryData.fromString(itemJson), new RequestOptions()); + createPoller.getFinalResult(); + + System.out.println("Item creation completed"); + + // Verify by getting the item + StacItem created = stacClient.getItem(collectionId, itemId); + + assertNotNull(created, "Created item should not be null"); + assertEquals(itemId, created.getId(), "Item ID should match"); + assertEquals(collectionId, created.getCollection(), "Collection should match"); + assertNotNull(created.getGeometry(), "Item should have geometry"); + assertNotNull(created.getAssets(), "Item should have assets"); + assertTrue(created.getAssets().containsKey("image"), "Item should have 'image' asset"); + + System.out.println("Item '" + itemId + "' created and verified successfully"); + + // Clean up + tryDeleteItem(stacClient, collectionId, itemId); + } + + /** + * Test updating a STAC item via LRO (JSON merge patch). + * Python equivalent: update_stac_item + * JS equivalent: should update a STAC item + */ + @Test + @Tag("UpdateItem") + public void test04_14_UpdateItem() { + StacClient stacClient = getStacClient(); + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId() + "-update-test"; + + System.out.println("Test item ID: " + itemId); + + // Clean up and create a fresh item + tryDeleteItem(stacClient, collectionId, itemId); + + String itemJson = createSampleItemJson(itemId, collectionId); + SyncPoller createPoller + = stacClient.beginCreateItem(collectionId, BinaryData.fromString(itemJson), new RequestOptions()); + createPoller.getFinalResult(); + System.out.println("Item created for update test"); + + // Update the item — merge patch requires id and type + String updateBody + = "{\"id\": \"" + itemId + "\", \"type\": \"Feature\", \"properties\": {\"platform\": \"Imagery\"}}"; + + System.out.println("Calling: beginUpdateItem(...)"); + SyncPoller updatePoller + = stacClient.beginUpdateItem(collectionId, itemId, BinaryData.fromString(updateBody), new RequestOptions()); + updatePoller.getFinalResult(); + System.out.println("Item update completed"); + + // Verify the update + StacItem updated = stacClient.getItem(collectionId, itemId); + + assertNotNull(updated, "Updated item should not be null"); + assertEquals(itemId, updated.getId(), "Item ID should not change"); + assertNotNull(updated.getProperties(), "Properties should not be null"); + + // Check platform was set + if (updated.getProperties().getPlatform() != null) { + assertEquals("Imagery", updated.getProperties().getPlatform(), "Platform should be 'Imagery'"); + } else if (updated.getProperties().getAdditionalProperties() != null + && updated.getProperties().getAdditionalProperties().containsKey("platform")) { + assertEquals("Imagery", + updated.getProperties().getAdditionalProperties().get("platform").toObject(String.class), + "Platform should be 'Imagery'"); + } + + System.out.println("Item '" + itemId + "' updated successfully"); + + // Clean up + tryDeleteItem(stacClient, collectionId, itemId); + } + + /** + * Test replacing a STAC item via LRO. + * Python equivalent: create_or_replace_stac_item + * JS equivalent: should replace a STAC item + */ + @Test + @Tag("ReplaceItem") + public void test04_15_ReplaceItem() { + StacClient stacClient = getStacClient(); + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId() + "-replace-test"; + + System.out.println("Test item ID: " + itemId); + + // Clean up and create a fresh item + tryDeleteItem(stacClient, collectionId, itemId); + + String itemJson = createSampleItemJson(itemId, collectionId); + SyncPoller createPoller + = stacClient.beginCreateItem(collectionId, BinaryData.fromString(itemJson), new RequestOptions()); + createPoller.getFinalResult(); + System.out.println("Item created for replace test"); + + // Replace the item with updated properties (add platform field) + String replacementJson = createSampleItemJson(itemId, collectionId).replace("\"gsd\": 0.6", + "\"gsd\": 0.6, \"platform\": \"Imagery Updated\""); + + System.out.println("Calling: beginReplaceItem(...)"); + SyncPoller replacePoller = stacClient.beginReplaceItem(collectionId, itemId, + BinaryData.fromString(replacementJson), new RequestOptions()); + replacePoller.getFinalResult(); + System.out.println("Item replace completed"); + + // Verify the replacement + StacItem replaced = stacClient.getItem(collectionId, itemId); + + assertNotNull(replaced, "Replaced item should not be null"); + assertEquals(itemId, replaced.getId(), "Item ID should not change"); + + System.out.println("Item '" + itemId + "' replaced successfully"); + + // Clean up + tryDeleteItem(stacClient, collectionId, itemId); + } + + /** + * Test deleting a STAC item via LRO. + * Python equivalent: delete_stac_item + * JS equivalent: should delete a STAC item + */ + @Test + @Tag("DeleteItem") + public void test04_16_DeleteItem() { + StacClient stacClient = getStacClient(); + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId() + "-delete-test"; + + System.out.println("Test item ID: " + itemId); + + // Clean up and create a fresh item + tryDeleteItem(stacClient, collectionId, itemId); + + String itemJson = createSampleItemJson(itemId, collectionId); + SyncPoller createPoller + = stacClient.beginCreateItem(collectionId, BinaryData.fromString(itemJson), new RequestOptions()); + createPoller.getFinalResult(); + System.out.println("Item created for delete test"); + + // Delete the item + System.out.println("Calling: beginDeleteItem(...)"); + SyncPoller deletePoller + = stacClient.beginDeleteItem(collectionId, itemId, new RequestOptions()); + // Use waitForCompletion() — equivalent to Python's .result() and JS's pollUntilDone() + // Note: getFinalResult() throws "Cannot get final result" on delete LROs because + // SyncOperationResourcePollingStrategy doesn't handle Void final result type. + // This is a known Java azure-core LRO issue — Python and JS handle this correctly. + deletePoller.waitForCompletion(); + System.out.println("Item delete completed"); + + // Verify deletion — matching Python/JS pattern: + // Python catches ResourceNotFoundError, JS catches RestError with 404 + try { + stacClient.getItem(collectionId, itemId); + // If we get here, deletion may still be propagating (matching JS comment) + System.out.println("Item still accessible after delete - deletion may still be propagating"); + } catch (com.azure.core.exception.HttpResponseException ex) { + assertEquals(404, ex.getResponse().getStatusCode(), "Should get 404 for deleted item"); + System.out.println("Confirmed item '" + itemId + "' was deleted (404)"); + } + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05aMosaicsTilerTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05aMosaicsTilerTests.java index 973174432cab..caeb9896f297 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05aMosaicsTilerTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05aMosaicsTilerTests.java @@ -3,279 +3,154 @@ package com.azure.analytics.planetarycomputer; -import com.azure.analytics.planetarycomputer.models.FilterLanguage; -import com.azure.analytics.planetarycomputer.models.GetMosaicTileJsonOptions; -import com.azure.analytics.planetarycomputer.models.GetMosaicTileOptions; -import com.azure.analytics.planetarycomputer.models.RegisterMosaicsSearchOptions; -import com.azure.analytics.planetarycomputer.models.StacSearchSortingDirection; -import com.azure.analytics.planetarycomputer.models.StacSortExtension; -import com.azure.analytics.planetarycomputer.models.TileJsonMetadata; -import com.azure.analytics.planetarycomputer.models.TilerImageFormat; import com.azure.analytics.planetarycomputer.models.TilerMosaicSearchRegistrationResponse; import com.azure.analytics.planetarycomputer.models.TilerStacSearchRegistration; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Tag; import java.nio.charset.StandardCharsets; -import java.util.Arrays; -import java.util.Collections; -import java.util.HashMap; -import java.util.Map; import static org.junit.jupiter.api.Assertions.*; /** * Tests for Mosaics Tiler operations (Group 05a: Tests 01-05). - * Ported from TestPlanetaryComputer05aMosaicsTilerTests.cs */ @Tag("Mosaics") public class TestPlanetaryComputer05aMosaicsTilerTests extends PlanetaryComputerTestBase { - /** - * Tests registering a mosaics search with STAC search parameters. - * Python equivalent: test_01_register_mosaics_search - * Java method: registerMosaicsSearch(filter, filterLanguage, sortBy) - */ @Test @Tag("RegisterSearch") public void test05_01_RegisterMosaicsSearch() { - // Arrange DataClient dataClient = getDataClient(); String collectionId = testEnvironment.getCollectionId(); System.out.println("Input - collection_id: " + collectionId); - // Create search parameters - filter to 2021-2022 date range with CQL2-JSON - Map filter = createCqlFilter(collectionId); - - StacSortExtension[] sortBy - = new StacSortExtension[] { new StacSortExtension("datetime", StacSearchSortingDirection.DESC) }; - - System.out.println("Filter: " + filter); - System.out.println("Filter Language: cql2-json"); - - // Act - RegisterMosaicsSearchOptions options = new RegisterMosaicsSearchOptions().setFilter(filter) - .setFilterLanguage(FilterLanguage.CQL2_JSON) - .setSortBy(Arrays.asList(sortBy)); - TilerMosaicSearchRegistrationResponse result = dataClient.registerMosaicsSearch(options); + String searchId = registerSearch(dataClient, collectionId); - // Assert - assertNotNull(result, "Result should not be null"); - validateNotNullOrEmpty(result.getSearchId(), "Search ID"); - - System.out.println("Search ID: " + result.getSearchId()); - - // Search ID should be a non-empty string (typically a hash) - assertTrue(result.getSearchId().length() > 0, "Search ID should not be empty"); - - // In live mode, verify search ID format (typically alphanumeric hash) - if ("LIVE".equals(System.getenv("AZURE_TEST_MODE"))) { - assertTrue(result.getSearchId().matches("^[a-zA-Z0-9]+$"), - "Search ID should be alphanumeric (hash format)"); - } + assertNotNull(searchId, "Search ID should not be null"); + assertTrue(searchId.length() > 0, "Search ID should not be empty"); + System.out.println("Search ID: " + searchId); } - /** - * Tests getting mosaics search info after registration. - * Python equivalent: test_02_get_mosaics_search_info - * Java method: getMosaicsSearchInfo(searchId) - */ @Test @Tag("SearchInfo") public void test05_02_GetMosaicsSearchInfo() { - // Arrange DataClient dataClient = getDataClient(); String collectionId = testEnvironment.getCollectionId(); - // First, register a search to get a search ID with CQL2-JSON - Map filter = createCqlFilter(collectionId); - - RegisterMosaicsSearchOptions options - = new RegisterMosaicsSearchOptions().setFilter(filter).setFilterLanguage(FilterLanguage.CQL2_JSON); - TilerMosaicSearchRegistrationResponse registerResult = dataClient.registerMosaicsSearch(options); - - String searchId = registerResult.getSearchId(); + String searchId = registerSearch(dataClient, collectionId); System.out.println("Registered Search ID: " + searchId); - // Act - Get search info for the registered search - TilerStacSearchRegistration searchInfo = dataClient.getMosaicsSearchInfo(searchId); + TilerStacSearchRegistration searchInfo = dataClient.getSearchInfo(searchId); - // Assert assertNotNull(searchInfo, "Search info should not be null"); - - System.out.println("Search registration retrieved successfully"); - System.out.println("Search info retrieved for search ID: " + searchId); + System.out.println("Search info retrieved successfully"); } - /** - * Tests getting mosaics tile JSON metadata. - * Python equivalent: test_03_get_mosaics_tile_json - * Java method: getMosaicsTileJson(searchId, tileMatrixSetId, assets, ...) - */ @Test @Tag("TileJson") public void test05_03_GetMosaicsTileJson() { - // Arrange DataClient dataClient = getDataClient(); String collectionId = testEnvironment.getCollectionId(); - // Register search first - Map filter = createCqlFilter(collectionId); - - RegisterMosaicsSearchOptions registerOptions - = new RegisterMosaicsSearchOptions().setFilter(filter).setFilterLanguage(FilterLanguage.CQL2_JSON); - TilerMosaicSearchRegistrationResponse registerResult = dataClient.registerMosaicsSearch(registerOptions); - - String searchId = registerResult.getSearchId(); + String searchId = registerSearch(dataClient, collectionId); System.out.println("Using search ID: " + searchId); - // Act - Get tile JSON metadata - GetMosaicTileJsonOptions tileJsonOptions = new GetMosaicTileJsonOptions().setAssets(Arrays.asList("image")) - .setExpression("image|1,2,3") - .setMinZoom(1) - .setMaxZoom(9) - .setTileFormat(TilerImageFormat.PNG) - .setCollection(collectionId); - TileJsonMetadata tileJson = dataClient.getMosaicsTileJson(searchId, "WebMercatorQuad", tileJsonOptions); - - // Assert - assertNotNull(tileJson, "TileJSON should not be null"); - assertNotNull(tileJson.getTileJson(), "TileJSON version should not be null"); - assertNotNull(tileJson.getTiles(), "Tiles array should not be null"); - assertTrue(tileJson.getTiles().size() > 0, "Should have at least one tile URL pattern"); + // Use protocol method to pass required assets + RequestOptions tileJsonOptions = new RequestOptions(); + tileJsonOptions.addQueryParam("assets", "image", false); + tileJsonOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + Response tileJsonResponse = dataClient.getSearchTileJsonWithResponse(searchId, tileJsonOptions); - System.out.println("TileJSON version: " + tileJson.getTileJson()); - System.out.println("Number of tile URL patterns: " + tileJson.getTiles().size()); - if (tileJson.getTiles().size() > 0) { - System.out.println("First tile URL pattern: " + tileJson.getTiles().get(0)); - } + assertNotNull(tileJsonResponse, "TileJSON response should not be null"); + assertTrue(tileJsonResponse.getStatusCode() >= 200 && tileJsonResponse.getStatusCode() < 300); + System.out.println("TileJSON retrieved successfully"); } - /** - * Tests getting a specific mosaic tile as PNG image. - * Python equivalent: test_04_get_mosaics_tile - * Java method: getMosaicsTile(searchId, tileMatrixSetId, z, x, y, ...) - */ @Test @Tag("Tile") public void test05_04_GetMosaicsTile() { - // Arrange DataClient dataClient = getDataClient(); String collectionId = testEnvironment.getCollectionId(); - System.out.println("Input - tile coordinates: z=13, x=2174, y=3282"); - - // Register search first - Map filter = createCqlFilter(collectionId); - - RegisterMosaicsSearchOptions registerOptions - = new RegisterMosaicsSearchOptions().setFilter(filter).setFilterLanguage(FilterLanguage.CQL2_JSON); - TilerMosaicSearchRegistrationResponse registerResult = dataClient.registerMosaicsSearch(registerOptions); - - String searchId = registerResult.getSearchId(); + String searchId = registerSearch(dataClient, collectionId); System.out.println("Using search ID: " + searchId); - // Act - Get tile image - GetMosaicTileOptions tileOptions = new GetMosaicTileOptions().setAssets(Arrays.asList("image")) - .setAssetBandIndices("image|1,2,3") - .setCollection(collectionId); - BinaryData imageData - = dataClient.getMosaicsTile(searchId, "WebMercatorQuad", 13.0, 2174.0, 3282.0, 1.0, "png", tileOptions); + // Use protocol method to pass required assets + RequestOptions tileOptions = new RequestOptions(); + tileOptions.addQueryParam("assets", "image", false); + tileOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + BinaryData imageData = dataClient + .getSearchTileByFormatWithResponse(searchId, "WebMercatorQuad", 13.0, 2174.0, 3282.0, "png", tileOptions) + .getValue(); - // Assert byte[] imageBytes = imageData.toBytes(); - System.out.println("Image size: " + imageBytes.length + " bytes"); - System.out.println( - "First 16 bytes (hex): " + bytesToHex(Arrays.copyOfRange(imageBytes, 0, Math.min(16, imageBytes.length)))); - // Verify PNG magic bytes byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; - assertTrue(imageBytes.length > 0, "Image bytes should not be empty"); - assertTrue(imageBytes.length > 100, - String.format("Image should be substantial, got only %d bytes", imageBytes.length)); - + assertTrue(imageBytes.length > 100, "Image should be substantial"); for (int i = 0; i < pngMagic.length; i++) { assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); } - System.out.println("PNG magic bytes verified successfully"); } - /** - * Tests getting WMTS capabilities XML for mosaics. - * Python equivalent: test_05_get_mosaics_wmts_capabilities - * Java method: getMosaicsWmtsCapabilities(searchId, tileMatrixSetId, ...) - */ @Test @Tag("WMTS") public void test05_05_GetMosaicsWmtsCapabilities() { - // Arrange DataClient dataClient = getDataClient(); String collectionId = testEnvironment.getCollectionId(); - // Register search first - Map filter = createCqlFilter(collectionId); - - RegisterMosaicsSearchOptions registerOptions - = new RegisterMosaicsSearchOptions().setFilter(filter).setFilterLanguage(FilterLanguage.CQL2_JSON); - TilerMosaicSearchRegistrationResponse registerResult = dataClient.registerMosaicsSearch(registerOptions); - - String searchId = registerResult.getSearchId(); + String searchId = registerSearch(dataClient, collectionId); System.out.println("Using search ID: " + searchId); - // Act - Get WMTS capabilities using WithResponse API to bypass XML/JSON deserialization bug - com.azure.core.http.rest.RequestOptions requestOptions = new com.azure.core.http.rest.RequestOptions(); + RequestOptions requestOptions = new RequestOptions(); requestOptions.addQueryParam("tile_format", "png", false); requestOptions.addQueryParam("tile_scale", "1", false); requestOptions.addQueryParam("minzoom", "7", false); requestOptions.addQueryParam("maxzoom", "13", false); requestOptions.addQueryParam("assets", "image", false); requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); - byte[] xmlBytes = dataClient.getMosaicsWmtsCapabilitiesWithResponse(searchId, "WebMercatorQuad", requestOptions) - .getValue() - .toBytes(); + byte[] xmlBytes + = dataClient.getSearchWmtsCapabilitiesByTmsWithResponse(searchId, "WebMercatorQuad", requestOptions) + .getValue() + .toBytes(); - // Assert String xmlString = new String(xmlBytes, StandardCharsets.UTF_8); - - System.out.println("XML size: " + xmlBytes.length + " bytes"); - System.out.println("XML first 200 chars: " + xmlString.substring(0, Math.min(200, xmlString.length()))); - - // Validate XML structure assertTrue(xmlBytes.length > 0, "XML bytes should not be empty"); assertTrue(xmlString.contains("Capabilities"), "Response should contain Capabilities element"); assertTrue(xmlString.toLowerCase().contains("wmts"), "Response should reference WMTS"); - assertTrue(xmlString.contains("TileMatrix"), "Response should contain TileMatrix information"); - System.out.println("WMTS capabilities XML validated successfully"); } /** - * Creates a CQL2-JSON filter for collection and datetime range. + * Registers a mosaics search using protocol method with raw JSON filter. */ - private Map createCqlFilter(String collectionId) { - Map filter = new HashMap<>(); - filter.put("op", "and"); - - Map collectionEq = new HashMap<>(); - collectionEq.put("op", "="); - collectionEq.put("args", Arrays.asList(Collections.singletonMap("property", "collection"), collectionId)); + protected String registerSearch(DataClient dataClient, String collectionId) { + String requestBody = "{\"filter\":" + createCqlFilterJson(collectionId) + ",\"filter-lang\":\"cql2-json\"" + + ",\"sortby\":[{\"field\":\"datetime\",\"direction\":\"desc\"}]}"; - Map dtRange = new HashMap<>(); - dtRange.put("op", "anyinteracts"); - dtRange.put("args", Arrays.asList(Collections.singletonMap("property", "datetime"), - Collections.singletonMap("interval", Arrays.asList("2021-01-01T00:00:00Z", "2022-12-31T23:59:59Z")))); + Response response + = dataClient.registerMosaicsSearchWithResponse(BinaryData.fromString(requestBody), new RequestOptions()); - filter.put("args", Arrays.asList(collectionEq, dtRange)); - return filter; + TilerMosaicSearchRegistrationResponse result + = response.getValue().toObject(TilerMosaicSearchRegistrationResponse.class); + return result.getSearchId(); } /** - * Helper method to convert bytes to hex string. + * Creates a CQL2-JSON filter as raw JSON string. */ + protected String createCqlFilterJson(String collectionId) { + return "{\"op\":\"and\",\"args\":[" + "{\"op\":\"=\",\"args\":[{\"property\":\"collection\"},\"" + collectionId + + "\"]}," + "{\"op\":\">=\",\"args\":[{\"property\":\"datetime\"},\"2021-01-01T00:00:00Z\"]}," + + "{\"op\":\"<=\",\"args\":[{\"property\":\"datetime\"},\"2022-12-31T23:59:59Z\"]}" + "]}"; + } + private String bytesToHex(byte[] bytes) { StringBuilder sb = new StringBuilder(); for (byte b : bytes) { diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05bMosaicsTilerTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05bMosaicsTilerTests.java index 56846efa5f9d..c66f9e109af0 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05bMosaicsTilerTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05bMosaicsTilerTests.java @@ -3,42 +3,24 @@ package com.azure.analytics.planetarycomputer; -import com.azure.analytics.planetarycomputer.models.FilterLanguage; -import com.azure.analytics.planetarycomputer.models.ImageParameters; -import com.azure.analytics.planetarycomputer.models.ImageResponse; -import com.azure.analytics.planetarycomputer.models.Polygon; -import com.azure.analytics.planetarycomputer.models.RegisterMosaicsSearchOptions; import com.azure.analytics.planetarycomputer.models.StacItemPointAsset; import com.azure.analytics.planetarycomputer.models.TilerAssetGeoJson; -import com.azure.analytics.planetarycomputer.models.TilerMosaicSearchRegistrationResponse; -import com.azure.core.util.BinaryData; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Tag; -import java.util.Arrays; -import java.util.Collections; -import java.util.HashMap; import java.util.List; -import java.util.Map; import static org.junit.jupiter.api.Assertions.*; /** - * Tests for Mosaics Tiler operations (Group 05b: Tests 06-09). - * Ported from TestPlanetaryComputer05bMosaicsTilerTests.cs + * Tests for Mosaics Tiler operations (Group 05b: Tests 06-07). */ @Tag("Mosaics") -public class TestPlanetaryComputer05bMosaicsTilerTests extends PlanetaryComputerTestBase { +public class TestPlanetaryComputer05bMosaicsTilerTests extends TestPlanetaryComputer05aMosaicsTilerTests { - /** - * Tests getting mosaic assets for a specific point. - * Python equivalent: test_06_get_mosaics_assets_for_point - * Java method: getMosaicsAssetsForPoint(searchId, longitude, latitude, ...) - */ @Test @Tag("Assets") public void test05_06_GetMosaicsAssetsForPoint() { - // Arrange DataClient dataClient = getDataClient(); String collectionId = testEnvironment.getCollectionId(); @@ -47,235 +29,38 @@ public void test05_06_GetMosaicsAssetsForPoint() { System.out.println(String.format("Input - point: longitude=%f, latitude=%f", longitude, latitude)); - // Register search first - Map filter = createCqlFilter(collectionId); - - RegisterMosaicsSearchOptions registerOptions - = new RegisterMosaicsSearchOptions().setFilter(filter).setFilterLanguage(FilterLanguage.CQL2_JSON); - TilerMosaicSearchRegistrationResponse registerResult = dataClient.registerMosaicsSearch(registerOptions); - - String searchId = registerResult.getSearchId(); + String searchId = registerSearch(dataClient, collectionId); System.out.println("Using search ID: " + searchId); - // Act - Get assets for point - List assets - = dataClient.getMosaicsAssetsForPoint(searchId, longitude, latitude, 100, 100, 30, true, true, "EPSG:4326"); + List assets = dataClient.getSearchPointWithAssets(searchId, longitude, latitude); - // Assert assertNotNull(assets, "Assets list should not be null"); - System.out.println("Number of assets: " + assets.size()); - // If we have assets, validate structure if (assets.size() > 0) { StacItemPointAsset firstAsset = assets.get(0); assertNotNull(firstAsset, "First asset should not be null"); assertNotNull(firstAsset.getId(), "Asset ID should not be null"); assertFalse(firstAsset.getId().isEmpty(), "Asset ID should not be empty"); - System.out.println("First asset ID: " + firstAsset.getId()); - } else { - System.out.println("No assets returned for this point"); } } - /** - * Tests getting mosaic assets for a specific tile. - * Python equivalent: test_07_get_mosaics_assets_for_tile - * Java method: getMosaicsAssetsForTile(searchId, tileMatrixSetId, z, x, y, collectionId) - */ @Test @Tag("Assets") public void test05_07_GetMosaicsAssetsForTile() { - // Arrange DataClient dataClient = getDataClient(); String collectionId = testEnvironment.getCollectionId(); System.out.println("Input - tile coordinates: z=13, x=2174, y=3282"); - // Register search first - Map filter = createCqlFilter(collectionId); - - RegisterMosaicsSearchOptions registerOptions - = new RegisterMosaicsSearchOptions().setFilter(filter).setFilterLanguage(FilterLanguage.CQL2_JSON); - TilerMosaicSearchRegistrationResponse registerResult = dataClient.registerMosaicsSearch(registerOptions); - - String searchId = registerResult.getSearchId(); + String searchId = registerSearch(dataClient, collectionId); System.out.println("Using search ID: " + searchId); - // Act - Get assets for tile - List assets = dataClient.getMosaicsAssetsForTile(searchId, "WebMercatorQuad", collectionId, - 13.0, 2174.0, 3282.0, null, null, null, null, null); + List assets + = dataClient.getSearchAssetsForTile(searchId, "WebMercatorQuad", collectionId, 13.0, 2174.0, 3282.0); - // Assert assertNotNull(assets, "Assets list should not be null"); - System.out.println("Number of assets: " + assets.size()); - System.out.println("Assets for tile retrieved successfully"); - } - - /** - * Tests creating a static image from a mosaic search. - * Python equivalent: test_08_create_static_image - * Java method: createStaticImage(collectionId, body) - */ - @Test - @Tag("StaticImage") - public void test05_08_CreateStaticImage() { - // Arrange - DataClient dataClient = getDataClient(); - String collectionId = testEnvironment.getCollectionId(); - - // Define geometry for the static image - coordinates as [[[lon, lat], ...]] - List>> coordinates = Arrays.asList(Arrays.asList(Arrays.asList(-84.4537811, 33.6567307), - Arrays.asList(-84.398056, 33.6567307), Arrays.asList(-84.398056, 33.6194572), - Arrays.asList(-84.4537811, 33.6194572), Arrays.asList(-84.4537811, 33.6567307))); - Polygon geometry = new Polygon().setCoordinates(coordinates); - - System.out.println("Geometry defined with coordinates"); - - // Create CQL2-JSON filter (as map) - Map cqlFilter = new HashMap<>(); - cqlFilter.put("op", "and"); - cqlFilter.put("args", Arrays.asList(new HashMap() { - { - put("op", "="); - put("args", Arrays.asList(Collections.singletonMap("property", "collection"), collectionId)); - } - }, new HashMap() { - { - put("op", "anyinteracts"); - put("args", Arrays.asList(Collections.singletonMap("property", "datetime"), Collections - .singletonMap("interval", Arrays.asList("2023-01-01T00:00:00Z", "2023-12-31T00:00:00Z")))); - } - })); - - // Create image request - ImageParameters imageRequest = new ImageParameters(cqlFilter, - String.format("assets=image&asset_bidx=image|1,2,3&collection=%s", collectionId), 1080, 1080); - - imageRequest.setZoom(13.0); - imageRequest.setGeometry(geometry); - imageRequest.setImageSize("1080x1080"); - imageRequest.setShowBranding(false); - - System.out.println(String.format("Image request: columns=%d, rows=%d, zoom=%.1f", imageRequest.getColumns(), - imageRequest.getRows(), imageRequest.getZoom())); - - // Act - Create static image - ImageResponse imageResponse = dataClient.createStaticImage(collectionId, imageRequest); - - // Assert - assertNotNull(imageResponse, "Image response should not be null"); - assertNotNull(imageResponse.getUrl(), "Image URL should not be null"); - - System.out.println("Static image created successfully"); - System.out.println("Image URL: " + imageResponse.getUrl()); - } - - /** - * Tests retrieving a static image by ID. - * Python equivalent: test_09_get_static_image - * Java method: getStaticImage(collectionId, id) - */ - @Test - @Tag("StaticImage") - public void test05_09_GetStaticImage() { - // Arrange - DataClient dataClient = getDataClient(); - String collectionId = testEnvironment.getCollectionId(); - - // First create a static image to get an ID - List>> coordinates = Arrays.asList(Arrays.asList(Arrays.asList(-84.4537811, 33.6567307), - Arrays.asList(-84.398056, 33.6567307), Arrays.asList(-84.398056, 33.6194572), - Arrays.asList(-84.4537811, 33.6194572), Arrays.asList(-84.4537811, 33.6567307))); - Polygon geometry = new Polygon().setCoordinates(coordinates); - - Map cqlFilter = new HashMap<>(); - cqlFilter.put("op", "and"); - cqlFilter.put("args", Arrays.asList(new HashMap() { - { - put("op", "="); - put("args", Arrays.asList(Collections.singletonMap("property", "collection"), collectionId)); - } - }, new HashMap() { - { - put("op", "anyinteracts"); - put("args", Arrays.asList(Collections.singletonMap("property", "datetime"), Collections - .singletonMap("interval", Arrays.asList("2023-01-01T00:00:00Z", "2023-12-31T00:00:00Z")))); - } - })); - - ImageParameters imageRequest = new ImageParameters(cqlFilter, - String.format("assets=image&asset_bidx=image|1,2,3&collection=%s", collectionId), 1080, 1080); - imageRequest.setZoom(13.0); - imageRequest.setGeometry(geometry); - imageRequest.setImageSize("1080x1080"); - imageRequest.setShowBranding(false); - - ImageResponse createResponse = dataClient.createStaticImage(collectionId, imageRequest); - - String url = createResponse.getUrl(); - - // Extract image ID from URL - split by '?' to remove query params, then get last path segment - String[] urlParts = url.split("\\?")[0].split("/"); - String imageId = urlParts[urlParts.length - 1]; - - System.out.println("Created image with ID: " + imageId); - System.out.println("Image URL: " + url); - - assertNotNull(imageId, "Image ID should not be null"); - assertFalse(imageId.isEmpty(), "Image ID should not be empty"); - - // Act - Get the static image - BinaryData imageData = dataClient.getStaticImage(collectionId, imageId); - - // Assert - byte[] imageBytes = imageData.toBytes(); - - System.out.println("Image size: " + imageBytes.length + " bytes"); - System.out.println( - "First 16 bytes (hex): " + bytesToHex(Arrays.copyOfRange(imageBytes, 0, Math.min(16, imageBytes.length)))); - - // Verify PNG magic bytes - byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; - assertTrue(imageBytes.length > 0, "Image bytes should not be empty"); - - for (int i = 0; i < Math.min(pngMagic.length, imageBytes.length); i++) { - assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); - } - - System.out.println("PNG magic bytes verified successfully"); - } - - /** - * Creates a CQL2-JSON filter for collection and datetime range. - */ - private Map createCqlFilter(String collectionId) { - Map filter = new HashMap<>(); - filter.put("op", "and"); - - Map collectionEq = new HashMap<>(); - collectionEq.put("op", "="); - collectionEq.put("args", Arrays.asList(Collections.singletonMap("property", "collection"), collectionId)); - - Map dtRange = new HashMap<>(); - dtRange.put("op", "anyinteracts"); - dtRange.put("args", Arrays.asList(Collections.singletonMap("property", "datetime"), - Collections.singletonMap("interval", Arrays.asList("2021-01-01T00:00:00Z", "2022-12-31T23:59:59Z")))); - - filter.put("args", Arrays.asList(collectionEq, dtRange)); - return filter; - } - - /** - * Helper method to convert bytes to hex string. - */ - private String bytesToHex(byte[] bytes) { - StringBuilder sb = new StringBuilder(); - for (byte b : bytes) { - sb.append(String.format("%02X", b)); - } - return sb.toString(); } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05cMosaicsTilerTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05cMosaicsTilerTests.java new file mode 100644 index 000000000000..be7f7d75394f --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05cMosaicsTilerTests.java @@ -0,0 +1,87 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer; + +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; + +import java.util.Arrays; +import java.util.HashMap; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Tests for Mosaics Tiler additional operations (Group 05c: Tests 08-09). + * Covers: getSearchBboxCrop, cropSearchFeature. + * JS equivalent: 05_mosaicsTiler.spec.ts (bbox crop and feature crop tests) + */ +@Tag("Mosaics") +public class TestPlanetaryComputer05cMosaicsTilerTests extends TestPlanetaryComputer05aMosaicsTilerTests { + + @Test + @Tag("BboxCrop") + public void test05_08_GetSearchBboxCrop() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + + double minx = -84.39; + double miny = 33.68; + double maxx = -84.385; + double maxy = 33.685; + + System.out.println(String.format("Input - bbox: [%f, %f, %f, %f]", minx, miny, maxx, maxy)); + + String searchId = registerSearch(dataClient, collectionId); + System.out.println("Using search ID: " + searchId); + + // Use protocol method to pass required assets + com.azure.core.http.rest.RequestOptions requestOptions = new com.azure.core.http.rest.RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + BinaryData imageData + = dataClient.getSearchBboxCropWithResponse(searchId, minx, miny, maxx, maxy, "png", requestOptions) + .getValue(); + + byte[] imageBytes = imageData.toBytes(); + System.out.println("Image size: " + imageBytes.length + " bytes"); + + assertTrue(imageBytes.length > 0, "Bbox crop image should not be empty"); + System.out.println("Search bbox crop retrieved successfully"); + } + + @Test + @Tag("FeatureCrop") + public void test05_09_CropSearchFeature() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + + Polygon geometry = new Polygon() + .setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.39, 33.68), Arrays.asList(-84.385, 33.68), + Arrays.asList(-84.385, 33.685), Arrays.asList(-84.39, 33.685), Arrays.asList(-84.39, 33.68)))); + Feature feature = new Feature(geometry, FeatureType.FEATURE).setProperties(new HashMap<>()); + + System.out.println("Testing cropSearchFeature with polygon"); + + String searchId = registerSearch(dataClient, collectionId); + System.out.println("Using search ID: " + searchId); + + // Use protocol method to pass required assets + com.azure.core.http.rest.RequestOptions requestOptions = new com.azure.core.http.rest.RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + BinaryData imageData + = dataClient.cropSearchFeatureWithResponse(searchId, BinaryData.fromObject(feature), requestOptions) + .getValue(); + + byte[] imageBytes = imageData.toBytes(); + System.out.println("Image size: " + imageBytes.length + " bytes"); + + assertTrue(imageBytes.length > 0, "Cropped image should not be empty"); + System.out.println("Search feature crop retrieved successfully"); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06aStacItemTilerTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06aStacItemTilerTests.java index 9657fade6454..8c8f23b9207c 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06aStacItemTilerTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06aStacItemTilerTests.java @@ -3,7 +3,6 @@ package com.azure.analytics.planetarycomputer; -import com.azure.analytics.planetarycomputer.models.GetPreviewOptions; import com.azure.analytics.planetarycomputer.models.StacItemBounds; import com.azure.analytics.planetarycomputer.models.TileMatrix; import com.azure.analytics.planetarycomputer.models.TileMatrixSet; @@ -67,7 +66,7 @@ public void test06_02_ListTileMatrices() { System.out.println("Testing getTileMatrices to get all available tile matrix set IDs"); - List tileMatrixIds = dataClient.listTileMatrices(); + List tileMatrixIds = dataClient.getTileMatrices(); assertNotNull(tileMatrixIds, "Tile matrix IDs should not be null"); System.out.println("Number of tile matrices: " + tileMatrixIds.size()); @@ -90,7 +89,7 @@ public void test06_03_GetItemAssetDetails() { // Use listAvailableAssets (/assets endpoint) instead of getItemAssetDetails (/info endpoint) // which returns 424 "Unknown reference spec version" for this collection - List assets = dataClient.listAvailableAssets(collectionId, itemId); + List assets = dataClient.getItemAvailableAssets(collectionId, itemId); assertNotNull(assets, "Assets list should not be null"); assertTrue(assets.size() > 0, "Should have at least one asset"); @@ -115,7 +114,7 @@ public void test06_04_GetBounds() { System.out.println("Input - collection_id: " + collectionId); System.out.println("Input - item_id: " + itemId); - StacItemBounds boundsResult = dataClient.getBounds(collectionId, itemId); + StacItemBounds boundsResult = dataClient.getItemBounds(collectionId, itemId); assertNotNull(boundsResult, "Bounds result should not be null"); assertNotNull(boundsResult.getBounds(), "Bounds array should not be null"); @@ -144,11 +143,11 @@ public void test06_05_GetPreview() { System.out.println("Input - item_id: " + itemId); System.out.println("Input - dimensions: 512x512"); - // Recording shows Accept: image/png but server returns image/jpeg - // This is server behavior - it may return JPEG for performance reasons - GetPreviewOptions options - = new GetPreviewOptions().setWidth(512).setHeight(512).setAssets(Arrays.asList("image")); - BinaryData imageData = dataClient.getPreview(collectionId, itemId, options); + // Use protocol method to pass required assets parameter + com.azure.core.http.rest.RequestOptions requestOptions = new com.azure.core.http.rest.RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + BinaryData imageData = dataClient.getItemPreviewWithResponse(collectionId, itemId, requestOptions).getValue(); byte[] imageBytes = imageData.toBytes(); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06bStacItemTilerTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06bStacItemTilerTests.java index ab923909aa31..fb60d8ed9ddd 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06bStacItemTilerTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06bStacItemTilerTests.java @@ -5,6 +5,7 @@ import com.azure.analytics.planetarycomputer.models.*; import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Tag; @@ -12,7 +13,6 @@ import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.List; -import java.util.Map; import static org.junit.jupiter.api.Assertions.*; @@ -32,9 +32,14 @@ public void test06_06_GetInfoGeoJson() { System.out.println("Input - collection_id: " + collectionId); System.out.println("Input - item_id: " + itemId); - TilerInfoGeoJsonFeature data = dataClient.getInfoGeoJson(collectionId, itemId, Arrays.asList("image")); + // Pass assets parameter like Python SDK: get_item_info_geo_json(assets=["image"]) + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + Response response = dataClient.getItemInfoGeoJsonWithResponse(collectionId, itemId, requestOptions); - assertNotNull(data, "Response data should not be null"); + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + assertNotNull(response.getValue(), "Response body should not be null"); System.out.println("Info GeoJSON retrieved successfully"); } @@ -48,10 +53,14 @@ public void test06_07_ListStatistics() { System.out.println("Input - collection_id: " + collectionId); System.out.println("Input - item_id: " + itemId); - GetStatisticsOptions options = new GetStatisticsOptions().setAssets(Arrays.asList("image")); - TilerStacItemStatistics statistics = dataClient.listStatistics(collectionId, itemId, options); + // Pass assets parameter like Python SDK: get_item_statistics(assets=["image"]) + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + Response response = dataClient.getItemStatisticsWithResponse(collectionId, itemId, requestOptions); - assertNotNull(statistics, "Statistics should not be null"); + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + assertNotNull(response.getValue(), "Response body should not be null"); System.out.println("Statistics retrieved successfully"); } @@ -65,18 +74,17 @@ public void test06_08_GetWmtsCapabilities() { System.out.println("Input - collection_id: " + collectionId); System.out.println("Input - item_id: " + itemId); - // Use WithResponse API to bypass the codegen bug where toObject(byte[].class) - // tries JSON deserialization on XML content. Build query params manually. + // Use protocol method with query params for WMTS XML response RequestOptions requestOptions = new RequestOptions(); requestOptions.addQueryParam("assets", "image", false); requestOptions.addQueryParam("tile_format", "png", false); requestOptions.addQueryParam("tile_scale", "1", false); requestOptions.addQueryParam("minzoom", "7", false); requestOptions.addQueryParam("maxzoom", "14", false); - byte[] xmlBytes - = dataClient.getWmtsCapabilitiesWithResponse(collectionId, itemId, "WebMercatorQuad", requestOptions) - .getValue() - .toBytes(); + byte[] xmlBytes = dataClient + .getItemWmtsCapabilitiesByTmsWithResponse(collectionId, itemId, "WebMercatorQuad", requestOptions) + .getValue() + .toBytes(); String xmlString = new String(xmlBytes, StandardCharsets.UTF_8); @@ -101,15 +109,15 @@ public void test06_09_GetAssetStatistics() { System.out.println("Input - collection_id: " + collectionId); System.out.println("Input - item_id: " + itemId); - GetAssetStatisticsOptions options = new GetAssetStatisticsOptions().setAssets(Arrays.asList("image")); - AssetStatisticsResponse response = dataClient.getAssetStatistics(collectionId, itemId, options); + // Pass assets parameter like Python SDK: get_item_asset_statistics(assets=["image"]) + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + Response response + = dataClient.getItemAssetStatisticsWithResponse(collectionId, itemId, requestOptions); assertNotNull(response, "Response should not be null"); - Map statistics = response.getAdditionalProperties(); - assertNotNull(statistics, "Statistics should not be null"); - assertTrue(statistics.containsKey("image"), "Should contain statistics for 'image' asset"); - - System.out.println("Number of assets with statistics: " + statistics.size()); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + assertNotNull(response.getValue(), "Response body should not be null"); System.out.println("Asset statistics retrieved successfully"); } @@ -129,10 +137,14 @@ public void test06_10_CropGeoJson() { System.out.println("Input - collection_id: " + collectionId); System.out.println("Input - item_id: " + itemId); - CropGeoJsonOptions options - = new CropGeoJsonOptions().setAssets(Arrays.asList("image")).setAssetBandIndices("image|1,2,3"); - - BinaryData imageData = dataClient.cropGeoJson(collectionId, itemId, "png", options, feature); + // Use protocol method to pass required assets parameter + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + requestOptions.addQueryParam("format", "png", false); + BinaryData imageData + = dataClient.cropFeatureWithResponse(collectionId, itemId, BinaryData.fromObject(feature), requestOptions) + .getValue(); byte[] imageBytes = imageData.toBytes(); System.out.println("Image size: " + imageBytes.length + " bytes"); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06cStacItemTilerTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06cStacItemTilerTests.java index 4852a80b6876..333b731e58ce 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06cStacItemTilerTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06cStacItemTilerTests.java @@ -4,6 +4,8 @@ package com.azure.analytics.planetarycomputer; import com.azure.analytics.planetarycomputer.models.*; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Tag; @@ -30,11 +32,15 @@ public void test06_11_CropGeoJsonWithDimensions() { Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), Arrays.asList(-84.3906, 33.6714)))); Feature feature = new Feature(polygon, FeatureType.FEATURE).setProperties(new java.util.HashMap<>()); - CropGeoJsonOptions options - = new CropGeoJsonOptions().setAssets(Arrays.asList("image")).setAssetBandIndices("image|1,2,3"); - + // Use protocol method to pass assets + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); BinaryData imageData - = dataClient.cropGeoJsonWithDimensions(collectionId, itemId, 512, 512, "png", options, feature); + = dataClient + .cropFeatureWidthByHeightWithResponse(collectionId, itemId, 512, 512, "png", + BinaryData.fromObject(feature), requestOptions) + .getValue(); byte[] imageBytes = imageData.toBytes(); byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; @@ -56,19 +62,17 @@ public void test06_12_GetGeoJsonStatistics() { Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), Arrays.asList(-84.3906, 33.6714)))); Feature feature = new Feature(polygon, FeatureType.FEATURE).setProperties(new java.util.HashMap<>()); - // Use the protocol method to avoid BandStatistics.fromJson failing on null values - // returned by the server (codegen bug: fields typed as double but server sends null) - com.azure.core.http.rest.RequestOptions requestOptions = new com.azure.core.http.rest.RequestOptions(); + // Use protocol method to avoid deserialization issues with null statistics fields + RequestOptions requestOptions = new RequestOptions(); requestOptions.addQueryParam("assets", "image", false); - com.azure.core.http.rest.Response response = dataClient - .getGeoJsonStatisticsWithResponse(collectionId, itemId, BinaryData.fromObject(feature), requestOptions); + Response response = dataClient.getItemFeatureStatisticsWithResponse(collectionId, itemId, + BinaryData.fromObject(feature), requestOptions); assertNotNull(response); assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); BinaryData body = response.getValue(); assertNotNull(body); - // Validate the raw JSON has the expected structure String json = body.toString(); assertTrue(json.contains("\"type\":\"Feature\""), "Response should be a GeoJSON Feature"); assertTrue(json.contains("\"statistics\""), "Response should contain statistics"); @@ -84,10 +88,13 @@ public void test06_13_GetPart() { double minx = -84.3930, miny = 33.6798, maxx = -84.3670, maxy = 33.7058; - GetPartOptions options - = new GetPartOptions().setAssets(Arrays.asList("image")).setAssetBandIndices("image|1,2,3"); - - BinaryData imageData = dataClient.getPart(collectionId, itemId, minx, miny, maxx, maxy, "png", options); + // Use protocol method to pass required assets parameter + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + BinaryData imageData = dataClient + .getItemBboxCropWithResponse(collectionId, itemId, minx, miny, maxx, maxy, "png", requestOptions) + .getValue(); byte[] imageBytes = imageData.toBytes(); byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; @@ -106,11 +113,14 @@ public void test06_14_GetPartWithDimensions() { double minx = -84.3930, miny = 33.6798, maxx = -84.3670, maxy = 33.7058; - GetPartOptions options - = new GetPartOptions().setAssets(Arrays.asList("image")).setAssetBandIndices("image|1,2,3"); - - BinaryData imageData - = dataClient.getPartWithDimensions(collectionId, itemId, minx, miny, maxx, maxy, 256, 256, "png", options); + // Use protocol method to pass required assets parameter + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + BinaryData imageData = dataClient + .getItemBboxCropWithDimensionsWithResponse(collectionId, itemId, minx, miny, maxx, maxy, 256, 256, "png", + requestOptions) + .getValue(); byte[] imageBytes = imageData.toBytes(); byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; @@ -127,15 +137,19 @@ public void test06_15_GetPoint() { String collectionId = testEnvironment.getCollectionId(); String itemId = testEnvironment.getItemId(); - // Coordinates matching the recording - double longitude = -77.09; - double latitude = 38.9; + // Coordinates within the NAIP item bounds (Georgia area) + double longitude = -84.386; + double latitude = 33.676; - TilerCoreModelsResponsesPoint pointData = dataClient.getPoint(collectionId, itemId, longitude, latitude, - Arrays.asList("image"), null, null, null, null, null, null, null); + // Use protocol method to pass required assets parameter + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + Response response + = dataClient.getItemPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions); - assertNotNull(pointData); - assertNotNull(pointData.getBandNames()); + assertNotNull(response); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + assertNotNull(response.getValue()); System.out.println("Point data retrieved successfully"); } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06dStacItemTilerTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06dStacItemTilerTests.java index d985df12d027..40e47acbaef3 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06dStacItemTilerTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06dStacItemTilerTests.java @@ -8,7 +8,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Tag; -import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; @@ -27,11 +26,12 @@ public void test06_16_GetPreviewWithFormat() { String collectionId = testEnvironment.getCollectionId(); String itemId = testEnvironment.getItemId(); - // Recording doesn't have asset_bidx parameter - GetPreviewOptions options - = new GetPreviewOptions().setWidth(512).setHeight(512).setAssets(Arrays.asList("image")); - - BinaryData imageData = dataClient.getPreviewWithFormat(collectionId, itemId, "jpg", options); + // Use protocol method to pass assets (required by server) + com.azure.core.http.rest.RequestOptions requestOptions = new com.azure.core.http.rest.RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("format", "jpg", false); + BinaryData imageData + = dataClient.getItemPreviewWithFormatWithResponse(collectionId, itemId, "jpg", requestOptions).getValue(); byte[] imageBytes = imageData.toBytes(); byte[] jpegMagic = new byte[] { (byte) 0xFF, (byte) 0xD8, (byte) 0xFF }; @@ -48,19 +48,19 @@ public void test06_17_GetTileJson() { String collectionId = testEnvironment.getCollectionId(); String itemId = testEnvironment.getItemId(); - // Recording doesn't have asset_bidx parameter - GetTileJsonOptions options = new GetTileJsonOptions().setAssets(Arrays.asList("image")) - .setTileScale(1) - .setMinZoom(9) - .setTileFormat(TilerImageFormat.PNG); + // Use protocol method to pass required assets parameter + com.azure.core.http.rest.RequestOptions requestOptions = new com.azure.core.http.rest.RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + com.azure.core.http.rest.Response response + = dataClient.getItemTileJsonWithResponse(collectionId, itemId, requestOptions); - TileJsonMetadata tileJson = dataClient.getTileJson(collectionId, itemId, "WebMercatorQuad", options); + assertNotNull(response); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + TileJsonMetadata tileJson = response.getValue().toObject(TileJsonMetadata.class); assertNotNull(tileJson); - assertNotNull(tileJson.getTileJson()); - assertNotNull(tileJson.getTiles()); - assertTrue(tileJson.getTiles().size() > 0); - System.out.println("TileJSON version: " + tileJson.getTileJson()); + System.out.println("TileJSON retrieved successfully"); } @Test @@ -70,12 +70,13 @@ public void test06_18_GetTile() { String collectionId = testEnvironment.getCollectionId(); String itemId = testEnvironment.getItemId(); - GetTileOptions options - = new GetTileOptions().setAssets(Arrays.asList("image")).setAssetBandIndices("image|1,2,3"); - - // Tile coordinates matching the recording - BinaryData imageData - = dataClient.getTile(collectionId, itemId, "WebMercatorQuad", 13, 2341, 3133, 1, "png", options); + // Tile coordinates within NAIP item bounds (z=14, Atlanta area) + com.azure.core.http.rest.RequestOptions requestOptions = new com.azure.core.http.rest.RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + BinaryData imageData = dataClient + .getTileByFormatWithResponse(collectionId, itemId, "WebMercatorQuad", 14, 4349, 6564, "png", requestOptions) + .getValue(); byte[] imageBytes = imageData.toBytes(); byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; @@ -93,7 +94,7 @@ public void test06_19_ListAvailableAssets() { String collectionId = testEnvironment.getCollectionId(); String itemId = testEnvironment.getItemId(); - List assets = dataClient.listAvailableAssets(collectionId, itemId); + List assets = dataClient.getItemAvailableAssets(collectionId, itemId); assertNotNull(assets); assertTrue(assets.size() > 0); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer07MapLegendsTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer07MapLegendsTests.java index a8fbec8e0669..810d2aebdde3 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer07MapLegendsTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer07MapLegendsTests.java @@ -95,4 +95,67 @@ public void test07_02_GetIntervalLegend() throws Exception { System.out.println("Interval legend validated successfully"); } + + /** + * Test getting a legend as PNG image. + * Python equivalent: get_legend (colormap_name="rdylgn") + * JS equivalent: should get legend as PNG image (rdylgn colormap) + */ + @Test + @Tag("Legend") + public void test07_03_GetLegendAsPng() { + DataClient dataClient = getDataClient(); + String colorMapName = "rdylgn"; + + System.out.println("Input - color_map_name: " + colorMapName); + + BinaryData imageData = dataClient.getLegend(colorMapName); + + assertNotNull(imageData, "Legend image should not be null"); + + byte[] imageBytes = imageData.toBytes(); + System.out.println("Image size: " + imageBytes.length + " bytes"); + + assertTrue(imageBytes.length > 100, + String.format("Legend image should be substantial, got only %d bytes", imageBytes.length)); + + // Verify PNG magic bytes + byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; + for (int i = 0; i < pngMagic.length; i++) { + assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); + } + + System.out.println("Legend PNG image validated successfully"); + } + + /** + * Test getting a legend as PNG image for viridis colormap. + * JS equivalent: should get legend as PNG image (viridis colormap) + */ + @Test + @Tag("Legend") + public void test07_04_GetLegendViridis() { + DataClient dataClient = getDataClient(); + String colorMapName = "viridis"; + + System.out.println("Input - color_map_name: " + colorMapName); + + BinaryData imageData = dataClient.getLegend(colorMapName); + + assertNotNull(imageData, "Legend image should not be null"); + + byte[] imageBytes = imageData.toBytes(); + System.out.println("Image size: " + imageBytes.length + " bytes"); + + assertTrue(imageBytes.length > 100, + String.format("Legend image should be substantial, got only %d bytes", imageBytes.length)); + + // Verify PNG magic bytes + byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; + for (int i = 0; i < pngMagic.length; i++) { + assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); + } + + System.out.println("Viridis legend PNG image validated successfully"); + } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer08aCollectionLifecycleTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer08aCollectionLifecycleTests.java index 807816176c22..1ac8a1da4942 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer08aCollectionLifecycleTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer08aCollectionLifecycleTests.java @@ -11,120 +11,132 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Tag; -import java.time.OffsetDateTime; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - import static org.junit.jupiter.api.Assertions.*; /** - * Tests for Collection Lifecycle operations (Group 08a: Tests 01-03). + * Tests for Collection Lifecycle operations (Group 08a). + * Combined into a single test following the Python/JS SDK pattern: + * - Python: create_collection → update_collection (in planetary_computer_00_stac_collection.py) + * - JS: "should create, replace, and delete a collection" (07_collectionLifecycle.spec.ts) */ @Tag("CollectionLifecycle") public class TestPlanetaryComputer08aCollectionLifecycleTests extends PlanetaryComputerTestBase { - // Fixed collection ID to match recording - private static final String TEST_COLLECTION_ID = "test-collection-1769514824114"; + private static final String TEST_COLLECTION_ID = "test-collection-lifecycle-java"; + /** + * Test full collection lifecycle: create → replace → delete. + * Follows the JS SDK pattern of a single test covering the full lifecycle. + * Python equivalent: create_collection + update_collection + * JS equivalent: "should create, replace, and delete a collection" + */ @Test - @Tag("CreateCollection") - public void test08_01_BeginCreateCollection() { + @Tag("CollectionLifecycle") + public void test08_01_CreateReplaceDeleteCollection() { StacClient stacClient = getStacClient(); System.out.println("Test collection ID: " + TEST_COLLECTION_ID); - // Check if collection exists and delete it first + // Step 1: Clean up if exists from a previous failed run + // Matching JS: try { deleteCollection } catch { ignore } try { - stacClient.getCollection(TEST_COLLECTION_ID); - System.out.println("Collection '" + TEST_COLLECTION_ID + "' already exists, deleting first..."); - SyncPoller deletePoller = stacClient.beginDeleteCollection(TEST_COLLECTION_ID); - deletePoller.getFinalResult(); - System.out.println("Deleted existing collection '" + TEST_COLLECTION_ID + "'"); + SyncPoller cleanupPoller + = stacClient.beginDeleteCollection(TEST_COLLECTION_ID, new RequestOptions()); + cleanupPoller.waitForCompletion(); + System.out.println("Cleaned up existing collection"); + + // Wait for collection to be fully removed (matching JS: setTimeout 30s) + waitForCollectionDeletion(stacClient, TEST_COLLECTION_ID, 60); } catch (Exception ex) { - System.out.println("Collection '" + TEST_COLLECTION_ID + "' does not exist, proceeding with creation"); + System.out.println("No existing collection to clean up"); } - // Create collection - StacExtensionSpatialExtent spatialExtent - = new StacExtensionSpatialExtent().setBoundingBox(Arrays.asList(Arrays.asList(-180.0, -90.0, 180.0, 90.0))); - - List temporalInterval - = Arrays.asList(OffsetDateTime.parse("2018-01-01T00:00:00Z"), OffsetDateTime.parse("2018-12-31T23:59:59Z")); - StacCollectionTemporalExtent temporalExtent = new StacCollectionTemporalExtent(Arrays.asList(temporalInterval)); - - StacExtensionExtent extent = new StacExtensionExtent(spatialExtent, temporalExtent); - - Map additionalProperties = new HashMap<>(); - additionalProperties.put("id", TEST_COLLECTION_ID); - - StacCollection collection = new StacCollection("An example collection", Arrays.asList(), "CC-BY-4.0", extent); - collection.setStacVersion("1.0.0"); - collection.setTitle("Example Collection"); - collection.setType("Collection"); - collection.setShortDescription("An example collection"); - collection.setAdditionalProperties(additionalProperties); - - System.out.println("Calling: beginCreateCollection(...)"); - - SyncPoller createPoller = stacClient.beginCreateCollection(collection); + // Step 2: Create collection using protocol method with raw JSON + // Matching Python: begin_create_collection(body=collection_data) + // Matching JS: createCollectionWithRetry({...}) + String collectionJson = "{" + "\"id\": \"" + TEST_COLLECTION_ID + "\"," + "\"type\": \"Collection\"," + + "\"stac_version\": \"1.0.0\"," + "\"title\": \"Java SDK Test Collection\"," + + "\"description\": \"Test collection for Java SDK lifecycle tests\"," + "\"license\": \"proprietary\"," + + "\"extent\": {" + " \"spatial\": {\"bbox\": [[-180, -90, 180, 90]]}," + + " \"temporal\": {\"interval\": [[\"2020-01-01T00:00:00Z\", \"2024-12-31T23:59:59Z\"]]}" + "}," + + "\"links\": []" + "}"; + + System.out.println("Step 2: Creating collection..."); + SyncPoller createPoller + = stacClient.beginCreateCollection(BinaryData.fromString(collectionJson), new RequestOptions()); createPoller.getFinalResult(); - - System.out.println("Collection creation operation completed"); - - // Verify creation by retrieving the collection - StacCollection verifyCollection = stacClient.getCollection(TEST_COLLECTION_ID); - - assertEquals(TEST_COLLECTION_ID, verifyCollection.getId(), "Collection ID should match"); - assertEquals("Example Collection", verifyCollection.getTitle(), "Title should match"); - assertEquals("Collection", verifyCollection.getType(), "Type should be Collection"); - - System.out.println("Collection '" + TEST_COLLECTION_ID + "' created successfully"); - } - - @Test - @Tag("UpdateCollection") - public void test08_02_CreateOrReplaceCollection() { - StacClient stacClient = getStacClient(); - - System.out.println("Test collection ID: " + TEST_COLLECTION_ID); - - // Use protocol method to work around StacCollection.toJson() codegen bug - // that omits the 'id' field during serialization + System.out.println("Collection created"); + + // Step 3: Verify creation + // Matching JS: getCollection → expect(id), expect(title) + StacCollection collection = stacClient.getCollection(TEST_COLLECTION_ID); + assertEquals(TEST_COLLECTION_ID, collection.getId(), "Collection ID should match"); + assertEquals("Java SDK Test Collection", collection.getTitle(), "Title should match"); + System.out.println("Step 3: Collection verified - ID: " + collection.getId()); + + // Step 4: Replace (update) the collection + // Matching Python: replace_collection(collection_id, body=updated) + // Matching JS: replaceCollection(id, {...description: "UPDATED"}) Response getResponse = stacClient.getCollectionWithResponse(TEST_COLLECTION_ID, new RequestOptions()); - String collectionJson = getResponse.getValue().toString(); - - // Modify the description in the raw JSON - collectionJson = collectionJson.replace("An example collection", "Test collection - UPDATED"); - - // Replace collection using protocol method (raw JSON preserves all fields including 'id') - System.out.println("Calling: createOrReplaceCollection(...)"); - Response updateResponse = stacClient.createOrReplaceCollectionWithResponse(TEST_COLLECTION_ID, - BinaryData.fromString(collectionJson), new RequestOptions()); - - assertTrue(updateResponse.getStatusCode() >= 200 && updateResponse.getStatusCode() < 300); - String updatedJson = updateResponse.getValue().toString(); - assertTrue(updatedJson.contains("Test collection - UPDATED"), "Description should be updated"); + String currentJson = getResponse.getValue().toString(); + String updatedJson = currentJson.replace("Test collection for Java SDK lifecycle tests", + "UPDATED - Test collection for Java SDK lifecycle tests"); + + System.out.println("Step 4: Replacing collection..."); + Response replaceResponse = stacClient.replaceCollectionWithResponse(TEST_COLLECTION_ID, + BinaryData.fromString(updatedJson), new RequestOptions()); + + assertTrue(replaceResponse.getStatusCode() >= 200 && replaceResponse.getStatusCode() < 300); + String replaceBody = replaceResponse.getValue().toString(); + assertTrue(replaceBody.contains("UPDATED"), "Description should be updated"); + System.out.println("Step 4: Collection replaced successfully"); + + // Step 5: Delete collection + // Matching Python: begin_delete_collection(collection_id, polling=True).result() + // Matching JS: deleteCollection().pollUntilDone() + System.out.println("Step 5: Deleting collection..."); + SyncPoller deletePoller + = stacClient.beginDeleteCollection(TEST_COLLECTION_ID, new RequestOptions()); + deletePoller.waitForCompletion(); + System.out.println("Step 5: Collection deleted successfully"); - System.out.println("Collection '" + TEST_COLLECTION_ID + "' updated successfully"); + System.out.println("Full collection lifecycle completed: create → replace → delete"); } - @Test - @Tag("DeleteCollection") - public void test08_03_DeleteCollection() { - StacClient stacClient = getStacClient(); - - System.out.println("Test collection ID: " + TEST_COLLECTION_ID); - System.out.println("Calling: beginDeleteCollection(...)"); - - // Use protocol method and just start the LRO without waiting for completion - // (matching .NET test pattern which uses WaitUntil.Started) - SyncPoller deletePoller - = stacClient.beginDeleteCollection(TEST_COLLECTION_ID, new RequestOptions()); - deletePoller.poll(); + /** + * Waits until a collection is fully deleted by polling getCollection until it returns 404. + * Matching JS pattern: setTimeout with retry loop. + */ + private void waitForCollectionDeletion(StacClient stacClient, String collectionId, int maxWaitSeconds) { + long deadline = System.currentTimeMillis() + (maxWaitSeconds * 1000L); + int attempt = 0; + + while (System.currentTimeMillis() < deadline) { + attempt++; + try { + stacClient.getCollection(collectionId); + System.out.println(" Attempt " + attempt + ": collection still exists, waiting..."); + Thread.sleep(5000); + } catch (com.azure.core.exception.HttpResponseException ex) { + if (ex.getResponse().getStatusCode() == 404) { + System.out.println(" Attempt " + attempt + ": collection fully deleted (404)"); + return; + } + System.out + .println(" Attempt " + attempt + ": HTTP " + ex.getResponse().getStatusCode() + ", waiting..."); + try { + Thread.sleep(5000); + } catch (InterruptedException ie) { + Thread.currentThread().interrupt(); + return; + } + } catch (InterruptedException ie) { + Thread.currentThread().interrupt(); + return; + } + } - System.out.println("Collection '" + TEST_COLLECTION_ID + "' delete initiated successfully"); + System.out.println(" Collection not fully deleted after " + maxWaitSeconds + "s — proceeding anyway"); } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer09CollectionTilerTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer09CollectionTilerTests.java new file mode 100644 index 000000000000..2dd8e0a672c2 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer09CollectionTilerTests.java @@ -0,0 +1,289 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer; + +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.analytics.planetarycomputer.models.StacItemPointAsset; +import com.azure.analytics.planetarycomputer.models.TileSetList; +import com.azure.analytics.planetarycomputer.models.TileSetMetadata; +import com.azure.analytics.planetarycomputer.models.TilerAssetGeoJson; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; + +import java.nio.charset.StandardCharsets; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Tests for Collection Tiler operations (Group 09). + * Covers: getCollectionInfo, getCollectionPointAssets, getCollectionTile, + * getCollectionTileJson, getCollectionBboxCrop, getCollectionWmtsCapabilities, + * cropCollectionFeature, getCollectionTilesets, getCollectionAssetsForTile, + * getCollectionTilesetMetadata. + * JS equivalent: 08_collectionTiler.spec.ts + */ +@Tag("CollectionTiler") +public class TestPlanetaryComputer09CollectionTilerTests extends PlanetaryComputerTestBase { + + /** + * Test getting collection info. + * JS equivalent: should get collection info + */ + @Test + @Tag("Info") + public void test09_01_GetCollectionInfo() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing getCollectionInfo for collection: " + collectionId); + + // Use protocol method to avoid deserialization issues with the response format + RequestOptions requestOptions = new RequestOptions(); + com.azure.core.http.rest.Response response + = dataClient.getCollectionInfoWithResponse(collectionId, requestOptions); + + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + assertNotNull(response.getValue(), "Response body should not be null"); + System.out.println("Collection info retrieved successfully"); + } + + /** + * Test getting collection point assets. + * JS equivalent: should get collection point assets + */ + @Test + @Tag("Point") + public void test09_02_GetCollectionPointAssets() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + double longitude = -84.386; + double latitude = 33.676; + + System.out.println(String.format("Testing getCollectionPointAssets: lon=%f, lat=%f", longitude, latitude)); + + List assets = dataClient.getCollectionPointAssets(collectionId, longitude, latitude); + + assertNotNull(assets, "Point assets should not be null"); + System.out.println("Number of point assets: " + assets.size()); + System.out.println("Collection point assets retrieved successfully"); + } + + /** + * Test getting a collection tile as PNG. + * JS equivalent: should get collection tile as PNG + */ + @Test + @Tag("Tile") + public void test09_03_GetCollectionTile() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing getCollectionTileByScaleAndFormat: z=14, x=4349, y=6564"); + + // Use protocol method to pass required assets parameter + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + BinaryData imageData = dataClient + .getCollectionTileByScaleAndFormatWithResponse(collectionId, "WebMercatorQuad", 14.0, 4349.0, 6564.0, 1.0, + "png", requestOptions) + .getValue(); + + byte[] imageBytes = imageData.toBytes(); + System.out.println("Image size: " + imageBytes.length + " bytes"); + + assertTrue(imageBytes.length > 0, "Tile image should not be empty"); + + // Verify PNG magic bytes + byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; + for (int i = 0; i < pngMagic.length; i++) { + assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); + } + + System.out.println("Collection tile PNG validated successfully"); + } + + /** + * Test getting collection tile JSON. + * JS equivalent: should get collection tile JSON + */ + @Test + @Tag("TileJson") + public void test09_04_GetCollectionTileJson() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing getCollectionTileJson for collection: " + collectionId); + + // Use protocol method to pass required assets parameter + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + com.azure.core.http.rest.Response response + = dataClient.getCollectionTileJsonWithResponse(collectionId, requestOptions); + + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + System.out.println("Collection tile JSON retrieved successfully"); + } + + /** + * Test getting collection bbox crop. + * JS equivalent: should get collection bbox crop + */ + @Test + @Tag("BboxCrop") + public void test09_05_GetCollectionBboxCrop() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + + double minx = -84.39; + double miny = 33.68; + double maxx = -84.385; + double maxy = 33.685; + + System.out.println(String.format("Testing getCollectionBboxCrop: [%f, %f, %f, %f]", minx, miny, maxx, maxy)); + + // Use protocol method to pass required assets parameter + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + BinaryData imageData + = dataClient.getCollectionBboxCropWithResponse(collectionId, minx, miny, maxx, maxy, "png", requestOptions) + .getValue(); + + byte[] imageBytes = imageData.toBytes(); + System.out.println("Image size: " + imageBytes.length + " bytes"); + + assertTrue(imageBytes.length > 0, "Bbox crop image should not be empty"); + System.out.println("Collection bbox crop retrieved successfully"); + } + + /** + * Test getting collection WMTS capabilities. + * JS equivalent: should get collection WMTS capabilities + */ + @Test + @Tag("WMTS") + public void test09_06_GetCollectionWmtsCapabilities() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing getCollectionWmtsCapabilities for collection: " + collectionId); + + // Use protocol method to get XML response properly + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + byte[] xmlBytes + = dataClient.getCollectionWmtsCapabilitiesWithResponse(collectionId, requestOptions).getValue().toBytes(); + + String xmlString = new String(xmlBytes, StandardCharsets.UTF_8); + + assertTrue(xmlBytes.length > 0, "WMTS XML should not be empty"); + assertTrue(xmlString.contains("Capabilities"), "Response should contain Capabilities element"); + + System.out.println("XML size: " + xmlBytes.length + " bytes"); + System.out.println("Collection WMTS capabilities retrieved successfully"); + } + + /** + * Test cropping collection feature from GeoJSON. + * JS equivalent: should crop collection feature from GeoJSON + */ + @Test + @Tag("Crop") + public void test09_07_CropCollectionFeature() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + + // Small polygon in Atlanta area + List>> coordinates + = Arrays.asList(Arrays.asList(Arrays.asList(-84.39, 33.68), Arrays.asList(-84.385, 33.68), + Arrays.asList(-84.385, 33.685), Arrays.asList(-84.39, 33.685), Arrays.asList(-84.39, 33.68))); + Polygon geometry = new Polygon().setCoordinates(coordinates); + Feature feature = new Feature(geometry, FeatureType.FEATURE).setProperties(new HashMap<>()); + + System.out.println("Testing cropCollectionFeature for collection: " + collectionId); + + // Use protocol method to pass required assets parameter + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + BinaryData imageData + = dataClient.cropCollectionFeatureWithResponse(collectionId, BinaryData.fromObject(feature), requestOptions) + .getValue(); + + byte[] imageBytes = imageData.toBytes(); + System.out.println("Image size: " + imageBytes.length + " bytes"); + + assertTrue(imageBytes.length > 0, "Cropped image should not be empty"); + System.out.println("Collection feature crop retrieved successfully"); + } + + /** + * Test listing collection tilesets. + * JS equivalent: should list collection tilesets + */ + @Test + @Tag("Tilesets") + public void test09_08_GetCollectionTilesets() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing getCollectionTilesets for collection: " + collectionId); + + TileSetList tilesets = dataClient.getCollectionTilesets(collectionId); + + assertNotNull(tilesets, "Tilesets should not be null"); + assertNotNull(tilesets.getTilesets(), "Tilesets list should not be null"); + + System.out.println("Number of tilesets: " + tilesets.getTilesets().size()); + System.out.println("Collection tilesets retrieved successfully"); + } + + /** + * Test getting collection assets for a tile. + * JS equivalent: should get collection assets for a tile + */ + @Test + @Tag("Assets") + public void test09_09_GetCollectionAssetsForTile() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing getCollectionAssetsForTile: z=13, x=2174, y=3282"); + + List assets + = dataClient.getCollectionAssetsForTile(collectionId, "WebMercatorQuad", 13.0, 2174.0, 3282.0); + + assertNotNull(assets, "Tile assets should not be null"); + System.out.println("Number of tile assets: " + assets.size()); + System.out.println("Collection assets for tile retrieved successfully"); + } + + /** + * Test getting collection tileset metadata. + * JS equivalent: should get collection tileset metadata + */ + @Test + @Tag("TilesetMetadata") + public void test09_10_GetCollectionTilesetMetadata() { + DataClient dataClient = getDataClient(); + String collectionId = testEnvironment.getCollectionId(); + + System.out.println("Testing getCollectionTilesetMetadata for WebMercatorQuad"); + + TileSetMetadata metadata = dataClient.getCollectionTilesetMetadata(collectionId, "WebMercatorQuad"); + + assertNotNull(metadata, "Tileset metadata should not be null"); + System.out.println("Collection tileset metadata retrieved successfully"); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer01AsyncStacCollectionTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer01AsyncStacCollectionTests.java new file mode 100644 index 000000000000..31d2bc59d6d1 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer01AsyncStacCollectionTests.java @@ -0,0 +1,115 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer.async; + +import com.azure.analytics.planetarycomputer.PlanetaryComputerTestBase; +import com.azure.core.http.rest.RequestOptions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; +import reactor.test.StepVerifier; + +import java.time.Duration; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Async tests for STAC Collection operations (Groups 01a-01b). + * Mirrors sync tests in TestPlanetaryComputer01aStacCollectionTests and 01b. + */ +@Tag("STAC") +@Tag("Async") +public class TestPlanetaryComputer01AsyncStacCollectionTests extends PlanetaryComputerTestBase { + + private static final Duration TIMEOUT = Duration.ofSeconds(30); + + @Test + public void test01_01_ListCollectionsAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(stacAsyncClient.getCollections()).assertNext(collections -> { + assertNotNull(collections); + assertNotNull(collections.getCollections()); + assertTrue(collections.getCollections().size() > 0); + }).verifyComplete(); + } + + @Test + public void test01_02_GetConformanceClassAsync() { + StepVerifier.create(stacAsyncClient.getConformanceClasses()).assertNext(conformance -> { + assertNotNull(conformance); + assertNotNull(conformance.getConformsTo()); + assertTrue(conformance.getConformsTo().size() > 0); + }).verifyComplete(); + } + + @Test + public void test01_03_GetCollectionAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(stacAsyncClient.getCollection(collectionId)).assertNext(collection -> { + assertNotNull(collection); + assertEquals(collectionId, collection.getId()); + assertNotNull(collection.getExtent()); + assertNotNull(collection.getLicense()); + }).verifyComplete(); + } + + @Test + public void test01_04_GetPartitionTypeAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(stacAsyncClient.getPartitionType(collectionId)).assertNext(partitionType -> { + assertNotNull(partitionType); + assertNotNull(partitionType.getScheme()); + }).verifyComplete(); + } + + @Test + public void test01_05_ListRenderOptionsAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(stacAsyncClient.getRenderOptions(collectionId)).assertNext(renderOptions -> { + assertNotNull(renderOptions); + }).verifyComplete(); + } + + @Test + public void test01_06_GetTileSettingsAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(stacAsyncClient.getTileSettings(collectionId)).assertNext(tileSettings -> { + assertNotNull(tileSettings); + }).verifyComplete(); + } + + @Test + public void test01_07_ListMosaicsAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(stacAsyncClient.getMosaics(collectionId)).assertNext(mosaics -> { + assertNotNull(mosaics); + }).verifyComplete(); + } + + @Test + public void test01_08_GetCollectionQueryablesAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(stacAsyncClient.getCollectionQueryablesWithResponse(collectionId, new RequestOptions())) + .assertNext(response -> { + assertNotNull(response); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + }) + .verifyComplete(); + } + + @Test + public void test01_09_GetCollectionConfigurationAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(stacAsyncClient.getCollectionConfiguration(collectionId)).assertNext(config -> { + assertNotNull(config); + }).verifyComplete(); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer02AsyncIngestionTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer02AsyncIngestionTests.java new file mode 100644 index 000000000000..88e4dc41b12a --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer02AsyncIngestionTests.java @@ -0,0 +1,166 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer.async; + +import com.azure.analytics.planetarycomputer.PlanetaryComputerTestBase; +import com.azure.analytics.planetarycomputer.models.IngestionDefinition; +import com.azure.analytics.planetarycomputer.models.IngestionRun; +import com.azure.analytics.planetarycomputer.models.IngestionSourceSummary; +import com.azure.analytics.planetarycomputer.models.IngestionType; +import com.azure.analytics.planetarycomputer.models.ManagedIdentityMetadata; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; +import reactor.test.StepVerifier; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Async tests for Ingestion Management operations. + * Mirrors sync tests in TestPlanetaryComputer02aIngestionManagementTests and 02d. + */ +@Tag("Ingestion") +@Tag("Async") +public class TestPlanetaryComputer02AsyncIngestionTests extends PlanetaryComputerTestBase { + + /** + * Async version of test02_01_ListManagedIdentities. + * PagedFlux of ManagedIdentityMetadata — collect to list and verify. + */ + @Test + @Tag("ManagedIdentity") + public void test02_01_ListManagedIdentitiesAsync() { + StepVerifier.create(ingestionAsyncClient.listManagedIdentities().collectList()).assertNext(identities -> { + assertNotNull(identities, "Managed identities list should not be null"); + + for (ManagedIdentityMetadata identity : identities) { + assertNotNull(identity.getObjectId(), "Object ID should not be null"); + assertNotNull(identity.getResourceId(), "Resource ID should not be null"); + } + + System.out.println("Async: Listed " + identities.size() + " managed identities"); + }).verifyComplete(); + } + + /** + * Async version of test02_ListSources. + * PagedFlux of IngestionSourceSummary — collect to list and verify. + */ + @Test + @Tag("Sources") + public void test02_ListSourcesAsync() { + StepVerifier.create(ingestionAsyncClient.listSources(null, null).collectList()).assertNext(sources -> { + assertNotNull(sources, "Sources list should not be null"); + + for (IngestionSourceSummary source : sources) { + assertNotNull(source.getId(), "Source should have ID"); + System.out.println(" Async Source ID: " + source.getId() + ", Kind: " + source.getKind()); + } + + System.out.println("Async: Listed " + sources.size() + " ingestion sources"); + }).verifyComplete(); + } + + /** + * Async version of test02_14_ListIngestions. + * PagedFlux of IngestionDefinition — collect to list and verify. + */ + @Test + @Tag("IngestionDefinition") + public void test02_14_ListIngestionsAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(ingestionAsyncClient.list(collectionId, null, null).collectList()) + .assertNext(ingestions -> { + assertNotNull(ingestions, "Ingestions list should not be null"); + + for (IngestionDefinition ingestion : ingestions) { + assertNotNull(ingestion.getId(), "Ingestion ID should not be null"); + assertNotNull(ingestion.getImportType(), "Import type should not be null"); + System.out + .println(" Async Ingestion ID: " + ingestion.getId() + ", Type: " + ingestion.getImportType()); + } + + System.out + .println("Async: Listed " + ingestions.size() + " ingestions for collection: " + collectionId); + }) + .verifyComplete(); + } + + /** + * Async version of test02_15_GetIngestion. + * Creates an ingestion, then retrieves it by ID. + */ + @Test + @Tag("IngestionDefinition") + public void test02_15_CreateAndGetIngestionAsync() { + String collectionId = testEnvironment.getCollectionId(); + String sourceCatalogUrl = testEnvironment.getIngestionCatalogUrl(); + + IngestionDefinition ingestionDefinition = new IngestionDefinition(); + ingestionDefinition.setDisplayName("Async Test Ingestion for Retrieval"); + ingestionDefinition.setImportType(IngestionType.STATIC_CATALOG).setSourceCatalogUrl(sourceCatalogUrl); + ingestionDefinition.setKeepOriginalAssets(true); + ingestionDefinition.setSkipExistingItems(true); + + StepVerifier.create(ingestionAsyncClient.create(collectionId, ingestionDefinition).flatMap(created -> { + assertNotNull(created, "Created ingestion should not be null"); + assertNotNull(created.getId(), "Created ingestion ID should not be null"); + System.out.println("Async: Created ingestion with ID: " + created.getId()); + + return ingestionAsyncClient.get(collectionId, created.getId()); + })).assertNext(retrieved -> { + assertNotNull(retrieved, "Retrieved ingestion should not be null"); + assertEquals("Async Test Ingestion for Retrieval", retrieved.getDisplayName(), "Display name should match"); + assertEquals(IngestionType.STATIC_CATALOG, retrieved.getImportType(), "Import type should match"); + + System.out.println("Async: Retrieved ingestion:"); + System.out.println(" - ID: " + retrieved.getId()); + System.out.println(" - Display Name: " + retrieved.getDisplayName()); + System.out.println(" - Import Type: " + retrieved.getImportType()); + System.out.println(" - Source Catalog URL: " + retrieved.getSourceCatalogUrl()); + }).verifyComplete(); + } + + /** + * Async version of test02_16_ListRuns. + * Creates an ingestion, creates a run, then lists runs. + */ + @Test + @Tag("IngestionRun") + public void test02_16_CreateRunAndListRunsAsync() { + String collectionId = testEnvironment.getCollectionId(); + String sourceCatalogUrl = testEnvironment.getIngestionCatalogUrl(); + + IngestionDefinition ingestionDefinition = new IngestionDefinition(); + ingestionDefinition.setDisplayName("Async Ingestion for List Runs"); + ingestionDefinition.setImportType(IngestionType.STATIC_CATALOG).setSourceCatalogUrl(sourceCatalogUrl); + ingestionDefinition.setKeepOriginalAssets(true); + ingestionDefinition.setSkipExistingItems(true); + + StepVerifier.create(ingestionAsyncClient.create(collectionId, ingestionDefinition).flatMap(createdIngestion -> { + String ingestionId = createdIngestion.getId(); + System.out.println("Async: Created ingestion with ID: " + ingestionId); + + return ingestionAsyncClient.createRun(collectionId, ingestionId).flatMap(createdRun -> { + System.out.println("Async: Created run with ID: " + createdRun.getId()); + + return ingestionAsyncClient.listRuns(collectionId, ingestionId, null, null).collectList(); + }); + })).assertNext(runs -> { + assertNotNull(runs, "Runs list should not be null"); + assertTrue(runs.size() > 0, "Should have at least one run"); + System.out.println("Async: Found " + runs.size() + " runs"); + + for (IngestionRun run : runs) { + assertNotNull(run.getId(), "Run ID should not be null"); + assertNotNull(run.getOperation(), "Operation should not be null"); + + System.out.println(" Async Run:"); + System.out.println(" - ID: " + run.getId()); + System.out.println(" - Status: " + run.getOperation().getStatus()); + System.out.println(" - Total Items: " + run.getOperation().getTotalItems()); + } + }).verifyComplete(); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer03AsyncSasTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer03AsyncSasTests.java new file mode 100644 index 000000000000..ae4926f9fe36 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer03AsyncSasTests.java @@ -0,0 +1,118 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer.async; + +import com.azure.analytics.planetarycomputer.PlanetaryComputerTestBase; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; +import reactor.test.StepVerifier; + +import java.time.Duration; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Async tests for Shared Access Signature operations (Group 03). + * Mirrors sync tests in TestPlanetaryComputer03SharedAccessSignatureTests. + * Covers: getToken, getUrl (sign URL), revokeToken. + */ +@Tag("SAS") +@Tag("Async") +public class TestPlanetaryComputer03AsyncSasTests extends PlanetaryComputerTestBase { + + private static final Duration TIMEOUT = Duration.ofSeconds(30); + + /** + * Async test getting a SAS token with default duration. + * Mirrors: test03_01_GetTokenWithDefaultDuration + */ + @Test + @Tag("GetToken") + public void test03_01_GetTokenWithDefaultDurationAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(sharedAccessSignatureAsyncClient.getToken(collectionId)).assertNext(tokenResponse -> { + assertNotNull(tokenResponse, "Token response should not be null"); + assertNotNull(tokenResponse.getToken(), "Token should not be null"); + assertTrue(tokenResponse.getToken().length() > 0, "Token should not be empty"); + assertNotNull(tokenResponse.getExpiresOn(), "ExpiresOn should not be null"); + }).verifyComplete(); + } + + /** + * Async test getting a SAS token with custom duration (60 minutes). + * Mirrors: test03_02_GetTokenWithCustomDuration + */ + @Test + @Tag("GetToken") + public void test03_02_GetTokenWithCustomDurationAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(sharedAccessSignatureAsyncClient.getToken(collectionId, 60)).assertNext(tokenResponse -> { + assertNotNull(tokenResponse, "Token response should not be null"); + assertNotNull(tokenResponse.getToken(), "Token should not be null"); + assertTrue(tokenResponse.getToken().length() > 0, "Token should not be empty"); + assertNotNull(tokenResponse.getExpiresOn(), "ExpiresOn should not be null"); + }).verifyComplete(); + } + + /** + * Async test signing a URL with SAS. + * Mirrors: test03_03_SignUrl + */ + @Test + @Tag("SignUrl") + public void test03_03_SignUrlAsync() { + String collectionId = testEnvironment.getCollectionId(); + + // First get a collection to find an asset href to sign + StepVerifier.create(stacAsyncClient.getCollection(collectionId).flatMap(collection -> { + assertNotNull(collection, "Collection should not be null"); + + // Find a suitable href from collection assets + String originalHref = null; + if (collection.getAssets() != null) { + for (java.util.Map.Entry entry : collection + .getAssets() + .entrySet()) { + if (entry.getValue().getHref() != null && !entry.getValue().getHref().isEmpty()) { + originalHref = entry.getValue().getHref(); + break; + } + } + } + + if (originalHref == null) { + return reactor.core.publisher.Mono.empty(); + } + + final String href = originalHref; + return sharedAccessSignatureAsyncClient.getUrl(href) + .map(signedLink -> new String[] { href, signedLink.getHref() }); + })).assertNext(hrefs -> { + String originalHref = hrefs[0]; + String signedHref = hrefs[1]; + assertNotNull(signedHref, "Signed href should not be null"); + assertNotEquals(originalHref, signedHref, "Signed URL should differ from original"); + assertTrue(signedHref.contains("?") || signedHref.contains("sig="), + "Signed URL should contain query parameters or sig"); + }).verifyComplete(); + } + + /** + * Async test revoking a SAS token. + * Mirrors: test03_04_RevokeToken + */ + @Test + @Tag("RevokeToken") + public void test03_04_RevokeTokenAsync() { + String collectionId = testEnvironment.getCollectionId(); + + // First get a token to ensure there's something to revoke, then revoke + StepVerifier.create(sharedAccessSignatureAsyncClient.getToken(collectionId).flatMap(tokenResponse -> { + assertNotNull(tokenResponse, "Should be able to get a token before revoking"); + return sharedAccessSignatureAsyncClient.revokeToken(); + })).verifyComplete(); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer04AsyncStacSpecTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer04AsyncStacSpecTests.java new file mode 100644 index 000000000000..7338097123bd --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer04AsyncStacSpecTests.java @@ -0,0 +1,255 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer.async; + +import com.azure.analytics.planetarycomputer.PlanetaryComputerTestBase; +import com.azure.analytics.planetarycomputer.models.StacCollection; +import com.azure.analytics.planetarycomputer.models.StacItem; +import com.azure.analytics.planetarycomputer.models.StacSearchParameters; +import com.azure.analytics.planetarycomputer.models.StacSearchSortingDirection; +import com.azure.analytics.planetarycomputer.models.StacSortExtension; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; +import reactor.test.StepVerifier; + +import java.time.Duration; +import java.util.Arrays; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Async tests for STAC Specification compliance (Groups 04a-04b). + * Mirrors sync tests in TestPlanetaryComputer04aStacSpecificationTests + * and TestPlanetaryComputer04bStacSpecificationTests. + * Covers: getConformanceClasses, getCollections, getCollection, getItemCollection, search, getItem. + */ +@Tag("STAC") +@Tag("Async") +public class TestPlanetaryComputer04AsyncStacSpecTests extends PlanetaryComputerTestBase { + + private static final Duration TIMEOUT = Duration.ofSeconds(30); + + /** + * Async test getting STAC conformance classes. + * Mirrors: test04_01_GetConformanceClass + */ + @Test + @Tag("Conformance") + public void test04_01_GetConformanceClassAsync() { + StepVerifier.create(stacAsyncClient.getConformanceClasses()).assertNext(conformance -> { + assertNotNull(conformance, "Conformance should not be null"); + assertNotNull(conformance.getConformsTo(), "ConformsTo should not be null"); + assertTrue(conformance.getConformsTo().size() > 0, "Should have at least one conformance class"); + + // Check for core STAC conformance classes + String[] expectedUris = new String[] { + "http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core", + "https://api.stacspec.org/v1.0.0/core", + "https://api.stacspec.org/v1.0.0/collections", + "https://api.stacspec.org/v1.0.0/item-search" }; + + int foundCount = 0; + for (String expectedUri : expectedUris) { + if (conformance.getConformsTo().stream().anyMatch(uri -> uri.toString().equals(expectedUri))) { + foundCount++; + } + } + assertEquals(expectedUris.length, foundCount, + String.format("Expected all %d core STAC URIs, found %d", expectedUris.length, foundCount)); + }).verifyComplete(); + } + + /** + * Async test listing STAC collections and verifying >=5 exist. + * Mirrors: test04_03_ListCollections + */ + @Test + @Tag("Collections") + public void test04_03_ListCollectionsAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(stacAsyncClient.getCollections()).assertNext(collectionsResponse -> { + assertNotNull(collectionsResponse, "Collections response should not be null"); + assertNotNull(collectionsResponse.getCollections(), "Collections should not be null"); + assertTrue(collectionsResponse.getCollections().size() > 0, "Should have at least one collection"); + assertTrue(collectionsResponse.getCollections().size() >= 5, + String.format("Expected at least 5 collections, got %d", collectionsResponse.getCollections().size())); + + // Validate collection structure + StacCollection firstCollection = collectionsResponse.getCollections().get(0); + assertNotNull(firstCollection.getId(), "Collection should have id"); + assertFalse(firstCollection.getId().isEmpty(), "Collection ID should not be empty"); + assertNotNull(firstCollection.getExtent(), "Collection should have extent"); + + // Validate that the test collection is in the list + boolean foundTestCollection + = collectionsResponse.getCollections().stream().anyMatch(c -> c.getId().equals(collectionId)); + assertTrue(foundTestCollection, collectionId + " collection should be present"); + }).verifyComplete(); + } + + /** + * Async test getting a specific STAC collection for specification compliance. + * Mirrors: test04_04_GetCollection_SpecificationCompliance + */ + @Test + @Tag("Specification") + public void test04_04_GetCollectionSpecComplianceAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(stacAsyncClient.getCollection(collectionId)).assertNext(collection -> { + // Verify STAC Collection spec compliance + assertNotNull(collection.getId(), "Collection must have 'id'"); + assertEquals("Collection", collection.getType(), "Type must be 'Collection'"); + assertNotNull(collection.getStacVersion(), "Collection must have 'stac_version'"); + assertTrue(collection.getStacVersion().matches("^\\d+\\.\\d+\\.\\d+"), + "STAC version should be in format X.Y.Z"); + + assertNotNull(collection.getDescription(), "Collection must have 'description'"); + assertNotNull(collection.getLicense(), "Collection must have 'license'"); + assertNotNull(collection.getExtent(), "Collection must have 'extent'"); + + // Verify extent structure + assertNotNull(collection.getExtent().getSpatial(), "Extent must have 'spatial' property"); + assertNotNull(collection.getExtent().getTemporal(), "Extent must have 'temporal' property"); + + assertNotNull(collection.getLinks(), "Collection must have 'links'"); + assertTrue(collection.getLinks().size() > 0, "Collection should have at least one link"); + }).verifyComplete(); + } + + /** + * Async test listing items in a collection. + * Mirrors: test04_06_GetItemCollection + */ + @Test + @Tag("Items") + public void test04_06_GetItemCollectionAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(stacAsyncClient.getItemCollection(collectionId, 10, null, null, null, null, null)) + .assertNext(itemsResponse -> { + assertNotNull(itemsResponse, "Items response should not be null"); + assertNotNull(itemsResponse.getFeatures(), "Response should have features"); + assertTrue(itemsResponse.getFeatures().size() >= 5, + String.format("Expected at least 5 items, got %d", itemsResponse.getFeatures().size())); + + // Validate items have expected asset types + if (itemsResponse.getFeatures().size() > 0) { + StacItem firstItem = itemsResponse.getFeatures().get(0); + assertNotNull(firstItem.getAssets(), "Item should have assets"); + assertTrue(firstItem.getAssets().size() >= 2, + String.format("Expected at least 2 assets, got %d", firstItem.getAssets().size())); + + // Check for common assets + String[] commonAssets = new String[] { "image", "tilejson", "thumbnail", "rendered_preview" }; + long foundAssetsCount = java.util.Arrays.stream(commonAssets) + .filter(asset -> firstItem.getAssets().containsKey(asset)) + .count(); + assertTrue(foundAssetsCount >= 1, "Expected at least one common asset type"); + } + }) + .verifyComplete(); + } + + /** + * Async test searching items with temporal filter. + * Mirrors: test04_08_SearchItemsWithTemporalFilter + */ + @Test + @Tag("Search") + public void test04_08_SearchItemsWithTemporalFilterAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StacSearchParameters searchParams = new StacSearchParameters(); + searchParams.setCollections(Arrays.asList(collectionId)); + searchParams.setDatetime("2021-01-01T00:00:00Z/2022-12-31T00:00:00Z"); + searchParams.setLimit(10); + + StepVerifier.create(stacAsyncClient.search(searchParams)).assertNext(searchResponse -> { + assertNotNull(searchResponse, "Search response should not be null"); + assertNotNull(searchResponse.getFeatures(), "Response should have features"); + assertTrue(searchResponse.getFeatures().size() >= 5, String + .format("Expected at least 5 items in temporal search, got %d", searchResponse.getFeatures().size())); + + // Validate temporal filtering - all items should have properties + for (int i = 0; i < Math.min(3, searchResponse.getFeatures().size()); i++) { + StacItem item = searchResponse.getFeatures().get(i); + assertNotNull(item.getProperties(), "Item should have properties"); + } + }).verifyComplete(); + } + + /** + * Async test searching items with sorting (DESC and ASC). + * Mirrors: test04_09_SearchItemsWithSorting + */ + @Test + @Tag("Search") + public void test04_09_SearchItemsWithSortingAsync() { + String collectionId = testEnvironment.getCollectionId(); + + // Search with descending sort by datetime + StacSearchParameters searchParamsDesc = new StacSearchParameters(); + searchParamsDesc.setCollections(Arrays.asList(collectionId)); + searchParamsDesc.setSortBy(Arrays.asList(new StacSortExtension("datetime", StacSearchSortingDirection.DESC))); + searchParamsDesc.setLimit(5); + + StepVerifier.create(stacAsyncClient.search(searchParamsDesc)).assertNext(searchResponseDesc -> { + assertNotNull(searchResponseDesc, "DESC search response should not be null"); + assertNotNull(searchResponseDesc.getFeatures(), "DESC response should have features"); + assertTrue(searchResponseDesc.getFeatures().size() >= 3, String + .format("Expected at least 3 items in DESC sort, got %d", searchResponseDesc.getFeatures().size())); + }).verifyComplete(); + + // Search with ascending sort by datetime + StacSearchParameters searchParamsAsc = new StacSearchParameters(); + searchParamsAsc.setCollections(Arrays.asList(collectionId)); + searchParamsAsc.setSortBy(Arrays.asList(new StacSortExtension("datetime", StacSearchSortingDirection.ASC))); + searchParamsAsc.setLimit(5); + + StepVerifier.create(stacAsyncClient.search(searchParamsAsc)).assertNext(searchResponseAsc -> { + assertNotNull(searchResponseAsc, "ASC search response should not be null"); + assertNotNull(searchResponseAsc.getFeatures(), "ASC response should have features"); + assertTrue(searchResponseAsc.getFeatures().size() >= 3, + String.format("Expected at least 3 items in ASC sort, got %d", searchResponseAsc.getFeatures().size())); + }).verifyComplete(); + } + + /** + * Async test getting a specific STAC item. + * Mirrors: test04_12_GetItem + */ + @Test + @Tag("Items") + public void test04_12_GetItemAsync() { + String collectionId = testEnvironment.getCollectionId(); + + // First get an item ID from the collection, then fetch that specific item + StepVerifier.create( + stacAsyncClient.getItemCollection(collectionId, 1, null, null, null, null, null).flatMap(itemsResponse -> { + assertTrue(itemsResponse.getFeatures().size() > 0, "Should have at least one item to test"); + String itemId = itemsResponse.getFeatures().get(0).getId(); + return stacAsyncClient.getItem(collectionId, itemId); + })).assertNext(item -> { + assertNotNull(item, "Item should not be null"); + assertNotNull(item.getId(), "Item ID should not be null"); + assertEquals(collectionId, item.getCollection(), "Item collection should match"); + + // Validate item structure + assertNotNull(item.getGeometry(), "Item should have geometry"); + assertNotNull(item.getProperties(), "Item should have properties"); + assertNotNull(item.getAssets(), "Item should have assets"); + assertTrue(item.getAssets().size() >= 2, + String.format("Expected at least 2 assets, got %d", item.getAssets().size())); + + // Validate common asset types + String[] commonAssets = new String[] { "image", "tilejson", "thumbnail", "rendered_preview" }; + long foundAssetsCount = java.util.Arrays.stream(commonAssets) + .filter(asset -> item.getAssets().containsKey(asset)) + .count(); + assertTrue(foundAssetsCount >= 1, "Expected at least one common asset type"); + }).verifyComplete(); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer05AsyncMosaicsTilerTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer05AsyncMosaicsTilerTests.java new file mode 100644 index 000000000000..bcc08330d5c4 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer05AsyncMosaicsTilerTests.java @@ -0,0 +1,240 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer.async; + +import com.azure.analytics.planetarycomputer.PlanetaryComputerTestBase; +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.analytics.planetarycomputer.models.TilerMosaicSearchRegistrationResponse; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; +import reactor.core.publisher.Mono; +import reactor.test.StepVerifier; + +import java.nio.charset.StandardCharsets; +import java.util.Arrays; +import java.util.HashMap; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Async tests for Mosaics Tiler operations (Groups 05a+05b+05c). + * Mirrors sync tests in TestPlanetaryComputer05aMosaicsTilerTests, + * TestPlanetaryComputer05bMosaicsTilerTests, and TestPlanetaryComputer05cMosaicsTilerTests. + * Covers: registerMosaicsSearch, getSearchInfo, getSearchTileJson, getSearchTile, + * getSearchWmtsCapabilities, getSearchPointWithAssets, getSearchAssetsForTile, + * getSearchBboxCrop, cropSearchFeature. + */ +@Tag("Mosaics") +@Tag("Async") +public class TestPlanetaryComputer05AsyncMosaicsTilerTests extends PlanetaryComputerTestBase { + + /** + * Registers a mosaics search asynchronously using protocol method with raw JSON filter. + * + * @param collectionId the collection ID to filter on + * @return Mono emitting the search ID + */ + private Mono registerSearchAsync(String collectionId) { + String requestBody = "{\"filter\":" + createCqlFilterJson(collectionId) + ",\"filter-lang\":\"cql2-json\"" + + ",\"sortby\":[{\"field\":\"datetime\",\"direction\":\"desc\"}]}"; + + return dataAsyncClient + .registerMosaicsSearchWithResponse(BinaryData.fromString(requestBody), new RequestOptions()) + .map(response -> response.getValue().toObject(TilerMosaicSearchRegistrationResponse.class).getSearchId()); + } + + /** + * Creates a CQL2-JSON filter as raw JSON string. + */ + private String createCqlFilterJson(String collectionId) { + return "{\"op\":\"and\",\"args\":[" + "{\"op\":\"=\",\"args\":[{\"property\":\"collection\"},\"" + collectionId + + "\"]}," + "{\"op\":\">=\",\"args\":[{\"property\":\"datetime\"},\"2021-01-01T00:00:00Z\"]}," + + "{\"op\":\"<=\",\"args\":[{\"property\":\"datetime\"},\"2022-12-31T23:59:59Z\"]}" + "]}"; + } + + // ---- 05a tests ---- + + @Test + @Tag("RegisterSearch") + public void test05_01_RegisterMosaicsSearchAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(registerSearchAsync(collectionId)).assertNext(searchId -> { + assertNotNull(searchId, "Search ID should not be null"); + assertFalse(searchId.isEmpty(), "Search ID should not be empty"); + }).verifyComplete(); + } + + @Test + @Tag("SearchInfo") + public void test05_02_GetMosaicsSearchInfoAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier + .create(registerSearchAsync(collectionId).flatMap(searchId -> dataAsyncClient.getSearchInfo(searchId))) + .assertNext(searchInfo -> { + assertNotNull(searchInfo, "Search info should not be null"); + }) + .verifyComplete(); + } + + @Test + @Tag("TileJson") + public void test05_03_GetMosaicsTileJsonAsync() { + String collectionId = testEnvironment.getCollectionId(); + + Mono pipeline = registerSearchAsync(collectionId).flatMap(searchId -> { + RequestOptions tileJsonOptions = new RequestOptions(); + tileJsonOptions.addQueryParam("assets", "image", false); + tileJsonOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + return dataAsyncClient.getSearchTileJsonWithResponse(searchId, tileJsonOptions).map(response -> { + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + return response.getValue(); + }); + }); + + StepVerifier.create(pipeline).assertNext(tileJson -> { + assertNotNull(tileJson, "TileJSON response should not be null"); + }).verifyComplete(); + } + + @Test + @Tag("Tile") + public void test05_04_GetMosaicsTileAsync() { + String collectionId = testEnvironment.getCollectionId(); + + Mono pipeline = registerSearchAsync(collectionId).flatMap(searchId -> { + RequestOptions tileOptions = new RequestOptions(); + tileOptions.addQueryParam("assets", "image", false); + tileOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + return dataAsyncClient + .getSearchTileByFormatWithResponse(searchId, "WebMercatorQuad", 13.0, 2174.0, 3282.0, "png", + tileOptions) + .map(response -> response.getValue().toBytes()); + }); + + StepVerifier.create(pipeline).assertNext(imageBytes -> { + byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; + assertTrue(imageBytes.length > 100, "Image should be substantial"); + for (int i = 0; i < pngMagic.length; i++) { + assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); + } + }).verifyComplete(); + } + + @Test + @Tag("WMTS") + public void test05_05_GetMosaicsWmtsCapabilitiesAsync() { + String collectionId = testEnvironment.getCollectionId(); + + Mono pipeline = registerSearchAsync(collectionId).flatMap(searchId -> { + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("tile_format", "png", false); + requestOptions.addQueryParam("tile_scale", "1", false); + requestOptions.addQueryParam("minzoom", "7", false); + requestOptions.addQueryParam("maxzoom", "13", false); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + return dataAsyncClient + .getSearchWmtsCapabilitiesByTmsWithResponse(searchId, "WebMercatorQuad", requestOptions) + .map(response -> new String(response.getValue().toBytes(), StandardCharsets.UTF_8)); + }); + + StepVerifier.create(pipeline).assertNext(xmlString -> { + assertTrue(xmlString.length() > 0, "XML should not be empty"); + assertTrue(xmlString.contains("Capabilities"), "Response should contain Capabilities element"); + assertTrue(xmlString.toLowerCase().contains("wmts"), "Response should reference WMTS"); + }).verifyComplete(); + } + + // ---- 05b tests ---- + + @Test + @Tag("Assets") + public void test05_06_GetMosaicsAssetsForPointAsync() { + String collectionId = testEnvironment.getCollectionId(); + double longitude = -84.43202751899601; + double latitude = 33.639647639722273; + + StepVerifier + .create(registerSearchAsync(collectionId) + .flatMap(searchId -> dataAsyncClient.getSearchPointWithAssets(searchId, longitude, latitude))) + .assertNext(assets -> { + assertNotNull(assets, "Assets list should not be null"); + if (!assets.isEmpty()) { + assertNotNull(assets.get(0), "First asset should not be null"); + assertNotNull(assets.get(0).getId(), "Asset ID should not be null"); + assertFalse(assets.get(0).getId().isEmpty(), "Asset ID should not be empty"); + } + }) + .verifyComplete(); + } + + @Test + @Tag("Assets") + public void test05_07_GetMosaicsAssetsForTileAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier + .create(registerSearchAsync(collectionId).flatMap(searchId -> dataAsyncClient + .getSearchAssetsForTile(searchId, "WebMercatorQuad", collectionId, 13.0, 2174.0, 3282.0))) + .assertNext(assets -> { + assertNotNull(assets, "Assets list should not be null"); + }) + .verifyComplete(); + } + + // ---- 05c tests ---- + + @Test + @Tag("BboxCrop") + public void test05_08_GetSearchBboxCropAsync() { + String collectionId = testEnvironment.getCollectionId(); + double minx = -84.39; + double miny = 33.68; + double maxx = -84.385; + double maxy = 33.685; + + Mono pipeline = registerSearchAsync(collectionId).flatMap(searchId -> { + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + return dataAsyncClient + .getSearchBboxCropWithResponse(searchId, minx, miny, maxx, maxy, "png", requestOptions) + .map(response -> response.getValue().toBytes()); + }); + + StepVerifier.create(pipeline).assertNext(imageBytes -> { + assertTrue(imageBytes.length > 0, "Bbox crop image should not be empty"); + }).verifyComplete(); + } + + @Test + @Tag("FeatureCrop") + public void test05_09_CropSearchFeatureAsync() { + String collectionId = testEnvironment.getCollectionId(); + + Polygon geometry = new Polygon() + .setCoordinates(Arrays.asList(Arrays.asList(Arrays.asList(-84.39, 33.68), Arrays.asList(-84.385, 33.68), + Arrays.asList(-84.385, 33.685), Arrays.asList(-84.39, 33.685), Arrays.asList(-84.39, 33.68)))); + Feature feature = new Feature(geometry, FeatureType.FEATURE).setProperties(new HashMap<>()); + + Mono pipeline = registerSearchAsync(collectionId).flatMap(searchId -> { + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + return dataAsyncClient + .cropSearchFeatureWithResponse(searchId, BinaryData.fromObject(feature), requestOptions) + .map(response -> response.getValue().toBytes()); + }); + + StepVerifier.create(pipeline).assertNext(imageBytes -> { + assertTrue(imageBytes.length > 0, "Cropped image should not be empty"); + }).verifyComplete(); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer06AsyncItemTilerTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer06AsyncItemTilerTests.java new file mode 100644 index 000000000000..085f888838a5 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer06AsyncItemTilerTests.java @@ -0,0 +1,333 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer.async; + +import com.azure.analytics.planetarycomputer.PlanetaryComputerTestBase; +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; +import reactor.test.StepVerifier; + +import java.nio.charset.StandardCharsets; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Async tests for STAC Item Tiler operations (Groups 06a+06b+06c+06d). + * Mirrors sync tests in TestPlanetaryComputer06aStacItemTilerTests, + * TestPlanetaryComputer06bStacItemTilerTests, TestPlanetaryComputer06cStacItemTilerTests, + * and TestPlanetaryComputer06dStacItemTilerTests. + * Covers: getTileMatrixDefinitions, getTileMatrices, getItemAvailableAssets, + * getItemBounds, getItemPreview, getItemInfoGeoJson, getItemStatistics, + * getItemWmtsCapabilities, cropFeature, getItemBboxCrop, getItemPoint, + * getItemPreviewWithFormat, getItemTileJson, getTileByFormat. + */ +@Tag("ItemTiler") +@Tag("Async") +public class TestPlanetaryComputer06AsyncItemTilerTests extends PlanetaryComputerTestBase { + + // ---- 06a tests ---- + + @Test + @Tag("TileMatrices") + @Tag("TileMatrixDefinitions") + public void test06_01_GetTileMatrixDefinitionsAsync() { + StepVerifier.create(dataAsyncClient.getTileMatrixDefinitions("WebMercatorQuad")).assertNext(tileMatrixSet -> { + assertNotNull(tileMatrixSet, "TileMatrixSet should not be null"); + assertNotNull(tileMatrixSet.getId(), "TileMatrixSet ID should not be null"); + assertNotNull(tileMatrixSet.getTileMatrices(), "TileMatrices should not be null"); + assertTrue(tileMatrixSet.getTileMatrices().size() > 0, "Should have at least one tile matrix"); + + assertEquals(256, tileMatrixSet.getTileMatrices().get(0).getTileWidth(), + "Standard tile width should be 256"); + assertEquals(256, tileMatrixSet.getTileMatrices().get(0).getTileHeight(), + "Standard tile height should be 256"); + }).verifyComplete(); + } + + @Test + @Tag("TileMatrices") + public void test06_02_ListTileMatricesAsync() { + StepVerifier.create(dataAsyncClient.getTileMatrices()).assertNext(tileMatrixIds -> { + assertNotNull(tileMatrixIds, "Tile matrix IDs should not be null"); + assertTrue(tileMatrixIds.contains("WebMercatorQuad"), "Should include WebMercatorQuad"); + assertTrue(tileMatrixIds.contains("WorldCRS84Quad"), "Should include WorldCRS84Quad"); + }).verifyComplete(); + } + + @Test + @Tag("Assets") + public void test06_03_GetItemAvailableAssetsAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + StepVerifier.create(dataAsyncClient.getItemAvailableAssets(collectionId, itemId)).assertNext(assets -> { + assertNotNull(assets, "Assets list should not be null"); + assertTrue(assets.size() > 0, "Should have at least one asset"); + for (String asset : assets) { + assertNotNull(asset, "Asset name should not be null"); + assertFalse(asset.isEmpty(), "Asset name should not be empty"); + } + }).verifyComplete(); + } + + @Test + @Tag("Bounds") + public void test06_04_GetItemBoundsAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + StepVerifier.create(dataAsyncClient.getItemBounds(collectionId, itemId)).assertNext(boundsResult -> { + assertNotNull(boundsResult, "Bounds result should not be null"); + assertNotNull(boundsResult.getBounds(), "Bounds array should not be null"); + assertEquals(4, boundsResult.getBounds().size(), + "Bounds should have 4 coordinates [minx, miny, maxx, maxy]"); + + List bounds = boundsResult.getBounds(); + assertTrue(bounds.get(0) < bounds.get(2), "minx should be less than maxx"); + assertTrue(bounds.get(1) < bounds.get(3), "miny should be less than maxy"); + }).verifyComplete(); + } + + @Test + @Tag("Preview") + public void test06_05_GetItemPreviewAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + + StepVerifier.create(dataAsyncClient.getItemPreviewWithResponse(collectionId, itemId, requestOptions) + .map(response -> response.getValue().toBytes())).assertNext(imageBytes -> { + assertTrue(imageBytes.length > 100, + String.format("Image should be substantial, got only %d bytes", imageBytes.length)); + + // Server may return JPEG or PNG + boolean isJpeg = imageBytes.length >= 3 + && imageBytes[0] == (byte) 0xFF + && imageBytes[1] == (byte) 0xD8 + && imageBytes[2] == (byte) 0xFF; + byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; + boolean isPng = imageBytes.length >= 8; + if (isPng) { + for (int i = 0; i < pngMagic.length && isPng; i++) { + isPng = imageBytes[i] == pngMagic[i]; + } + } + assertTrue(isJpeg || isPng, "Expected JPEG or PNG format"); + }).verifyComplete(); + } + + // ---- 06b tests ---- + + @Test + @Tag("Info") + public void test06_06_GetInfoGeoJsonAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + + StepVerifier.create(dataAsyncClient.getItemInfoGeoJsonWithResponse(collectionId, itemId, requestOptions)) + .assertNext(response -> { + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + assertNotNull(response.getValue(), "Response body should not be null"); + }) + .verifyComplete(); + } + + @Test + @Tag("Statistics") + public void test06_07_GetItemStatisticsAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + + StepVerifier.create(dataAsyncClient.getItemStatisticsWithResponse(collectionId, itemId, requestOptions)) + .assertNext(response -> { + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + assertNotNull(response.getValue(), "Response body should not be null"); + }) + .verifyComplete(); + } + + @Test + @Tag("WMTS") + public void test06_08_GetWmtsCapabilitiesAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("tile_format", "png", false); + requestOptions.addQueryParam("tile_scale", "1", false); + requestOptions.addQueryParam("minzoom", "7", false); + requestOptions.addQueryParam("maxzoom", "14", false); + + StepVerifier + .create(dataAsyncClient + .getItemWmtsCapabilitiesByTmsWithResponse(collectionId, itemId, "WebMercatorQuad", requestOptions) + .map(response -> new String(response.getValue().toBytes(), StandardCharsets.UTF_8))) + .assertNext(xmlString -> { + assertTrue(xmlString.length() > 0, "XML should not be empty"); + assertTrue(xmlString.contains("Capabilities"), "Response should contain Capabilities element"); + assertTrue(xmlString.toLowerCase().contains("wmts"), "Response should reference WMTS"); + assertTrue(xmlString.contains("TileMatrix"), "Response should contain TileMatrix information"); + }) + .verifyComplete(); + } + + @Test + @Tag("Crop") + public void test06_09_CropFeatureAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + Polygon geometry = new Polygon().setCoordinates( + Arrays.asList(Arrays.asList(Arrays.asList(-84.3906, 33.6714), Arrays.asList(-84.3814, 33.6714), + Arrays.asList(-84.3814, 33.6806), Arrays.asList(-84.3906, 33.6806), Arrays.asList(-84.3906, 33.6714)))); + Feature feature = new Feature(geometry, FeatureType.FEATURE).setProperties(new HashMap<>()); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + requestOptions.addQueryParam("format", "png", false); + + StepVerifier.create(dataAsyncClient + .cropFeatureWithResponse(collectionId, itemId, BinaryData.fromObject(feature), requestOptions) + .map(response -> response.getValue().toBytes())).assertNext(imageBytes -> { + byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; + assertTrue(imageBytes.length > 100, "Image should be substantial"); + for (int i = 0; i < pngMagic.length; i++) { + assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); + } + }).verifyComplete(); + } + + @Test + @Tag("Part") + public void test06_10_GetItemBboxCropAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + double minx = -84.3930, miny = 33.6798, maxx = -84.3670, maxy = 33.7058; + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + + StepVerifier.create(dataAsyncClient + .getItemBboxCropWithResponse(collectionId, itemId, minx, miny, maxx, maxy, "png", requestOptions) + .map(response -> response.getValue().toBytes())).assertNext(imageBytes -> { + byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; + assertTrue(imageBytes.length > 100, "Image should be substantial"); + for (int i = 0; i < pngMagic.length; i++) { + assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); + } + }).verifyComplete(); + } + + // ---- 06c tests ---- + + @Test + @Tag("Point") + public void test06_11_GetItemPointAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + double longitude = -84.386; + double latitude = 33.676; + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + + StepVerifier + .create(dataAsyncClient.getItemPointWithResponse(collectionId, itemId, longitude, latitude, requestOptions)) + .assertNext(response -> { + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + assertNotNull(response.getValue(), "Response body should not be null"); + }) + .verifyComplete(); + } + + // ---- 06d tests ---- + + @Test + @Tag("Preview") + public void test06_12_GetPreviewWithFormatAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("format", "jpg", false); + + StepVerifier + .create(dataAsyncClient.getItemPreviewWithFormatWithResponse(collectionId, itemId, "jpg", requestOptions) + .map(response -> response.getValue().toBytes())) + .assertNext(imageBytes -> { + byte[] jpegMagic = new byte[] { (byte) 0xFF, (byte) 0xD8, (byte) 0xFF }; + assertTrue(imageBytes.length > 100, "Image should be substantial"); + for (int i = 0; i < jpegMagic.length; i++) { + assertEquals(jpegMagic[i], imageBytes[i], String.format("JPEG magic byte %d mismatch", i)); + } + }) + .verifyComplete(); + } + + @Test + @Tag("TileJson") + public void test06_13_GetItemTileJsonAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + + StepVerifier.create(dataAsyncClient.getItemTileJsonWithResponse(collectionId, itemId, requestOptions)) + .assertNext(response -> { + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + assertNotNull(response.getValue(), "Response body should not be null"); + }) + .verifyComplete(); + } + + @Test + @Tag("Tile") + public void test06_14_GetTileByFormatAsync() { + String collectionId = testEnvironment.getCollectionId(); + String itemId = testEnvironment.getItemId(); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + + StepVerifier.create(dataAsyncClient + .getTileByFormatWithResponse(collectionId, itemId, "WebMercatorQuad", 14, 4349, 6564, "png", requestOptions) + .map(response -> response.getValue().toBytes())).assertNext(imageBytes -> { + byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; + assertTrue(imageBytes.length > 100, "Image should be substantial"); + for (int i = 0; i < pngMagic.length; i++) { + assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); + } + }).verifyComplete(); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer07AsyncMapLegendsTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer07AsyncMapLegendsTests.java new file mode 100644 index 000000000000..b308849819e1 --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer07AsyncMapLegendsTests.java @@ -0,0 +1,139 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer.async; + +import com.azure.analytics.planetarycomputer.PlanetaryComputerTestBase; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; +import reactor.test.StepVerifier; + +import java.util.Iterator; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Async tests for Map Legend operations (Test07). + * Mirrors sync tests in TestPlanetaryComputer07MapLegendsTests. + */ +@Tag("Tiler") +@Tag("Legends") +@Tag("Async") +public class TestPlanetaryComputer07AsyncMapLegendsTests extends PlanetaryComputerTestBase { + + private final ObjectMapper objectMapper = new ObjectMapper(); + + @Test + @Tag("ClassMapLegend") + public void test07_01_GetClassMapLegendAsync() { + String classmapName = "mtbs-severity"; + + StepVerifier + .create( + dataAsyncClient.getClassMapLegendWithResponse(classmapName, null).map(response -> response.getValue())) + .assertNext(responseData -> { + try { + JsonNode root = objectMapper.readTree(responseData.toBytes()); + + assertTrue(root.isObject(), "Response should be a JSON object"); + + int classCount = root.size(); + assertTrue(classCount > 0, "Response should not be empty"); + + String[] expectedClasses = { "0", "1", "2", "3", "4", "5", "6" }; + for (String expectedClass : expectedClasses) { + assertTrue(root.has(expectedClass), "Class '" + expectedClass + "' should be in response"); + } + + Iterator fieldNames = root.fieldNames(); + while (fieldNames.hasNext()) { + String classValue = fieldNames.next(); + JsonNode colorElement = root.get(classValue); + + assertTrue(colorElement.isArray(), "Color for class '" + classValue + "' should be an array"); + assertEquals(4, colorElement.size(), + "Color for class '" + classValue + "' should have 4 RGBA values"); + + for (int i = 0; i < 4; i++) { + JsonNode component = colorElement.get(i); + assertTrue(component.isNumber(), "Component should be a number"); + int value = component.asInt(); + assertTrue(value >= 0 && value <= 255, "Component should be 0-255"); + } + } + } catch (Exception e) { + fail("Failed to parse JSON response: " + e.getMessage()); + } + }) + .verifyComplete(); + } + + @Test + @Tag("IntervalLegend") + public void test07_02_GetIntervalLegendAsync() { + String colormapName = "modis-64A1"; + + StepVerifier + .create( + dataAsyncClient.getIntervalLegendWithResponse(colormapName, null).map(response -> response.getValue())) + .assertNext(responseData -> { + try { + JsonNode root = objectMapper.readTree(responseData.toBytes()); + + assertTrue(root.isArray(), "Response should be a JSON array"); + int itemCount = root.size(); + assertTrue(itemCount > 0, "Response should not be empty"); + + for (JsonNode item : root) { + assertTrue(item.isArray(), "Each item should be an array"); + assertTrue(item.size() >= 2, "Each item should have at least 2 elements [value, color]"); + } + } catch (Exception e) { + fail("Failed to parse JSON response: " + e.getMessage()); + } + }) + .verifyComplete(); + } + + @Test + @Tag("Legend") + public void test07_03_GetLegendAsPngAsync() { + String colorMapName = "rdylgn"; + + StepVerifier.create(dataAsyncClient.getLegend(colorMapName)).assertNext(imageData -> { + assertNotNull(imageData, "Legend image should not be null"); + + byte[] imageBytes = imageData.toBytes(); + assertTrue(imageBytes.length > 100, + String.format("Legend image should be substantial, got only %d bytes", imageBytes.length)); + + // Verify PNG magic bytes + byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; + for (int i = 0; i < pngMagic.length; i++) { + assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); + } + }).verifyComplete(); + } + + @Test + @Tag("Legend") + public void test07_04_GetLegendViridisAsync() { + String colorMapName = "viridis"; + + StepVerifier.create(dataAsyncClient.getLegend(colorMapName)).assertNext(imageData -> { + assertNotNull(imageData, "Legend image should not be null"); + + byte[] imageBytes = imageData.toBytes(); + assertTrue(imageBytes.length > 100, + String.format("Legend image should be substantial, got only %d bytes", imageBytes.length)); + + // Verify PNG magic bytes + byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; + for (int i = 0; i < pngMagic.length; i++) { + assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); + } + }).verifyComplete(); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer08AsyncCollectionLifecycleTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer08AsyncCollectionLifecycleTests.java new file mode 100644 index 000000000000..a959de8279ee --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer08AsyncCollectionLifecycleTests.java @@ -0,0 +1,78 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer.async; + +import com.azure.analytics.planetarycomputer.PlanetaryComputerTestBase; +import com.azure.analytics.planetarycomputer.models.AssetMetadata; +import com.azure.analytics.planetarycomputer.models.FileDetails; +import com.azure.analytics.planetarycomputer.models.StacAssetData; +import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; +import reactor.test.StepVerifier; + +import java.nio.charset.StandardCharsets; +import java.util.Arrays; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Async tests for Collection Asset Lifecycle operations. + * Combined into a single test to ensure correct ordering (create → replace → delete). + * Mirrors sync TestPlanetaryComputer08bCollectionLifecycleTests. + */ +@Tag("CollectionLifecycle") +@Tag("Async") +public class TestPlanetaryComputer08AsyncCollectionLifecycleTests extends PlanetaryComputerTestBase { + + @Test + @Tag("CollectionAsset") + public void test08_AsyncCollectionAssetLifecycle() { + String collectionId = testEnvironment.getCollectionId(); + String assetId = "test-asset-async"; + + // Step 1: Clean up if exists + stacAsyncClient.deleteCollectionAsset(collectionId, assetId) + .onErrorResume(ex -> reactor.core.publisher.Mono.empty()) + .block(); + + // Step 2: Create asset + AssetMetadata createMetadata + = new AssetMetadata(assetId, "text/plain", Arrays.asList("metadata"), "Test Asset Async", null); + byte[] createContent = "Test asset content async".getBytes(StandardCharsets.UTF_8); + FileDetails createFile + = new FileDetails(BinaryData.fromBytes(createContent)).setFilename("test-asset-async.txt") + .setContentType("text/plain"); + StacAssetData createData = new StacAssetData(createMetadata, createFile); + + StepVerifier.create(stacAsyncClient.createCollectionAsset(collectionId, createData)).assertNext(response -> { + assertNotNull(response, "Create response should not be null"); + System.out.println("Async: Asset created"); + }).verifyComplete(); + + // Step 3: Replace asset + AssetMetadata replaceMetadata + = new AssetMetadata(assetId, "text/plain", Arrays.asList("metadata"), "Test Asset Async - Updated", null); + byte[] replaceContent = "Test asset content async - updated".getBytes(StandardCharsets.UTF_8); + FileDetails replaceFile + = new FileDetails(BinaryData.fromBytes(replaceContent)).setFilename("test-asset-async-updated.txt") + .setContentType("text/plain"); + StacAssetData replaceData = new StacAssetData(replaceMetadata, replaceFile); + + StepVerifier.create(stacAsyncClient.replaceCollectionAsset(collectionId, assetId, replaceData)) + .assertNext(response -> { + assertNotNull(response, "Replace response should not be null"); + System.out.println("Async: Asset replaced"); + }) + .verifyComplete(); + + // Step 4: Delete asset + StepVerifier.create(stacAsyncClient.deleteCollectionAsset(collectionId, assetId)).assertNext(response -> { + assertNotNull(response, "Delete response should not be null"); + System.out.println("Async: Asset deleted"); + }).verifyComplete(); + + System.out.println("Async: Collection asset lifecycle completed: create → replace → delete"); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer09AsyncCollectionTilerTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer09AsyncCollectionTilerTests.java new file mode 100644 index 000000000000..de65ef7075cc --- /dev/null +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/async/TestPlanetaryComputer09AsyncCollectionTilerTests.java @@ -0,0 +1,201 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.analytics.planetarycomputer.async; + +import com.azure.analytics.planetarycomputer.PlanetaryComputerTestBase; +import com.azure.analytics.planetarycomputer.models.Feature; +import com.azure.analytics.planetarycomputer.models.FeatureType; +import com.azure.analytics.planetarycomputer.models.Polygon; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Tag; +import reactor.test.StepVerifier; + +import java.nio.charset.StandardCharsets; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Async tests for Collection Tiler operations (Group 09). + * Mirrors sync tests in TestPlanetaryComputer09CollectionTilerTests. + * Covers: getCollectionInfo, getCollectionPointAssets, getCollectionTile, + * getCollectionTileJson, getCollectionBboxCrop, getCollectionWmtsCapabilities, + * cropCollectionFeature, getCollectionTilesets, getCollectionAssetsForTile, + * getCollectionTilesetMetadata. + */ +@Tag("CollectionTiler") +@Tag("Async") +public class TestPlanetaryComputer09AsyncCollectionTilerTests extends PlanetaryComputerTestBase { + + @Test + @Tag("Info") + public void test09_01_GetCollectionInfoAsync() { + String collectionId = testEnvironment.getCollectionId(); + + RequestOptions requestOptions = new RequestOptions(); + StepVerifier.create(dataAsyncClient.getCollectionInfoWithResponse(collectionId, requestOptions)) + .assertNext(response -> { + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + assertNotNull(response.getValue(), "Response body should not be null"); + }) + .verifyComplete(); + } + + @Test + @Tag("Point") + public void test09_02_GetCollectionPointAssetsAsync() { + String collectionId = testEnvironment.getCollectionId(); + double longitude = -84.386; + double latitude = 33.676; + + StepVerifier.create(dataAsyncClient.getCollectionPointAssets(collectionId, longitude, latitude)) + .assertNext(assets -> { + assertNotNull(assets, "Point assets should not be null"); + System.out.println("Async: Number of point assets: " + assets.size()); + }) + .verifyComplete(); + } + + @Test + @Tag("Tile") + public void test09_03_GetCollectionTileAsync() { + String collectionId = testEnvironment.getCollectionId(); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + + StepVerifier.create(dataAsyncClient + .getCollectionTileByScaleAndFormatWithResponse(collectionId, "WebMercatorQuad", 14.0, 4349.0, 6564.0, 1.0, + "png", requestOptions) + .map(response -> response.getValue().toBytes())).assertNext(imageBytes -> { + assertTrue(imageBytes.length > 0, "Tile image should not be empty"); + + // Verify PNG magic bytes + byte[] pngMagic = new byte[] { (byte) 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; + for (int i = 0; i < pngMagic.length; i++) { + assertEquals(pngMagic[i], imageBytes[i], String.format("PNG magic byte %d mismatch", i)); + } + }).verifyComplete(); + } + + @Test + @Tag("TileJson") + public void test09_04_GetCollectionTileJsonAsync() { + String collectionId = testEnvironment.getCollectionId(); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + + StepVerifier.create(dataAsyncClient.getCollectionTileJsonWithResponse(collectionId, requestOptions)) + .assertNext(response -> { + assertNotNull(response, "Response should not be null"); + assertTrue(response.getStatusCode() >= 200 && response.getStatusCode() < 300); + }) + .verifyComplete(); + } + + @Test + @Tag("BboxCrop") + public void test09_05_GetCollectionBboxCropAsync() { + String collectionId = testEnvironment.getCollectionId(); + + double minx = -84.39; + double miny = 33.68; + double maxx = -84.385; + double maxy = 33.685; + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + + StepVerifier.create(dataAsyncClient + .getCollectionBboxCropWithResponse(collectionId, minx, miny, maxx, maxy, "png", requestOptions) + .map(response -> response.getValue().toBytes())).assertNext(imageBytes -> { + assertTrue(imageBytes.length > 0, "Bbox crop image should not be empty"); + }).verifyComplete(); + } + + @Test + @Tag("WMTS") + public void test09_06_GetCollectionWmtsCapabilitiesAsync() { + String collectionId = testEnvironment.getCollectionId(); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + + StepVerifier.create(dataAsyncClient.getCollectionWmtsCapabilitiesWithResponse(collectionId, requestOptions) + .map(response -> response.getValue().toBytes())).assertNext(xmlBytes -> { + assertTrue(xmlBytes.length > 0, "WMTS XML should not be empty"); + String xmlString = new String(xmlBytes, StandardCharsets.UTF_8); + assertTrue(xmlString.contains("Capabilities"), "Response should contain Capabilities element"); + }).verifyComplete(); + } + + @Test + @Tag("Crop") + public void test09_07_CropCollectionFeatureAsync() { + String collectionId = testEnvironment.getCollectionId(); + + // Small polygon in Atlanta area + List>> coordinates + = Arrays.asList(Arrays.asList(Arrays.asList(-84.39, 33.68), Arrays.asList(-84.385, 33.68), + Arrays.asList(-84.385, 33.685), Arrays.asList(-84.39, 33.685), Arrays.asList(-84.39, 33.68))); + Polygon geometry = new Polygon().setCoordinates(coordinates); + Feature feature = new Feature(geometry, FeatureType.FEATURE).setProperties(new HashMap<>()); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addQueryParam("assets", "image", false); + requestOptions.addQueryParam("asset_bidx", "image|1,2,3", false); + + StepVerifier.create(dataAsyncClient + .cropCollectionFeatureWithResponse(collectionId, BinaryData.fromObject(feature), requestOptions) + .map(response -> response.getValue().toBytes())).assertNext(imageBytes -> { + assertTrue(imageBytes.length > 0, "Cropped image should not be empty"); + }).verifyComplete(); + } + + @Test + @Tag("Tilesets") + public void test09_08_GetCollectionTilesetsAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(dataAsyncClient.getCollectionTilesets(collectionId)).assertNext(tilesets -> { + assertNotNull(tilesets, "Tilesets should not be null"); + assertNotNull(tilesets.getTilesets(), "Tilesets list should not be null"); + System.out.println("Async: Number of tilesets: " + tilesets.getTilesets().size()); + }).verifyComplete(); + } + + @Test + @Tag("Assets") + public void test09_09_GetCollectionAssetsForTileAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier + .create(dataAsyncClient.getCollectionAssetsForTile(collectionId, "WebMercatorQuad", 13.0, 2174.0, 3282.0)) + .assertNext(assets -> { + assertNotNull(assets, "Tile assets should not be null"); + System.out.println("Async: Number of tile assets: " + assets.size()); + }) + .verifyComplete(); + } + + @Test + @Tag("TilesetMetadata") + public void test09_10_GetCollectionTilesetMetadataAsync() { + String collectionId = testEnvironment.getCollectionId(); + + StepVerifier.create(dataAsyncClient.getCollectionTilesetMetadata(collectionId, "WebMercatorQuad")) + .assertNext(metadata -> { + assertNotNull(metadata, "Tileset metadata should not be null"); + }) + .verifyComplete(); + } +} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/FinalCoverageTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/FinalCoverageTests.java index e14a80c826da..5321ae35fab5 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/FinalCoverageTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/FinalCoverageTests.java @@ -76,8 +76,8 @@ public void testStacQueryableDeserializeAllFields() throws Exception { @Test public void testStacQueryableRoundTrip() throws Exception { - Map def = new HashMap<>(); - def.put("type", "string"); + Map def = new HashMap<>(); + def.put("type", BinaryData.fromString("\"string\"")); StacQueryable model = new StacQueryable("platform", def).setCreateIndex(false) .setDataType(StacQueryableDefinitionDataType.fromString("string")); model = BinaryData.fromObject(model).toObject(StacQueryable.class); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/GetMosaicTileJsonOptionsTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/GetMosaicTileJsonOptionsTests.java deleted file mode 100644 index d85c707ca4f6..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/GetMosaicTileJsonOptionsTests.java +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.analytics.planetarycomputer.models; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import java.util.Arrays; - -/** - * Unit tests for {@link GetMosaicTileJsonOptions}. - * This model is a pure options bag (query params) — no JSON serialization. - * Tests verify getter/setter round-trips. - */ -public final class GetMosaicTileJsonOptionsTests { - - @Test - public void testSettersAndGetters() { - GetMosaicTileJsonOptions options = new GetMosaicTileJsonOptions().setAssets(Arrays.asList("B04", "B03", "B02")) - .setExpression("B04/B03") - .setAssetBandIndices("0,1,2") - .setAssetAsBand(true) - .setNoData(0.0) - .setUnscale(false) - .setScanLimit(10000) - .setItemsLimit(100) - .setTimeLimit(30) - .setExitWhenFull(true) - .setSkipCovered(false) - .setAlgorithm(TerrainAlgorithm.TERRARIUM) - .setAlgorithmParams("{\"format\":\"png\"}") - .setMinZoom(0) - .setMaxZoom(18) - .setTileScale(1) - .setBuffer("64") - .setColorFormula("gamma RGB 3.5 saturation 1.7 sigmoidal RGB 15 0.35") - .setCollection("sentinel-2-l2a") - .setResampling(Resampling.NEAREST) - .setPixelSelection(PixelSelection.FIRST) - .setRescale(Arrays.asList("0,10000")) - .setColorMapName(ColorMapNames.VIRIDIS) - .setColorMap("{\"0\":[0,0,0,255]}") - .setReturnMask(true); - - Assertions.assertEquals(3, options.getAssets().size()); - Assertions.assertEquals("B04", options.getAssets().get(0)); - Assertions.assertEquals("B04/B03", options.getExpression()); - Assertions.assertEquals("0,1,2", options.getAssetBandIndices()); - Assertions.assertEquals(0.0, options.getNoData()); - Assertions.assertEquals(10000, options.getScanLimit()); - Assertions.assertEquals(100, options.getItemsLimit()); - Assertions.assertEquals(30, options.getTimeLimit()); - Assertions.assertEquals(TerrainAlgorithm.TERRARIUM, options.getAlgorithm()); - Assertions.assertEquals("{\"format\":\"png\"}", options.getAlgorithmParams()); - Assertions.assertEquals(0, options.getMinZoom()); - Assertions.assertEquals(18, options.getMaxZoom()); - Assertions.assertEquals(1, options.getTileScale()); - Assertions.assertEquals("64", options.getBuffer()); - Assertions.assertNotNull(options.getColorFormula()); - Assertions.assertEquals("sentinel-2-l2a", options.getCollection()); - Assertions.assertEquals(Resampling.NEAREST, options.getResampling()); - Assertions.assertEquals(PixelSelection.FIRST, options.getPixelSelection()); - Assertions.assertEquals(1, options.getRescale().size()); - Assertions.assertEquals(ColorMapNames.VIRIDIS, options.getColorMapName()); - Assertions.assertEquals("{\"0\":[0,0,0,255]}", options.getColorMap()); - } - - @Test - public void testDefaultValues() { - GetMosaicTileJsonOptions options = new GetMosaicTileJsonOptions(); - Assertions.assertNull(options.getAssets()); - Assertions.assertNull(options.getExpression()); - Assertions.assertNull(options.getNoData()); - Assertions.assertNull(options.getScanLimit()); - Assertions.assertNull(options.getItemsLimit()); - Assertions.assertNull(options.getTimeLimit()); - Assertions.assertNull(options.getAlgorithm()); - Assertions.assertNull(options.getMinZoom()); - Assertions.assertNull(options.getMaxZoom()); - Assertions.assertNull(options.getTileScale()); - Assertions.assertNull(options.getCollection()); - Assertions.assertNull(options.getResampling()); - Assertions.assertNull(options.getPixelSelection()); - Assertions.assertNull(options.getRescale()); - Assertions.assertNull(options.getColorMapName()); - Assertions.assertNull(options.getColorMap()); - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/ImageParametersTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/ImageParametersTests.java deleted file mode 100644 index 0dd3d7d0cb46..000000000000 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/ImageParametersTests.java +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.analytics.planetarycomputer.models; - -import com.azure.core.util.BinaryData; -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import java.util.HashMap; -import java.util.Map; - -/** - * Unit tests for {@link ImageParameters} model to increase branch coverage. - */ -public final class ImageParametersTests { - - @Test - public void testImageParametersDeserializeAllFields() throws Exception { - ImageParameters model - = BinaryData - .fromString("{\"cql\":{\"filter\":{\"op\":\"t_intersects\"}}," - + "\"render_params\":\"assets=B04&rescale=0,10000\"," + "\"cols\":256,\"rows\":256," - + "\"zoom\":12.5," + "\"geometry\":{\"type\":\"Point\",\"coordinates\":[-73.99,40.71]}," - + "\"showBranding\":true," + "\"imageSize\":\"1024x1024\"," + "\"unknownField\":\"skip\"}") - .toObject(ImageParameters.class); - Assertions.assertNotNull(model.getCql()); - Assertions.assertEquals("assets=B04&rescale=0,10000", model.getRenderParameters()); - Assertions.assertEquals(256, model.getColumns()); - Assertions.assertEquals(256, model.getRows()); - Assertions.assertEquals(12.5, model.getZoom()); - Assertions.assertNotNull(model.getGeometry()); - Assertions.assertEquals(true, model.isShowBranding()); - Assertions.assertEquals("1024x1024", model.getImageSize()); - } - - @Test - public void testImageParametersDeserializeNullableFieldsNull() throws Exception { - // Tests nullable branches with explicit null - ImageParameters model - = BinaryData - .fromString("{\"cql\":{\"op\":\"=\"}," + "\"render_params\":\"assets=B04\"," - + "\"cols\":128,\"rows\":128," + "\"zoom\":null," + "\"showBranding\":null}") - .toObject(ImageParameters.class); - Assertions.assertNotNull(model.getCql()); - Assertions.assertEquals("assets=B04", model.getRenderParameters()); - Assertions.assertEquals(128, model.getColumns()); - Assertions.assertEquals(128, model.getRows()); - Assertions.assertNull(model.getZoom()); - Assertions.assertNull(model.isShowBranding()); - Assertions.assertNull(model.getImageSize()); - } - - @Test - public void testImageParametersRoundTrip() throws Exception { - Map cql = new HashMap<>(); - cql.put("op", "="); - ImageParameters model = new ImageParameters(cql, "assets=B04", 256, 256).setZoom(10.0) - .setShowBranding(false) - .setImageSize("512x512"); - model = BinaryData.fromObject(model).toObject(ImageParameters.class); - Assertions.assertEquals("assets=B04", model.getRenderParameters()); - Assertions.assertEquals(256, model.getColumns()); - Assertions.assertEquals(256, model.getRows()); - Assertions.assertEquals(10.0, model.getZoom()); - Assertions.assertEquals(false, model.isShowBranding()); - Assertions.assertEquals("512x512", model.getImageSize()); - } - - @Test - public void testImageParametersMinimal() throws Exception { - Map cql = new HashMap<>(); - cql.put("filter", "test"); - ImageParameters model = new ImageParameters(cql, "assets=B04", 64, 64); - model = BinaryData.fromObject(model).toObject(ImageParameters.class); - Assertions.assertEquals(64, model.getColumns()); - Assertions.assertEquals(64, model.getRows()); - Assertions.assertNull(model.getZoom()); - Assertions.assertNull(model.isShowBranding()); - Assertions.assertNull(model.getGeometry()); - Assertions.assertNull(model.getImageSize()); - } -} diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/OptionsBagTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/OptionsBagTests.java index 825845c2ef09..7ebfff143970 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/OptionsBagTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/OptionsBagTests.java @@ -3,6 +3,7 @@ package com.azure.analytics.planetarycomputer.models; +import com.azure.core.util.BinaryData; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; @@ -11,165 +12,29 @@ import java.util.Map; /** - * Unit tests for options bag models with 0% coverage: - * {@link GetMosaicTileOptions}, {@link GetWmtsCapabilitiesOptions}, - * {@link GetMosaicWmtsCapabilitiesOptions}, {@link GetPartOptions}, + * Unit tests for options bag models: * {@link RegisterMosaicsSearchOptions}. */ public final class OptionsBagTests { @Test - public void testGetMosaicTileOptions() { - GetMosaicTileOptions options = new GetMosaicTileOptions().setAssets(Arrays.asList("B04", "B03", "B02")) - .setExpression("B04/B03") - .setAssetBandIndices("0,1,2") - .setAssetAsBand(true) - .setNoData(0.0) - .setUnscale(false) - .setScanLimit(10000) - .setItemsLimit(100) - .setTimeLimit(30) - .setExitWhenFull(true) - .setSkipCovered(false) - .setAlgorithm(TerrainAlgorithm.TERRARIUM) - .setAlgorithmParams("{\"format\":\"png\"}") - .setBuffer("64") - .setColorFormula("gamma RGB 3.5") - .setCollection("sentinel-2-l2a") - .setResampling(Resampling.NEAREST) - .setPixelSelection(PixelSelection.FIRST) - .setRescale(Arrays.asList("0,10000")) - .setColorMapName(ColorMapNames.VIRIDIS) - .setColorMap("{\"0\":[0,0,0,255]}") - .setReturnMask(true); - - Assertions.assertEquals(3, options.getAssets().size()); - Assertions.assertEquals("B04/B03", options.getExpression()); - Assertions.assertEquals("0,1,2", options.getAssetBandIndices()); - Assertions.assertEquals(0.0, options.getNoData()); - Assertions.assertEquals(10000, options.getScanLimit()); - Assertions.assertEquals(100, options.getItemsLimit()); - Assertions.assertEquals(30, options.getTimeLimit()); - Assertions.assertEquals(TerrainAlgorithm.TERRARIUM, options.getAlgorithm()); - Assertions.assertEquals("{\"format\":\"png\"}", options.getAlgorithmParams()); - Assertions.assertEquals("64", options.getBuffer()); - Assertions.assertEquals("gamma RGB 3.5", options.getColorFormula()); - Assertions.assertEquals("sentinel-2-l2a", options.getCollection()); - Assertions.assertEquals(Resampling.NEAREST, options.getResampling()); - Assertions.assertEquals(PixelSelection.FIRST, options.getPixelSelection()); - Assertions.assertEquals(1, options.getRescale().size()); - Assertions.assertEquals(ColorMapNames.VIRIDIS, options.getColorMapName()); - Assertions.assertEquals("{\"0\":[0,0,0,255]}", options.getColorMap()); - } - - @Test - public void testGetWmtsCapabilitiesOptions() { - GetWmtsCapabilitiesOptions options = new GetWmtsCapabilitiesOptions().setAssets(Arrays.asList("B04")) - .setExpression("B04") - .setAssetBandIndices("0") - .setAssetAsBand(false) - .setNoData(-9999.0) - .setUnscale(true) - .setAlgorithm(TerrainAlgorithm.TERRARIUM) - .setAlgorithmParams("{}") - .setTileFormat(TilerImageFormat.PNG) - .setTileScale(2) - .setMinZoom(0) - .setMaxZoom(14) - .setBuffer("32") - .setColorFormula("sigmoidal RGB 15 0.35") - .setResampling(Resampling.BILINEAR) - .setRescale(Arrays.asList("0,3000")) - .setColorMapName(ColorMapNames.PLASMA) - .setColorMap("{}") - .setReturnMask(false); - - Assertions.assertEquals(1, options.getAssets().size()); - Assertions.assertEquals("B04", options.getExpression()); - Assertions.assertEquals(-9999.0, options.getNoData()); - Assertions.assertEquals(TerrainAlgorithm.TERRARIUM, options.getAlgorithm()); - Assertions.assertEquals(TilerImageFormat.PNG, options.getTileFormat()); - Assertions.assertEquals(2, options.getTileScale()); - Assertions.assertEquals(0, options.getMinZoom()); - Assertions.assertEquals(14, options.getMaxZoom()); - Assertions.assertEquals(Resampling.BILINEAR, options.getResampling()); - Assertions.assertEquals(ColorMapNames.PLASMA, options.getColorMapName()); - } - - @Test - public void testGetMosaicWmtsCapabilitiesOptions() { - GetMosaicWmtsCapabilitiesOptions options - = new GetMosaicWmtsCapabilitiesOptions().setAssets(Arrays.asList("B04", "B03")) - .setExpression("(B04-B03)/(B04+B03)") - .setAssetBandIndices("0,1") - .setAssetAsBand(true) - .setNoData(0.0) - .setUnscale(false) - .setAlgorithm(TerrainAlgorithm.TERRARIUM) - .setAlgorithmParams("{}") - .setTileFormat(TilerImageFormat.JPEG) - .setTileScale(1) - .setMinZoom(5) - .setMaxZoom(18) - .setBuffer("0") - .setColorFormula("gamma RGB 2.5") - .setResampling(Resampling.NEAREST) - .setRescale(Arrays.asList("-1,1")) - .setColorMapName(ColorMapNames.INFERNO) - .setColorMap("{}") - .setReturnMask(true); - - Assertions.assertEquals(2, options.getAssets().size()); - Assertions.assertEquals("(B04-B03)/(B04+B03)", options.getExpression()); - Assertions.assertEquals(TerrainAlgorithm.TERRARIUM, options.getAlgorithm()); - Assertions.assertEquals(TilerImageFormat.JPEG, options.getTileFormat()); - Assertions.assertEquals(5, options.getMinZoom()); - Assertions.assertEquals(18, options.getMaxZoom()); - Assertions.assertEquals(ColorMapNames.INFERNO, options.getColorMapName()); - } - - @Test - public void testGetPartOptions() { - GetPartOptions options = new GetPartOptions().setAssets(Arrays.asList("B04")) - .setExpression("B04") - .setAssetBandIndices("0") - .setAssetAsBand(true) - .setNoData(-9999.0) - .setUnscale(false) - .setAlgorithm(TerrainAlgorithm.TERRARIUM) - .setAlgorithmParams("{}") - .setColorFormula("gamma RGB 3.0") - .setCoordinateReferenceSystem("EPSG:4326") - .setDstCrs("EPSG:3857") - .setResampling(Resampling.CUBIC) - .setMaxSize(1024) - .setRescale(Arrays.asList("0,10000")) - .setColorMapName(ColorMapNames.GREENS) - .setColorMap("{}") - .setReturnMask(false); + public void testRegisterMosaicsSearchOptions() { + Map query = new HashMap<>(); + Map ltMap = new HashMap<>(); + ltMap.put("lt", 20); + query.put("cloud_cover", BinaryData.fromObject(ltMap)); - Assertions.assertEquals(1, options.getAssets().size()); - Assertions.assertEquals("B04", options.getExpression()); - Assertions.assertEquals(-9999.0, options.getNoData()); - Assertions.assertEquals(TerrainAlgorithm.TERRARIUM, options.getAlgorithm()); - Assertions.assertEquals("gamma RGB 3.0", options.getColorFormula()); - Assertions.assertEquals("EPSG:4326", options.getCoordinateReferenceSystem()); - Assertions.assertEquals("EPSG:3857", options.getDstCrs()); - Assertions.assertEquals(Resampling.CUBIC, options.getResampling()); - Assertions.assertEquals(1024, options.getMaxSize()); - Assertions.assertEquals(ColorMapNames.GREENS, options.getColorMapName()); - } + Map filter = new HashMap<>(); + filter.put("op", BinaryData.fromString("\"<=\"")); - @Test - public void testRegisterMosaicsSearchOptions() { RegisterMosaicsSearchOptions options = new RegisterMosaicsSearchOptions().setCollections(Arrays.asList("sentinel-2-l2a")) .setIds(Arrays.asList("item-1", "item-2")) .setBoundingBox(Arrays.asList(-180.0, -90.0, 180.0, 90.0)) .setDatetime("2021-01-01T00:00:00Z/2021-12-31T23:59:59Z") .setFilterLanguage(FilterLanguage.CQL2_JSON) - .setQuery(mapOf("cloud_cover", mapOf("lt", 20))) - .setFilter(mapOf("op", "<=")) + .setQuery(query) + .setFilter(filter) .setMetadata(new MosaicMetadata().setName("test-mosaic").setMinZoom(0).setMaxZoom(14)); Assertions.assertEquals(1, options.getCollections().size()); @@ -185,26 +50,4 @@ public void testRegisterMosaicsSearchOptions() { Assertions.assertNotNull(options.getMetadata()); Assertions.assertEquals("test-mosaic", options.getMetadata().getName()); } - - @Test - public void testGetMosaicTileOptionsDefaults() { - GetMosaicTileOptions options = new GetMosaicTileOptions(); - Assertions.assertNull(options.getAssets()); - Assertions.assertNull(options.getExpression()); - Assertions.assertNull(options.getNoData()); - Assertions.assertNull(options.getScanLimit()); - Assertions.assertNull(options.getAlgorithm()); - Assertions.assertNull(options.getCollection()); - } - - @SuppressWarnings("unchecked") - private static Map mapOf(Object... inputs) { - Map map = new HashMap<>(); - for (int i = 0; i < inputs.length; i += 2) { - String key = (String) inputs[i]; - T value = (T) inputs[i + 1]; - map.put(key, value); - } - return map; - } } diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/RemainingModelTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/RemainingModelTests.java index a96604bbf499..417b0f6c1cfa 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/RemainingModelTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/RemainingModelTests.java @@ -62,8 +62,6 @@ public void testTilerStacSearchDefinitionDeserialize() throws Exception { .toObject(TilerStacSearchDefinition.class); Assertions.assertEquals("abc123", model.getHash()); Assertions.assertNotNull(model.getSearch()); - Assertions.assertEquals("cloud_cover < 20", model.getWhere()); - Assertions.assertEquals("datetime DESC", model.getOrderBy()); Assertions.assertNotNull(model.getLastUsed()); Assertions.assertEquals(42, model.getUseCount()); Assertions.assertNotNull(model.getMetadata()); @@ -75,8 +73,6 @@ public void testTilerStacSearchDefinitionMinimal() throws Exception { TilerStacSearchDefinition model = BinaryData.fromString("{}").toObject(TilerStacSearchDefinition.class); Assertions.assertNull(model.getHash()); Assertions.assertNull(model.getSearch()); - Assertions.assertNull(model.getWhere()); - Assertions.assertNull(model.getOrderBy()); } @Test diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacAssetTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacAssetTests.java index b0fd2e24bb9f..653df7bd694d 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacAssetTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacAssetTests.java @@ -43,7 +43,8 @@ public void testDeserialize() throws Exception { Assertions.assertEquals("data", model.getRoles().get(0)); Assertions.assertEquals("visual", model.getRoles().get(1)); Assertions.assertNotNull(model.getAdditionalProperties()); - Assertions.assertEquals("extra_value", model.getAdditionalProperties().get("extra_field")); + Assertions.assertEquals("extra_value", + model.getAdditionalProperties().get("extra_field").toObject(String.class)); } @Test @@ -60,7 +61,7 @@ public void testSerialize() throws Exception { .setHref("https://example.com/asset.tif") .setType("image/tiff") .setRoles(Arrays.asList("data", "visual")) - .setAdditionalProperties(mapOf("extra_field", "extra_value")); + .setAdditionalProperties(mapOf("extra_field", BinaryData.fromString("\"extra_value\""))); model = BinaryData.fromObject(model).toObject(StacAsset.class); Assertions.assertEquals("sentinel-2", model.getPlatform()); Assertions.assertEquals(1, model.getInstruments().size()); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacCollectionTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacCollectionTests.java index 225dd06a6db8..04714cadb17c 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacCollectionTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacCollectionTests.java @@ -53,7 +53,8 @@ public void testDeserialize() throws Exception { Assertions.assertEquals(2, model.getStacExtensions().size()); Assertions.assertEquals("S2 L2A data", model.getShortDescription()); Assertions.assertNotNull(model.getAdditionalProperties()); - Assertions.assertEquals("custom_value", model.getAdditionalProperties().get("custom_key")); + Assertions.assertEquals("custom_value", + model.getAdditionalProperties().get("custom_key").toObject(String.class)); } @Test @@ -70,10 +71,10 @@ public void testSerialize() throws Exception { .setType("Collection") .setKeywords(Arrays.asList("sentinel", "satellite", "imagery")) .setProviders(Arrays.asList(new StacProvider().setName("ESA").setRoles(Arrays.asList("producer")))) - .setSummaries(mapOf("platform", Arrays.asList("Sentinel-2A", "Sentinel-2B"))) + .setSummaries(mapOf("platform", BinaryData.fromObject(Arrays.asList("Sentinel-2A", "Sentinel-2B")))) .setStacExtensions(Arrays.asList("eo", "sat")) .setShortDescription("S2 L2A data") - .setAdditionalProperties(mapOf("custom_key", "custom_value")); + .setAdditionalProperties(mapOf("custom_key", BinaryData.fromString("\"custom_value\""))); model = BinaryData.fromObject(model).toObject(StacCollection.class); Assertions.assertEquals("Sentinel 2 Level-2A", model.getDescription()); Assertions.assertEquals("1.0.0", model.getStacVersion()); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacItemPropertiesTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacItemPropertiesTests.java index a7a79322cef9..63ea4ac03f20 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacItemPropertiesTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacItemPropertiesTests.java @@ -43,7 +43,7 @@ public void testDeserialize() throws Exception { Assertions.assertEquals(OffsetDateTime.of(2021, 6, 15, 14, 0, 0, 0, ZoneOffset.UTC), model.getStartDatetime()); Assertions.assertEquals(OffsetDateTime.of(2021, 6, 15, 15, 0, 0, 0, ZoneOffset.UTC), model.getEndDatetime()); Assertions.assertNotNull(model.getAdditionalProperties()); - Assertions.assertEquals(42, ((Number) model.getAdditionalProperties().get("custom_prop")).intValue()); + Assertions.assertEquals(42, model.getAdditionalProperties().get("custom_prop").toObject(Integer.class)); } @Test @@ -60,7 +60,7 @@ public void testSerialize() throws Exception { .setDatetime("2021-06-15T14:30:00Z") .setStartDatetime(OffsetDateTime.of(2021, 6, 15, 14, 0, 0, 0, ZoneOffset.UTC)) .setEndDatetime(OffsetDateTime.of(2021, 6, 15, 15, 0, 0, 0, ZoneOffset.UTC)) - .setAdditionalProperties(mapOf("custom_prop", 42)); + .setAdditionalProperties(mapOf("custom_prop", BinaryData.fromString("42"))); model = BinaryData.fromObject(model).toObject(StacItemProperties.class); Assertions.assertEquals("sentinel-2", model.getPlatform()); Assertions.assertEquals(2, model.getInstruments().size()); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacLinkTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacLinkTests.java index 348101d3538e..99c9598edeff 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacLinkTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacLinkTests.java @@ -32,7 +32,7 @@ public void testDeserialize() throws Exception { Assertions.assertNotNull(model.getHeaders()); Assertions.assertEquals("application/json", model.getHeaders().get("Accept")); Assertions.assertNotNull(model.getBody()); - Assertions.assertEquals("value", model.getBody().get("key")); + Assertions.assertEquals("value", model.getBody().get("key").toObject(String.class)); Assertions.assertTrue(model.isMerge()); } @@ -46,7 +46,7 @@ public void testSerialize() throws Exception { .setLength(1024) .setMethod(StacLinkMethod.GET) .setHeaders(mapOf("Accept", "application/json")) - .setBody(mapOf("key", "value")) + .setBody(mapOf("key", BinaryData.fromString("\"value\""))) .setMerge(true); model = BinaryData.fromObject(model).toObject(StacLink.class); Assertions.assertEquals("self", model.getRel()); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacSearchParametersTests.java b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacSearchParametersTests.java index 8cf59ddb1b79..a388c40fdfdb 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacSearchParametersTests.java +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/models/StacSearchParametersTests.java @@ -52,9 +52,9 @@ public void testSerialize() throws Exception { .setBoundingBox(Arrays.asList(-180.0, -90.0, 180.0, 90.0)) .setDatetime("2021-01-01T00:00:00Z/2021-12-31T23:59:59Z") .setLimit(50) - .setConformanceClass(mapOf("core-item", new HashMap<>())) - .setQuery(mapOf("eo:cloud_cover", mapOf("lt", 20))) - .setFilter(mapOf("op", "<=")) + .setConformanceClass(mapOf("core-item", BinaryData.fromObject(new HashMap<>()))) + .setQuery(mapOf("eo:cloud_cover", BinaryData.fromObject(mapOf("lt", 20)))) + .setFilter(mapOf("op", BinaryData.fromString("\"<=\""))) .setFilterCoordinateReferenceSystem("http://www.opengis.net/def/crs/OGC/1.3/CRS84") .setFilterLang(FilterLanguage.CQL2_JSON) .setToken("next:abc123"); diff --git a/sdk/planetarycomputer/azure-analytics-planetarycomputer/tsp-location.yaml b/sdk/planetarycomputer/azure-analytics-planetarycomputer/tsp-location.yaml index 250994a4bc5f..1080ac7f54dc 100644 --- a/sdk/planetarycomputer/azure-analytics-planetarycomputer/tsp-location.yaml +++ b/sdk/planetarycomputer/azure-analytics-planetarycomputer/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/orbital/Microsoft.PlanetaryComputer -commit: 705107686e5ad8e872c53b11564d9d98c6fb4ba3 +commit: 221e26326addc2260e7d1d420c106ab452732f84 repo: Azure/azure-rest-api-specs additionalDirectories: