> 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/dnk/api-dokumentation/geo-endpoints-til-adgang-til-spatiale-data/wms-hent-rasterbilleder-af-spatiale-datalag/17.-satellitbillede-beskaret-efter-markgraense-og-brugerdefineret-farveskema.md).

# 17. Satellitbillede: beskåret efter markgrænse og brugerdefineret farveskema

Satellitbillede, præcist beskåret baseret på definerede markgrænser, er tilgængeligt for forskellige visninger såsom `RGB`, `NIR`, `EVI2`, `LAI`, `NDVI`, `GNDVI`, `IPVI`, `GCI`, `SAVI`, `OSAVI`, `NDWI`, `WDRVI`, `NDMI`, `MCARI`, osv. inklusive relaterede kontrastrepræsentationer. Output-satellitbillederne er ikke pixelerede og giver en klar visualisering af dataene.

Ud over denne præcise beskæring tillader GeoPard tilpasning af farveskemaer. Denne funktion kan anvendes på både **beskårne** og **kontrast** repræsentationer af vegetationsindekser og tilbyder yderligere fleksibilitet i datavisualiseringen.

{% hint style="info" %}
For eksempel kan et nyt farveskema anvendes direkte ved at udvide `env` variablen med `c1:%231b7837%3Bc2:%23ffffbf%3Bc3:%23af8dc3`. I denne værdi `%23` repræsenterer `#` symbolet, og `%3b` står for `;` symbolet.
{% endhint %}

Flere eksempler gives for at illustrere tilpasning af farveskemaer for både **beskårne** og **kontrast** NDVI-visninger og viser fleksibiliteten af vores farvejusteringsfunktioner.

{% hint style="info" %}
Den `urls` angivet nedenfor er udelukkende beregnet til forklarende formål. \
\
For nøjagtig og operationel brug bør `urls` hentes fra `geoMaps` objektet. De kan ændres ved hjælp af specifikke attributter, hvilket giver yderligere fleksibilitet i håndteringen af geospatiale data.
{% endhint %}

### NDVI: kontrast VS kontrast med korrigeret farveskema

![](https://1581835146-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)   **VS**   ![](https://1581835146-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)

Forespørgselsformatet er [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=<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>).&#x20;

### NDVI: original VS original med korrigeret farveskema

![](https://1581835146-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)   **VS**   ![](https://1581835146-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)

Forespørgselsformatet er [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=<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>).

### Forklaring af URL-parametrene

Hvor inputattributterne er:

1. `VIEWPARAMS=uuid:<field_uuid>` indeholder uuid'en for "Marken";
2. `CQL_FILTER=uuid=%27<planet_image_uuid>%27` indeholder uuid'en for det satellitbillede leveret af Planet; denne parameter er ikke nødvendig for Sentinel2- og Landsat-udbydere;
3. `TIME=2022-07-20T10:15:26Z` angiver datoen for satellitbilledet i formatet `YYYY-MM-DDThh:mm:ssZ` (url-enkodet) og placeret i enheden "FieldSatelliteImagery" med `acquisitionDate` attribut;
4. `BBOX=<minX,minY,maxX,maxY>` indeholder bounding box'en (url-enkodet) for "Marken" i `EPSG:3857` eller `EPSG:900913` projektion;
5. `WIDTH=1024`  angiver outputbilledets størrelse i pixels (det præcise antal er kun vigtigt, hvis det bruges som miniature);
6. `geopardApiKey=<geopard_api_key>` er knyttet til autorisationsmuligheden via API-nøgle;
7. `LAYERS=agri:planetscope_ndvi_and_field` angiver stilen for satellitbilledet leveret af Planet; denne parameter afhænger af udbyderen som Sentinel2 og 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/dnk/api-dokumentation/geo-endpoints-til-adgang-til-spatiale-data/wms-hent-rasterbilleder-af-spatiale-datalag/17.-satellitbillede-beskaret-efter-markgraense-og-brugerdefineret-farveskema.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.
