Skip to content

Commit

Permalink
Deployed e1afb20 to master with MkDocs 1.4.2 and mike 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 2, 2024
1 parent 4b64d15 commit 2471efe
Show file tree
Hide file tree
Showing 19 changed files with 33 additions and 28 deletions.
27 changes: 16 additions & 11 deletions master/configuration/ThemesConfiguration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1078,22 +1078,27 @@ <h2 id="using-the-qgz-project-file-format">Using the QGZ project file format <a
<li>If using <code>qwc-docker</code>, set <code>QGIS_PROJECT_SUFFIX=qgz</code> in the <code>qwc-qgis-server</code> environment in <code>docker-compose.yml</code>.</li>
</ul>
<h2 id="split-categorized-layers">Split categorized layers<a class="headerlink" href="#split-categorized-layers" title="Permanent link">&para;</a></h2>
<p>When using <code>qwc-docker</code>, the <code>qwc-config-generator</code> has the ability to split a layer that has been <a href="https://docs.qgis.org/latest/en/docs/training_manual/vector_classification/classification.html">classified</a> with QGIS into multiple layers and move them into a new group (the group name will be the original layer name). To activate this functionality, follow these steps:</p>
<ol>
<li>
<p>Place the projects whose layers you want to split below <code>qwc-docker/volumes/config-in/&lt;tenant&gt;/qgis_projects</code>.</p>
</li>
<li>
<p>In the topolevel <code>config</code> in <code>qwc-docker/volumes/config-in/&lt;tenant&gt;/tenantConfig.json</code>, ensure <code>qgis_projects_gen_base_dir</code> is set and valid, and set <code>"split_categorized_layers": true</code>.</p>
</li>
<p>By default, symbol categories of a <a href="https://docs.qgis.org/latest/en/docs/training_manual/vector_classification/classification.html">classified</a> layer won't be exposed via WMS and hence in QWC2.</p>
<p>To expose symbol categories as separate layers via WMS, you can use the <a href="https://github.com/qwc-services/qwc-qgis-server-plugins/tree/main/split_categorized">split_categorized</a> QGIS Server plugin.</p>
<p>To configure the plugin in <code>qwc-docker</code>, proceed as follows:</p>
<ul>
<li>Download the <a href="https://github.com/qwc-services/qwc-qgis-server-plugins/tree/main/split_categorized">split_categorized</a>, i.e. to <code>volumes/qgis-server-plugins/split_categorized</code> and configure the <code>qwc-qgis-server</code> container as follows:</li>
</ul>
<pre><code class="language-yml"> qwc-qgis-server:
image: docker.io/sourcepole/qwc-qgis-server:&lt;TAG&gt;
volumes:
- ./volumes/qgis-server-plugins/split_categorized:/usr/share/qgis/python/plugins/split_categorized:ro
...
</code></pre>
<ul>
<li>
<p>For all layers that you want to split, create the <a href="https://docs.qgis.org/latest/en/docs/user_manual/working_with_vector/vector_properties.html#variables-properties">variable</a> <code>convert_categorized_layer</code> and set it to <code>true</code>.</p>
</li>
<li>
<p>Generate the <a href="#generating-theme-configuration">themes configuration</a>. The <code>qwc-config-generator</code> will process the projects and write the modified projects to <code>qgis_projects_gen_base_dir</code>.</p>
<p>Generate the <a href="#generating-theme-configuration">themes configuration</a>.</p>
</li>
</ol>
<p><em>Note:</em> Make sure you are using <code>qwc-config-generator:v&lt;version&gt;</code> and not <code>qwc-config-generator:v&lt;version&gt;-noqgis</code>.</p>
</ul>
<p><em>Note:</em> <code>ELSE</code> symbol rules are currently unsupported, respectively will display the entire layer contents.</p>

</div>
</div><footer>
Expand Down
2 changes: 1 addition & 1 deletion master/references/qwc-admin-gui/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion master/references/qwc-config-generator/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion master/references/qwc-data-service/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion master/references/qwc-db-auth/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion master/references/qwc-elevation-service/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
<script src=https://use.fontawesome.com/facf9fa52c.js></script></p>
<script src=schema_doc.min.js></script>
<p><meta charset=utf-8><title>QWC Elevation Service</title></head> </p>
<body onload=anchorOnLoad(); id=root> <div class=breadcrumbs></div> <h1>QWC Elevation Service</h1><span class="badge badge-dark value-type">Type: object</span><br> <div class=accordion id=accordionschema> <div class=card> <div class=card-header id=headingschema> <h2 class=mb-0> <button class="btn btn-link property-name-button" type=button data-toggle=collapse data-target=#schema aria-expanded aria-controls=schema onclick="setAnchor('#schema')"><span class=property-name>$schema</span></button> </h2> </div> <div id=schema class="collapse property-definition-div" aria-labelledby=headingschema data-parent=#accordionschema> <div class="card-body pl-5"> <div class=breadcrumbs>root <svg width=1em height=1em viewbox="0 0 16 16" class="bi bi-arrow-right-short" fill=currentColor xmlns=http://www.w3.org/2000/svg> <path fill-rule=evenodd d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/> </svg> <a href=#schema onclick="anchorLink('schema')">$schema</a></div><h4>JSON Schema</h4><span class="badge badge-dark value-type">Type: string</span><span class="badge badge-info value-type">Format: uri</span> <span class="badge badge-success default-value">Default: "https://raw.githubusercontent.com/qwc-services/qwc-elevation-service/master/schemas/qwc-elevation-service.json"</span><br> <span class=description><p>Reference to JSON schema of this config</p> </span> </div> </div> </div> </div> <div class=accordion id=accordionservice> <div class=card> <div class=card-header id=headingservice> <h2 class=mb-0> <button class="btn btn-link property-name-button" type=button data-toggle=collapse data-target=#service aria-expanded aria-controls=service onclick="setAnchor('#service')"><span class=property-name>service</span> <span class="badge badge-warning required-property">Required</span></button> </h2> </div> <div id=service class="collapse property-definition-div" aria-labelledby=headingservice data-parent=#accordionservice> <div class="card-body pl-5"> <div class=breadcrumbs>root <svg width=1em height=1em viewbox="0 0 16 16" class="bi bi-arrow-right-short" fill=currentColor xmlns=http://www.w3.org/2000/svg> <path fill-rule=evenodd d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/> </svg> <a href=#service onclick="anchorLink('service')">service</a></div><h4>Service name</h4><span class="badge badge-dark value-type">Type: const</span><br> <span class=const-value id=service_const>Specific value: <code>"elevation"</code></span> </div> </div> </div> </div> <div class=accordion id=accordionconfig> <div class=card> <div class=card-header id=headingconfig> <h2 class=mb-0> <button class="btn btn-link property-name-button" type=button data-toggle=collapse data-target=#config aria-expanded aria-controls=config onclick="setAnchor('#config')"><span class=property-name>config</span> <span class="badge badge-warning required-property">Required</span></button> </h2> </div> <div id=config class="collapse property-definition-div" aria-labelledby=headingconfig data-parent=#accordionconfig> <div class="card-body pl-5"> <div class=breadcrumbs>root <svg width=1em height=1em viewbox="0 0 16 16" class="bi bi-arrow-right-short" fill=currentColor xmlns=http://www.w3.org/2000/svg> <path fill-rule=evenodd d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/> </svg> <a href=#config onclick="anchorLink('config')">config</a></div><h4>Config options</h4><span class="badge badge-dark value-type">Type: object</span><br> <div class=accordion id=accordionconfig_elevation_dataset> <div class=card> <div class=card-header id=headingconfig_elevation_dataset> <h2 class=mb-0> <button class="btn btn-link property-name-button" type=button data-toggle=collapse data-target=#config_elevation_dataset aria-expanded aria-controls=config_elevation_dataset onclick="setAnchor('#config_elevation_dataset')"><span class=property-name>elevation_dataset</span> <span class="badge badge-warning required-property">Required</span></button> </h2> </div> <div id=config_elevation_dataset class="collapse property-definition-div" aria-labelledby=headingconfig_elevation_dataset data-parent=#accordionconfig_elevation_dataset> <div class="card-body pl-5"> <div class=breadcrumbs>root <svg width=1em height=1em viewbox="0 0 16 16" class="bi bi-arrow-right-short" fill=currentColor xmlns=http://www.w3.org/2000/svg> <path fill-rule=evenodd d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/> </svg> <a href=#config onclick="anchorLink('config')">config</a> <svg width=1em height=1em viewbox="0 0 16 16" class="bi bi-arrow-right-short" fill=currentColor xmlns=http://www.w3.org/2000/svg> <path fill-rule=evenodd d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/> </svg> <a href=#config_elevation_dataset onclick="anchorLink('config_elevation_dataset')">elevation_dataset</a></div><span class="badge badge-dark value-type">Type: string</span><br> <span class=description><p>Elevation dataset (file or URL). Example: https://data.sourcepole.com/srtm<em>1km</em>3857.tif</p> </span> </div> </div> </div> </div> </div> </div> </div> </div> <footer> <p class=generated-by-footer>Generated using <a href=https://github.com/coveooss/json-schema-for-humans>json-schema-for-humans</a> on 2024-02-02 at 14:16:39 +0000</p> </footer></body>
<body onload=anchorOnLoad(); id=root> <div class=breadcrumbs></div> <h1>QWC Elevation Service</h1><span class="badge badge-dark value-type">Type: object</span><br> <div class=accordion id=accordionschema> <div class=card> <div class=card-header id=headingschema> <h2 class=mb-0> <button class="btn btn-link property-name-button" type=button data-toggle=collapse data-target=#schema aria-expanded aria-controls=schema onclick="setAnchor('#schema')"><span class=property-name>$schema</span></button> </h2> </div> <div id=schema class="collapse property-definition-div" aria-labelledby=headingschema data-parent=#accordionschema> <div class="card-body pl-5"> <div class=breadcrumbs>root <svg width=1em height=1em viewbox="0 0 16 16" class="bi bi-arrow-right-short" fill=currentColor xmlns=http://www.w3.org/2000/svg> <path fill-rule=evenodd d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/> </svg> <a href=#schema onclick="anchorLink('schema')">$schema</a></div><h4>JSON Schema</h4><span class="badge badge-dark value-type">Type: string</span><span class="badge badge-info value-type">Format: uri</span> <span class="badge badge-success default-value">Default: "https://raw.githubusercontent.com/qwc-services/qwc-elevation-service/master/schemas/qwc-elevation-service.json"</span><br> <span class=description><p>Reference to JSON schema of this config</p> </span> </div> </div> </div> </div> <div class=accordion id=accordionservice> <div class=card> <div class=card-header id=headingservice> <h2 class=mb-0> <button class="btn btn-link property-name-button" type=button data-toggle=collapse data-target=#service aria-expanded aria-controls=service onclick="setAnchor('#service')"><span class=property-name>service</span> <span class="badge badge-warning required-property">Required</span></button> </h2> </div> <div id=service class="collapse property-definition-div" aria-labelledby=headingservice data-parent=#accordionservice> <div class="card-body pl-5"> <div class=breadcrumbs>root <svg width=1em height=1em viewbox="0 0 16 16" class="bi bi-arrow-right-short" fill=currentColor xmlns=http://www.w3.org/2000/svg> <path fill-rule=evenodd d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/> </svg> <a href=#service onclick="anchorLink('service')">service</a></div><h4>Service name</h4><span class="badge badge-dark value-type">Type: const</span><br> <span class=const-value id=service_const>Specific value: <code>"elevation"</code></span> </div> </div> </div> </div> <div class=accordion id=accordionconfig> <div class=card> <div class=card-header id=headingconfig> <h2 class=mb-0> <button class="btn btn-link property-name-button" type=button data-toggle=collapse data-target=#config aria-expanded aria-controls=config onclick="setAnchor('#config')"><span class=property-name>config</span> <span class="badge badge-warning required-property">Required</span></button> </h2> </div> <div id=config class="collapse property-definition-div" aria-labelledby=headingconfig data-parent=#accordionconfig> <div class="card-body pl-5"> <div class=breadcrumbs>root <svg width=1em height=1em viewbox="0 0 16 16" class="bi bi-arrow-right-short" fill=currentColor xmlns=http://www.w3.org/2000/svg> <path fill-rule=evenodd d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/> </svg> <a href=#config onclick="anchorLink('config')">config</a></div><h4>Config options</h4><span class="badge badge-dark value-type">Type: object</span><br> <div class=accordion id=accordionconfig_elevation_dataset> <div class=card> <div class=card-header id=headingconfig_elevation_dataset> <h2 class=mb-0> <button class="btn btn-link property-name-button" type=button data-toggle=collapse data-target=#config_elevation_dataset aria-expanded aria-controls=config_elevation_dataset onclick="setAnchor('#config_elevation_dataset')"><span class=property-name>elevation_dataset</span> <span class="badge badge-warning required-property">Required</span></button> </h2> </div> <div id=config_elevation_dataset class="collapse property-definition-div" aria-labelledby=headingconfig_elevation_dataset data-parent=#accordionconfig_elevation_dataset> <div class="card-body pl-5"> <div class=breadcrumbs>root <svg width=1em height=1em viewbox="0 0 16 16" class="bi bi-arrow-right-short" fill=currentColor xmlns=http://www.w3.org/2000/svg> <path fill-rule=evenodd d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/> </svg> <a href=#config onclick="anchorLink('config')">config</a> <svg width=1em height=1em viewbox="0 0 16 16" class="bi bi-arrow-right-short" fill=currentColor xmlns=http://www.w3.org/2000/svg> <path fill-rule=evenodd d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/> </svg> <a href=#config_elevation_dataset onclick="anchorLink('config_elevation_dataset')">elevation_dataset</a></div><span class="badge badge-dark value-type">Type: string</span><br> <span class=description><p>Elevation dataset (file or URL). Example: https://data.sourcepole.com/srtm<em>1km</em>3857.tif</p> </span> </div> </div> </div> </div> </div> </div> </div> </div> <footer> <p class=generated-by-footer>Generated using <a href=https://github.com/coveooss/json-schema-for-humans>json-schema-for-humans</a> on 2024-02-02 at 14:47:13 +0000</p> </footer></body>
<p></html></p>

</div>
Expand Down
2 changes: 1 addition & 1 deletion master/references/qwc-ext-service/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion master/references/qwc-feature-info-service/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit 2471efe

Please sign in to comment.