<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Guides on async-geotiff</title><link>https://async-geotiff-rs.pages.dev/docs/guides/</link><description>Recent content in Guides on async-geotiff</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 31 Aug 2026 11:52:18 +0800</lastBuildDate><atom:link href="https://async-geotiff-rs.pages.dev/docs/guides/index.xml" rel="self" type="application/rss+xml"/><item><title>Styling and band math</title><link>https://async-geotiff-rs.pages.dev/docs/guides/styling/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://async-geotiff-rs.pages.dev/docs/guides/styling/</guid><description>&lt;p&gt;The same &lt;code&gt;TileStyle&lt;/code&gt; model serves the Rust API and the example server’s query&#10;string. Styles are validated before expensive COG reads and rendering work.&lt;/p&gt;&#10;&lt;h2 id="recipes"&gt;Common recipes&#10;&lt;/h2&gt;&#10;&lt;p&gt;Natural-color RGB from three bands:&lt;/p&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-b5116023-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="text" data-td-line-count="1"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-b5116023-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;bidx=1&amp;amp;bidx=2&amp;amp;bidx=3&amp;amp;rescale=0,3000&amp;amp;rescale=0,3000&amp;amp;rescale=0,3000&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Single-band color ramp:&lt;/p&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-b5116023-fence-1" data-td-code data-td-code-auto-id&#10; data-td-language="text" data-td-line-count="1"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-b5116023-fence-1-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;bidx=1&amp;amp;colormap_name=viridis&amp;amp;rescale=0,3000&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Percentile stretch:&lt;/p&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-b5116023-fence-2" data-td-code data-td-code-auto-id&#10; data-td-language="text" data-td-line-count="1"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-b5116023-fence-2-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;stretch=percent&amp;amp;pc=2,98&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Average downsampling and bilinear reprojection:&lt;/p&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-b5116023-fence-3" data-td-code data-td-code-auto-id&#10; data-td-language="text" data-td-line-count="1"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-b5116023-fence-3-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;resampling=average&amp;amp;reproject=bilinear&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="stretch"&gt;Stretch behavior&#10;&lt;/h2&gt;&#10;&lt;p&gt;For non-U8 data, the effective value range is selected in this order:&lt;/p&gt;</description></item><item><title>Mosaics and STAC</title><link>https://async-geotiff-rs.pages.dev/docs/guides/mosaics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://async-geotiff-rs.pages.dev/docs/guides/mosaics/</guid><description>&lt;p&gt;The default-enabled &lt;code&gt;mosaic&lt;/code&gt; Cargo feature adds &lt;code&gt;MosaicTiler&lt;/code&gt; and the&#10;&lt;code&gt;MosaicSource&lt;/code&gt; trait; applications that do not need mosaics can disable default&#10;features. Because that also disables &lt;code&gt;proj&lt;/code&gt;, use&#10;&lt;code&gt;--no-default-features --features proj&lt;/code&gt; when general CRS transformation is&#10;still required. The source maps a tile coordinate to assets; the tiler opens&#10;and warps those assets, reduces overlapping pixels, and renders the composite&#10;once.&lt;/p&gt;&#10;&lt;h2 id="mosaicjson"&gt;MosaicJSON&#10;&lt;/h2&gt;&#10;&lt;p&gt;Run the embedded example or pass a MosaicJSON file:&lt;/p&gt;</description></item><item><title>Production operation</title><link>https://async-geotiff-rs.pages.dev/docs/guides/production/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://async-geotiff-rs.pages.dev/docs/guides/production/</guid><description>&lt;h2 id="cache"&gt;Share one cache&#10;&lt;/h2&gt;&#10;&lt;p&gt;The default decoded-block cache budget is 512 MiB. A server with many readers&#10;should inject the same &lt;code&gt;Arc&amp;lt;BlockCache&amp;gt;&lt;/code&gt; into every reader and mosaic. Give&#10;each distinct COG a stable source ID so cache entries cannot collide.&lt;/p&gt;&#10;&lt;p&gt;This budget covers resident decoded blocks in the cache, not total process&#10;RSS. In-flight compressed bytes, decode and warp buffers, encoded responses,&#10;reader metadata, and mosaic reducer state are additional memory. In particular,&#10;&lt;code&gt;Median&lt;/code&gt; retains every contributing image until reduction completes.&lt;/p&gt;</description></item></channel></rss>