Skip to content

Commit 8fd4853

Browse files
committed
Website updates
1 parent e84bddb commit 8fd4853

17 files changed

+423
-80
lines changed

dist/en/main/apidoc/module-ol_source_GeoTIFF-GeoTIFFSource.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ <h4 class="name">
166166

167167
<div class="tag-source">
168168
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/GeoTIFF.js">source/GeoTIFF.js</a>,
169-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/GeoTIFF.js#L461">line 461</a>
169+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/GeoTIFF.js#L466">line 466</a>
170170
</div>
171171

172172
</div>
@@ -1834,7 +1834,7 @@ <h4 class="name">
18341834

18351835
<div class="tag-source">
18361836
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/GeoTIFF.js">source/GeoTIFF.js</a>,
1837-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/GeoTIFF.js#L1131">line 1131</a>
1837+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/source/GeoTIFF.js#L1199">line 1199</a>
18381838
</div>
18391839

18401840
</div>

dist/en/main/apidoc/module-ol_source_GeoTIFF.html

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,6 +1407,9 @@ <h5 class="subsection-title">Properties:</h5>
14071407

14081408

14091409
<span class="param-type">number</span>
1410+
|
1411+
1412+
<span class="param-type">Array.&lt;(number|undefined)></span>
14101413

14111414

14121415

@@ -1416,10 +1419,12 @@ <h5 class="subsection-title">Properties:</h5>
14161419
</td>
14171420

14181421
<td class="description last">
1419-
<p>The minimum source data value. Rendered values are scaled from 0 to 1 based on
1420-
the configured min and max. If not provided and raster statistics are available, those will be used instead.
1421-
If neither are available, the minimum for the data type will be used. To disable this behavior, set
1422-
the <code>normalize</code> option to <code>false</code> in the constructor.</p>
1422+
<p>The minimum source data value. Rendered values are
1423+
scaled from 0 to 1 based on the configured min and max. If not provided and raster statistics are available,
1424+
those will be used instead. If neither are available, the minimum for the data type will be used. To disable
1425+
this behavior, set the <code>normalize</code> option to <code>false</code> in the constructor. If an array is provided, values
1426+
correspond to the bands in the file (not the <code>bands</code> option). Array values can be left <code>undefined</code> to trigger
1427+
the default behavior.</p>
14231428

14241429
</td>
14251430
</tr>
@@ -1435,17 +1440,22 @@ <h5 class="subsection-title">Properties:</h5>
14351440

14361441

14371442
<span class="param-type">number</span>
1443+
|
1444+
1445+
<span class="param-type">Array.&lt;(number|undefined)></span>
14381446

14391447
| undefined
14401448

14411449

14421450
</td>
14431451

14441452
<td class="description last">
1445-
<p>The maximum source data value. Rendered values are scaled from 0 to 1 based on
1446-
the configured min and max. If not provided and raster statistics are available, those will be used instead.
1447-
If neither are available, the maximum for the data type will be used. To disable this behavior, set
1448-
the <code>normalize</code> option to <code>false</code> in the constructor.</p>
1453+
<p>The maximum source data value. Rendered values are
1454+
scaled from 0 to 1 based on the configured min and max. If not provided and raster statistics are available,
1455+
those will be used instead. If neither are available, the maximum for the data type will be used. To disable
1456+
this behavior, set the <code>normalize</code> option to <code>false</code> in the constructor. If an array is provided, values
1457+
correspond to the bands in the file (not the <code>bands</code> option). Array values can be left <code>undefined</code> to to trigger
1458+
the default behavior.</p>
14491459

14501460
</td>
14511461
</tr>
@@ -1461,17 +1471,21 @@ <h5 class="subsection-title">Properties:</h5>
14611471

14621472

14631473
<span class="param-type">number</span>
1474+
|
1475+
1476+
<span class="param-type">Array.&lt;(number|undefined)></span>
14641477

14651478
| undefined
14661479

14671480

14681481
</td>
14691482

14701483
<td class="description last">
1471-
<p>Values to discard (overriding any nodata values in the metadata).
1472-
When provided, an additional alpha band will be added to the data. Often the GeoTIFF metadata
1484+
<p>Values to discard (overriding any nodata values in the
1485+
metadata). When provided, an additional alpha band will be added to the data. Often the GeoTIFF metadata
14731486
will include information about nodata values, so you should only need to set this property if
1474-
you find that it is not already extracted from the metadata.</p>
1487+
you find that it is not already extracted from the metadata. If an array is provided, values correspond to
1488+
the bands in the file (not the <code>bands</code> option). Array values can be left <code>undefined</code> to trigger the default behavior.</p>
14751489

14761490
</td>
14771491
</tr>

dist/en/main/examples/cog-math-multisource.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,14 @@ <h4 id="title">NDVI+NDWI from two 16-bit COGs</h4>
143143
data-bs-target="#tag-example-list"
144144
data-title="geotiff"
145145
data-content="&lt;ul class=&quot;list-group&quot;&gt;
146+
&lt;li&gt;&lt;a class=&quot;list-group-item list-group-item-action&quot; href=&quot;./geotiff-per-band-stats.html&quot;&gt;GeoTIFF per band statistics&lt;/a&gt;
146147
&lt;li&gt;&lt;a class=&quot;list-group-item list-group-item-action&quot; href=&quot;./geotiff-reprojection.html&quot;&gt;GeoTIFF Reprojection&lt;/a&gt;
147148
&lt;li&gt;&lt;a class=&quot;list-group-item list-group-item-action&quot; href=&quot;./export-map.html&quot;&gt;Map Export&lt;/a&gt;
148149
&lt;li&gt;&lt;a class=&quot;list-group-item list-group-item-action active&quot; href=&quot;./cog-math-multisource.html&quot;&gt;NDVI+NDWI from two 16-bit COGs&lt;/a&gt;
149150
&lt;li&gt;&lt;a class=&quot;list-group-item list-group-item-action&quot; href=&quot;./stac-item.html&quot;&gt;STAC support&lt;/a&gt;
150151
&lt;/ul&gt;"
151152
tabindex="0"
152-
>4</a>
153+
>5</a>
153154
</span>
154155
</p>
155156
<div class="modal modal-tag-example" id="tag-example-list" tabindex="-1" role="dialog" aria-labelledby="tag-example-title" aria-hidden="true">

dist/en/main/examples/common.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/examples-info.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/export-map.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,14 @@ <h4 id="title">Map Export</h4>
101101
data-bs-target="#tag-example-list"
102102
data-title="geotiff"
103103
data-content="&lt;ul class=&quot;list-group&quot;&gt;
104+
&lt;li&gt;&lt;a class=&quot;list-group-item list-group-item-action&quot; href=&quot;./geotiff-per-band-stats.html&quot;&gt;GeoTIFF per band statistics&lt;/a&gt;
104105
&lt;li&gt;&lt;a class=&quot;list-group-item list-group-item-action&quot; href=&quot;./geotiff-reprojection.html&quot;&gt;GeoTIFF Reprojection&lt;/a&gt;
105106
&lt;li&gt;&lt;a class=&quot;list-group-item list-group-item-action active&quot; href=&quot;./export-map.html&quot;&gt;Map Export&lt;/a&gt;
106107
&lt;li&gt;&lt;a class=&quot;list-group-item list-group-item-action&quot; href=&quot;./cog-math-multisource.html&quot;&gt;NDVI+NDWI from two 16-bit COGs&lt;/a&gt;
107108
&lt;li&gt;&lt;a class=&quot;list-group-item list-group-item-action&quot; href=&quot;./stac-item.html&quot;&gt;STAC support&lt;/a&gt;
108109
&lt;/ul&gt;"
109110
tabindex="0"
110-
>4</a>
111+
>5</a>
111112
</span>
112113
<span class="badge-group">
113114
<a

0 commit comments

Comments
 (0)