Skip to content

Commit

Permalink
Add changes for 4b563e4
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 3, 2024
1 parent ae6ca6e commit b9f94cf
Show file tree
Hide file tree
Showing 16 changed files with 202 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: bd120b75046e284a3069575ad976809d
config: b55c9437f5faaf1d097a2a147461ebdb
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified .doctrees/autoapi/geoapis/geometry/index.doctree
Binary file not shown.
Binary file modified .doctrees/autoapi/geoapis/lidar/index.doctree
Binary file not shown.
Binary file modified .doctrees/autoapi/geoapis/raster/index.doctree
Binary file not shown.
Binary file modified .doctrees/autoapi/geoapis/vector/index.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
16 changes: 16 additions & 0 deletions _sources/autoapi/geoapis/lidar/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,19 @@ Module Contents
by name (either within a search polygon or the entire dataset).


.. py:attribute:: NETLOC_DATA
:value: 'opentopography.s3.sdsc.edu'


This should be instantiated in the base class. Provide the netloc of the data
service.


.. py:attribute:: OT_BUCKET
:value: 'pc-bulk'


This should be instantiated in the base class. Provide the netloc of the data
service.


24 changes: 24 additions & 0 deletions _sources/autoapi/geoapis/raster/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ Module Contents
Note that only rasters supporting the grid image/tiff geotiff are supported


.. py:attribute:: NETLOC_API
:value: 'data.linz.govt.nz'


This should be instantiated in the base class. Provide the netloc of the data
service.


.. py:class:: Lris(key, cache_path, crs = None, bounding_polygon = None)
Bases: :py:obj:`KoordinatesExportsQueryBase`
Expand All @@ -86,6 +94,14 @@ Module Contents
Note that only rasters supporting the grid image/tiff geotiff are supported


.. py:attribute:: NETLOC_API
:value: 'lris.scinfo.org.nz'


This should be instantiated in the base class. Provide the netloc of the data
service.


.. py:class:: StatsNz(key, cache_path, crs = None, bounding_polygon = None)
Bases: :py:obj:`KoordinatesExportsQueryBase`
Expand All @@ -98,6 +114,14 @@ Module Contents
Note that only rasters supporting the grid image/tiff geotiff are supported


.. py:attribute:: NETLOC_API
:value: 'datafinder.stats.govt.nz'


This should be instantiated in the base class. Provide the netloc of the data
service.


.. py:class:: KoordinatesQuery(key, netloc_url, crs = None, bounding_polygon = None)
Bases: :py:obj:`KoordinatesExportsQueryBase`
Expand Down
48 changes: 48 additions & 0 deletions _sources/autoapi/geoapis/vector/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,22 @@ Module Contents
most other layers including Hydrographic and Topographic data.


.. py:attribute:: NETLOC_API
:value: 'data.linz.govt.nz'


This should be instantiated in the base class. Provide the netloc of the data
service.


.. py:attribute:: GEOMETRY_NAMES
:value: ['GEOMETRY', 'shape']


This should be instantiated in the base class. Define the 'geometry_name'
used when making a WFS 'cql_filter' query


.. py:class:: Lris(key, crs = None, bounding_polygon = None, verbose = False)
Bases: :py:obj:`WfsQueryBase`
Expand All @@ -136,6 +152,22 @@ Module Contents
'shape'. It still uses 'GEOMETRY'.


.. py:attribute:: NETLOC_API
:value: 'lris.scinfo.org.nz'


This should be instantiated in the base class. Provide the netloc of the data
service.


.. py:attribute:: GEOMETRY_NAMES
:value: ['GEOMETRY', 'Shape']


This should be instantiated in the base class. Define the 'geometry_name'
used when making a WFS 'cql_filter' query


.. py:class:: StatsNz(key, crs = None, bounding_polygon = None, verbose = False)
Bases: :py:obj:`WfsQueryBase`
Expand All @@ -151,6 +183,22 @@ Module Contents
'shape'. It still uses 'GEOMETRY'.


.. py:attribute:: NETLOC_API
:value: 'datafinder.stats.govt.nz'


This should be instantiated in the base class. Provide the netloc of the data
service.


.. py:attribute:: GEOMETRY_NAMES
:value: ['GEOMETRY', 'Shape']


This should be instantiated in the base class. Define the 'geometry_name'
used when making a WFS 'cql_filter' query


.. py:class:: WfsQuery(key, netloc_url, geometry_names, crs = None, bounding_polygon = None, verbose = False)
Bases: :py:obj:`WfsQueryBase`
Expand Down
7 changes: 4 additions & 3 deletions _static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const Search = {

htmlToText: (htmlString, anchor) => {
const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
for (const removalQuery of [".headerlinks", "script", "style"]) {
for (const removalQuery of [".headerlink", "script", "style"]) {
htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
}
if (anchor) {
Expand Down Expand Up @@ -328,13 +328,14 @@ const Search = {
for (const [title, foundTitles] of Object.entries(allTitles)) {
if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
for (const [file, id] of foundTitles) {
let score = Math.round(100 * queryLower.length / title.length)
const score = Math.round(Scorer.title * queryLower.length / title.length);
const boost = titles[file] === title ? 1 : 0; // add a boost for document titles
normalResults.push([
docNames[file],
titles[file] !== title ? `${titles[file]} > ${title}` : title,
id !== null ? "#" + id : "",
null,
score,
score + boost,
filenames[file],
]);
}
Expand Down
14 changes: 14 additions & 0 deletions autoapi/geoapis/lidar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,20 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
</ul>
</dd>
</dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="geoapis.lidar.OpenTopography.NETLOC_DATA">
<span class="sig-name descname"><span class="pre">NETLOC_DATA</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'opentopography.s3.sdsc.edu'</span></em><a class="headerlink" href="#geoapis.lidar.OpenTopography.NETLOC_DATA" title="Link to this definition"></a></dt>
<dd><p>This should be instantiated in the base class. Provide the netloc of the data
service.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="geoapis.lidar.OpenTopography.OT_BUCKET">
<span class="sig-name descname"><span class="pre">OT_BUCKET</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'pc-bulk'</span></em><a class="headerlink" href="#geoapis.lidar.OpenTopography.OT_BUCKET" title="Link to this definition"></a></dt>
<dd><p>This should be instantiated in the base class. Provide the netloc of the data
service.</p>
</dd></dl>

</dd></dl>

</section>
Expand Down
21 changes: 21 additions & 0 deletions autoapi/geoapis/raster/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,13 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
</ul>
</dd>
</dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="geoapis.raster.Linz.NETLOC_API">
<span class="sig-name descname"><span class="pre">NETLOC_API</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'data.linz.govt.nz'</span></em><a class="headerlink" href="#geoapis.raster.Linz.NETLOC_API" title="Link to this definition"></a></dt>
<dd><p>This should be instantiated in the base class. Provide the netloc of the data
service.</p>
</dd></dl>

</dd></dl>

<dl class="py class">
Expand All @@ -194,6 +201,13 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
</ul>
</dd>
</dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="geoapis.raster.Lris.NETLOC_API">
<span class="sig-name descname"><span class="pre">NETLOC_API</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'lris.scinfo.org.nz'</span></em><a class="headerlink" href="#geoapis.raster.Lris.NETLOC_API" title="Link to this definition"></a></dt>
<dd><p>This should be instantiated in the base class. Provide the netloc of the data
service.</p>
</dd></dl>

</dd></dl>

<dl class="py class">
Expand All @@ -213,6 +227,13 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
</ul>
</dd>
</dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="geoapis.raster.StatsNz.NETLOC_API">
<span class="sig-name descname"><span class="pre">NETLOC_API</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'datafinder.stats.govt.nz'</span></em><a class="headerlink" href="#geoapis.raster.StatsNz.NETLOC_API" title="Link to this definition"></a></dt>
<dd><p>This should be instantiated in the base class. Provide the netloc of the data
service.</p>
</dd></dl>

</dd></dl>

<dl class="py class">
Expand Down
42 changes: 42 additions & 0 deletions autoapi/geoapis/vector/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,20 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
</ul>
</dd>
</dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="geoapis.vector.Linz.NETLOC_API">
<span class="sig-name descname"><span class="pre">NETLOC_API</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'data.linz.govt.nz'</span></em><a class="headerlink" href="#geoapis.vector.Linz.NETLOC_API" title="Link to this definition"></a></dt>
<dd><p>This should be instantiated in the base class. Provide the netloc of the data
service.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="geoapis.vector.Linz.GEOMETRY_NAMES">
<span class="sig-name descname"><span class="pre">GEOMETRY_NAMES</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['GEOMETRY',</span> <span class="pre">'shape']</span></em><a class="headerlink" href="#geoapis.vector.Linz.GEOMETRY_NAMES" title="Link to this definition"></a></dt>
<dd><p>This should be instantiated in the base class. Define the ‘geometry_name’
used when making a WFS ‘cql_filter’ query</p>
</dd></dl>

</dd></dl>

<dl class="py class">
Expand All @@ -291,6 +305,20 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
</ul>
</dd>
</dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="geoapis.vector.Lris.NETLOC_API">
<span class="sig-name descname"><span class="pre">NETLOC_API</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'lris.scinfo.org.nz'</span></em><a class="headerlink" href="#geoapis.vector.Lris.NETLOC_API" title="Link to this definition"></a></dt>
<dd><p>This should be instantiated in the base class. Provide the netloc of the data
service.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="geoapis.vector.Lris.GEOMETRY_NAMES">
<span class="sig-name descname"><span class="pre">GEOMETRY_NAMES</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['GEOMETRY',</span> <span class="pre">'Shape']</span></em><a class="headerlink" href="#geoapis.vector.Lris.GEOMETRY_NAMES" title="Link to this definition"></a></dt>
<dd><p>This should be instantiated in the base class. Define the ‘geometry_name’
used when making a WFS ‘cql_filter’ query</p>
</dd></dl>

</dd></dl>

<dl class="py class">
Expand All @@ -313,6 +341,20 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
</ul>
</dd>
</dl>
<dl class="py attribute">
<dt class="sig sig-object py" id="geoapis.vector.StatsNz.NETLOC_API">
<span class="sig-name descname"><span class="pre">NETLOC_API</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'datafinder.stats.govt.nz'</span></em><a class="headerlink" href="#geoapis.vector.StatsNz.NETLOC_API" title="Link to this definition"></a></dt>
<dd><p>This should be instantiated in the base class. Provide the netloc of the data
service.</p>
</dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="geoapis.vector.StatsNz.GEOMETRY_NAMES">
<span class="sig-name descname"><span class="pre">GEOMETRY_NAMES</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">['GEOMETRY',</span> <span class="pre">'Shape']</span></em><a class="headerlink" href="#geoapis.vector.StatsNz.GEOMETRY_NAMES" title="Link to this definition"></a></dt>
<dd><p>This should be instantiated in the base class. Define the ‘geometry_name’
used when making a WFS ‘cql_filter’ query</p>
</dd></dl>

</dd></dl>

<dl class="py class">
Expand Down
36 changes: 31 additions & 5 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,24 @@ <h2 id="G">G</h2>
<li><a href="autoapi/geoapis/raster/index.html#module-geoapis.raster">module</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
geoapis.vector

<ul>
<li><a href="autoapi/geoapis/vector/index.html#module-geoapis.vector">module</a>
</li>
</ul></li>
<li><a href="autoapi/geoapis/vector/index.html#geoapis.vector.WfsQuery.GEOMETRY_NAMES">GEOMETRY_NAMES (geoapis.vector.WfsQuery property)</a>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="autoapi/geoapis/vector/index.html#geoapis.vector.Linz.GEOMETRY_NAMES">GEOMETRY_NAMES (geoapis.vector.Linz attribute)</a>

<ul>
<li><a href="autoapi/geoapis/vector/index.html#geoapis.vector.Lris.GEOMETRY_NAMES">(geoapis.vector.Lris attribute)</a>
</li>
<li><a href="autoapi/geoapis/vector/index.html#geoapis.vector.StatsNz.GEOMETRY_NAMES">(geoapis.vector.StatsNz attribute)</a>
</li>
<li><a href="autoapi/geoapis/vector/index.html#geoapis.vector.WfsQuery.GEOMETRY_NAMES">(geoapis.vector.WfsQuery property)</a>
</li>
<li><a href="autoapi/geoapis/vector/index.html#geoapis.vector.WfsQueryBase.GEOMETRY_NAMES">(geoapis.vector.WfsQueryBase property)</a>
</li>
</ul></li>
Expand Down Expand Up @@ -228,6 +234,18 @@ <h2 id="N">N</h2>

<ul>
<li><a href="autoapi/geoapis/raster/index.html#geoapis.raster.KoordinatesQuery.NETLOC_API">(geoapis.raster.KoordinatesQuery property)</a>
</li>
<li><a href="autoapi/geoapis/raster/index.html#geoapis.raster.Linz.NETLOC_API">(geoapis.raster.Linz attribute)</a>
</li>
<li><a href="autoapi/geoapis/raster/index.html#geoapis.raster.Lris.NETLOC_API">(geoapis.raster.Lris attribute)</a>
</li>
<li><a href="autoapi/geoapis/raster/index.html#geoapis.raster.StatsNz.NETLOC_API">(geoapis.raster.StatsNz attribute)</a>
</li>
<li><a href="autoapi/geoapis/vector/index.html#geoapis.vector.Linz.NETLOC_API">(geoapis.vector.Linz attribute)</a>
</li>
<li><a href="autoapi/geoapis/vector/index.html#geoapis.vector.Lris.NETLOC_API">(geoapis.vector.Lris attribute)</a>
</li>
<li><a href="autoapi/geoapis/vector/index.html#geoapis.vector.StatsNz.NETLOC_API">(geoapis.vector.StatsNz attribute)</a>
</li>
<li><a href="autoapi/geoapis/vector/index.html#geoapis.vector.WfsQuery.NETLOC_API">(geoapis.vector.WfsQuery property)</a>
</li>
Expand All @@ -236,8 +254,12 @@ <h2 id="N">N</h2>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="autoapi/geoapis/lidar/index.html#geoapis.lidar.S3QueryBase.NETLOC_DATA">NETLOC_DATA (geoapis.lidar.S3QueryBase property)</a>
<li><a href="autoapi/geoapis/lidar/index.html#geoapis.lidar.OpenTopography.NETLOC_DATA">NETLOC_DATA (geoapis.lidar.OpenTopography attribute)</a>

<ul>
<li><a href="autoapi/geoapis/lidar/index.html#geoapis.lidar.S3QueryBase.NETLOC_DATA">(geoapis.lidar.S3QueryBase property)</a>
</li>
</ul></li>
</ul></td>
</tr></table>

Expand All @@ -248,8 +270,12 @@ <h2 id="O">O</h2>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="autoapi/geoapis/lidar/index.html#geoapis.lidar.S3QueryBase.OT_BUCKET">OT_BUCKET (geoapis.lidar.S3QueryBase property)</a>
<li><a href="autoapi/geoapis/lidar/index.html#geoapis.lidar.OpenTopography.OT_BUCKET">OT_BUCKET (geoapis.lidar.OpenTopography attribute)</a>

<ul>
<li><a href="autoapi/geoapis/lidar/index.html#geoapis.lidar.S3QueryBase.OT_BUCKET">(geoapis.lidar.S3QueryBase property)</a>
</li>
</ul></li>
</ul></td>
</tr></table>

Expand Down
Binary file modified objects.inv
Binary file not shown.
Loading

0 comments on commit b9f94cf

Please sign in to comment.