Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Aug 4, 2024
1 parent 841ab5e commit baee284
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 3 deletions.
46 changes: 44 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset='utf-8'>
<title>geoblaze 2.6.1 | Documentation</title>
<title>geoblaze 2.7.0 | Documentation</title>
<meta name='description' content='Blazing Fast JavaScript Raster Processing Engine'>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<link href='assets/bass.css' rel='stylesheet'>
Expand All @@ -15,7 +15,7 @@
<div id='split-left' class='overflow-auto fs0 height-viewport-100'>
<div class='py1 px2'>
<h3 class='mb0 no-anchor'>geoblaze</h3>
<div class='mb1'><code>2.6.1</code></div>
<div class='mb1'><code>2.7.0</code></div>
<input
placeholder='Filter'
id='filter-input'
Expand Down Expand Up @@ -1833,6 +1833,48 @@ <h3 class='fl m0' id='sum'>

</div>

<div class='space-bottom0'>
<div>
<span class='code bold'>extraOptions</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a>)</code>

</div>

<table class='mt1 mb2 fixed-table h5 col-12'>
<colgroup>
<col width='30%' />
<col width='70%' />
</colgroup>
<thead>
<tr class='bold fill-light'>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody class='mt1'>

<tr>
<td class='break-word'><span class='code bold'>extraOptions.vrm</span> <code class='quiet'>([<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>, <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>] | <code>"minimal"</code>)</code>
</td>
<td class='break-word'><span>virtual resampling multiplier for the horizontal (x) and vertical (y) dimensions. In other words, how many times we divide each pixel horizontally and vertically to increase resolution. If you don't want to pass in the exact number of times to divide the pixels, pass "minimal" and geoblaze will calculate the minimal amount of divisions to make sure at least one pixel is intersected.
</span></td>
</tr>



<tr>
<td class='break-word'><span class='code bold'>extraOptions.rescale</span> <code class='quiet'><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean">Boolean</a></code>
</td>
<td class='break-word'><span>whether we should rescale results based on virtual pixel size. It is highly recommended you set rescale to true if you set vrm.
</span></td>
</tr>



</tbody>
</table>

</div>

</div>


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"clean": "sh clean.sh",
"create-expected-data": "cd data && pipenv run python3 create_expected_truth_data.py > expected_data.txt",
"dev": "webpack --mode development --target node --watch",
"document": "npx documentation build src/** --config documentation.yml -f html -o docs && echo 'docs.geoblaze.io' > docs/CNAME",
"document": "npx documentation@14.0.2 build src/** --config documentation.yml -f html -o docs && echo 'docs.geoblaze.io' > docs/CNAME",
"fix": "eslint lite --fix && eslint src --fix",
"format": "npx prettier --arrow-parens=avoid --print-width=160 --trailing-comma=none --write lite/*.js src/*.js src/*/*.js ",
"lint": "eslint lite && eslint src",
Expand Down

0 comments on commit baee284

Please sign in to comment.