> For the complete documentation index, see [llms.txt](https://docs.geopard.tech/geopard-tutorials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.geopard.tech/geopard-tutorials/lva/api-dokumentacija/geo-endpoints-for-spatial-data-access/wms-get-raster-pictures-of-spatial-data-layers/17.-satellite-image-cropped-by-field-boundary-and-custom-color-schema.md).

# 17. Satelītattēls: apgriezts pēc lauka robežas un pielāgotas krāsu shēmas

Satelītattēli, kas precīzi apgriezti atbilstoši noteiktajām lauka robežām, ir pieejami dažādos attēlojuma veidos, piemēram, `RGB`, `NIR`, `EVI2`, `LAI`, `NDVI`, `GNDVI`, `IPVI`, `GCI`, `SAVI`, `OSAVI`, `NDWI`, `WDRVI`, `NDMI`, `MCARI`, kā arī citi, tostarp saistīti kontrasta attēlojumi. Iegūtie satelītattēli nav pikseļoti un nodrošina skaidru datu vizualizāciju.

Papildus precīzai apgriešanai GeoPard ļauj pielāgot krāsu shēmas. Šo funkciju var izmantot gan **apgrieztajiem** gan **kontrasta** veģetācijas indeksu attēlojumiem, nodrošinot papildu elastību datu vizualizācijā.

{% hint style="info" %}
Piemēram, jaunu krāsu shēmu var lietot tieši, paplašinot `env` mainīgo ar vērtību `c1:%231b7837%3Bc2:%23ffffbf%3Bc3:%23af8dc3`. Šajā vērtībā `%23` apzīmē simbolu `#` un `%3b` apzīmē simbolu `;` .
{% endhint %}

Tālāk sniegti vairāki piemēri, kas ilustrē krāsu shēmu pielāgošanu gan **apgrieztajiem** gan **kontrasta** NDVI attēlojumiem, parādot mūsu krāsu pielāgošanas funkciju elastību.

{% hint style="info" %}
Tālāk norādītie `urls` ir paredzēti tikai skaidrojošiem nolūkiem.\
\
Precīzai un praktiskai izmantošanai `urls` tie jāiegūst no objekta `geoMaps` . Tos var modificēt, izmantojot konkrētus atribūtus, kas sniedz papildu elastību ģeotelpisko datu pārvaldībā.
{% endhint %}

### NDVI: kontrasts pret kontrastu ar koriģētu krāsu shēmu

![](https://1923267647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FTrBnAOb6tKHGvpAvdItI%2Fimage.png?alt=media\&token=48aad294-e617-466b-9ddf-bef72f0dd6c6) **PRET** ![](https://1923267647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FTkx9pmhPfVkMIDcYC2N6%2Fimage.png?alt=media\&token=00548ae6-e1fd-4ee7-8030-941a2fada91c)

Pieprasījuma formāts: [https://api.geopard.tech/geo/map/reflect?TRANSPARENT=true\&SRS=EPSG:900913\&HEIGHT=1024\&BBOX=\<minX,minY,maxX,maxY>\&TIME=2022-07-20T10:15:26Z\&CQL\_FILTER=uuid=%27\<planet\_image\_uuid>%27\&VIEWPARAMS=uuid:\<field\_uuid>\&env=v1:0.740%3Bv2:0.835%3Bv3:0.904%3Bc1:%23af8dc3%3Bc2:%23ffffbf%3Bc3:%231b7837\&LAYERS=agri:planetscope\_ndvi\_and\_field\&geopardApiKey=\<geopardApiKey>](https://api.geopard.tech/geo/map/reflect?TRANSPARENT=true\&SRS=EPSG:900913\&HEIGHT=1024\&BBOX=%3CminX,minY,maxX,maxY%3E\&TIME=2022-07-20T10:15:26Z\&CQL_FILTER=uuid=%27%3Cplanet_image_uuid%3E%27\&VIEWPARAMS=uuid:%3Cfield_uuid%3E\&env=v1:0.740%3Bv2:0.835%3Bv3:0.904%3Bc1:%23af8dc3%3Bc2:%23ffffbf%3Bc3:%231b7837\&LAYERS=agri:planetscope_ndvi_and_field\&geopardApiKey=%3CgeopardApiKey%3E).

### NDVI: sākotnējais attēlojums pret sākotnējo attēlojumu ar koriģētu krāsu shēmu

![](https://1923267647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2F19yzj4Ewj09TvtCaK86q%2Fimage.png?alt=media\&token=7631c9bd-0b0e-47b4-8df8-cbd629755e1a) **PRET** ![](https://1923267647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FtY8ev43dfI0rYlGQFhcH%2Fimage.png?alt=media\&token=12f6bf7e-a049-45ec-9e32-7e1abe573c08)

Pieprasījuma formāts: [https://api.geopard.tech/geo/map/reflect?TRANSPARENT=true\&SRS=EPSG:900913\&HEIGHT=1024\&BBOX=\<minX,minY,maxX,maxY>\&TIME=2022-07-20T10:15:26Z\&CQL\_FILTER=uuid=%27\<planet\_image\_uuid>%27\&VIEWPARAMS=uuid:\<field\_uuid>\&LAYERS=agri:planetscope\_ndvi\_and\_field\&env=c1:%23008837%3Bc2:%23a6dba0%3Bc3:%23f7f7f7%3Bc4:%23c2a5cf%3Bc5:%237b3294\&geopardApiKey=\<geopardApiKey>](https://api.geopard.tech/geo/map/reflect?TRANSPARENT=true\&SRS=EPSG:900913\&HEIGHT=1024\&BBOX=%3CminX,minY,maxX,maxY%3E\&TIME=2022-07-20T10:15:26Z\&CQL_FILTER=uuid=%27%3Cplanet_image_uuid%3E%27\&VIEWPARAMS=uuid:%3Cfield_uuid%3E\&LAYERS=agri:planetscope_ndvi_and_field\&env=c1:%23008837%3Bc2:%23a6dba0%3Bc3:%23f7f7f7%3Bc4:%23c2a5cf%3Bc5:%237b3294\&geopardApiKey=%3CgeopardApiKey%3E).

### URL parametru skaidrojums

Kur ievades atribūti ir šādi:

1. `VIEWPARAMS=uuid:<field_uuid>` satur lauka "Field" UUID;
2. `CQL_FILTER=uuid=%27<planet_image_uuid>%27` satur Planet nodrošinātā satelītattēla UUID; Sentinel-2 un Landsat pakalpojumu sniedzējiem šis parametrs nav nepieciešams;
3. `TIME=2022-07-20T10:15:26Z` satur satelītattēla datus formātā `YYYY-MM-DDThh:mm:ssZ` (URL kodētā veidā), un tie atrodas entītijā "FieldSatelliteImagery" pie atribūta `acquisitionDate` ;
4. `BBOX=<minX,minY,maxX,maxY>` satur lauka "Field" ierobežojošo taisnstūri (URL kodētā veidā) projekcijā `EPSG:3857` vai `EPSG:900913` ;
5. `WIDTH=1024` norāda izvades attēla izmēru pikseļos (precīzs skaits ir svarīgs tikai tad, ja attēls tiek izmantots kā sīktēls);
6. `geopardApiKey=<geopard_api_key>` ir saistīts ar autorizācijas opciju, izmantojot API atslēgu;
7. `LAYERS=agri:planetscope_ndvi_and_field` norāda Planet nodrošinātā satelītattēla stilu; šis parametrs ir atkarīgs no pakalpojumu sniedzēja, piemēram, Sentinel-2 vai Landsat.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.geopard.tech/geopard-tutorials/lva/api-dokumentacija/geo-endpoints-for-spatial-data-access/wms-get-raster-pictures-of-spatial-data-layers/17.-satellite-image-cropped-by-field-boundary-and-custom-color-schema.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
