Skip to content

Commit

Permalink
Building blocks postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Dec 24, 2023
1 parent 0a34c9b commit b8b2d1d
Show file tree
Hide file tree
Showing 167 changed files with 1,261 additions and 1,261 deletions.
38 changes: 19 additions & 19 deletions bblocks.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,8 @@
"group": "Common",
"shaclRules": {},
"dependsOn": [
"ogc.geo.common.data_types.geojson",
"ogc.ogc-utils.json-link"
"ogc.ogc-utils.json-link",
"ogc.geo.common.data_types.geojson"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml",
Expand Down Expand Up @@ -638,8 +638,8 @@
],
"shaclRules": {},
"dependsOn": [
"ogc.ogc-utils.iri-or-curie",
"ogc.ogc-utils.json-link"
"ogc.ogc-utils.json-link",
"ogc.ogc-utils.iri-or-curie"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/link-role/schema.yaml",
Expand Down Expand Up @@ -794,8 +794,8 @@
"maturity": "development",
"scope": "unstable",
"dependsOn": [
"ogc.unstable.sosa.properties.observation",
"ogc.geo.geopose.basic.ypr"
"ogc.geo.geopose.basic.ypr",
"ogc.unstable.sosa.properties.observation"
],
"tags": [
"sosa",
Expand Down Expand Up @@ -926,8 +926,8 @@
"group": "Common",
"shaclRules": {},
"dependsOn": [
"ogc.geo.features.feature",
"ogc.ogc-utils.json-link"
"ogc.ogc-utils.json-link",
"ogc.geo.features.feature"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema.yaml",
Expand Down Expand Up @@ -1084,8 +1084,8 @@
"group": "SOSA",
"shaclRules": {},
"dependsOn": [
"ogc.unstable.sosa.properties.sensor",
"ogc.ogc-utils.iri-or-curie"
"ogc.ogc-utils.iri-or-curie",
"ogc.unstable.sosa.properties.sensor"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema.yaml",
Expand Down Expand Up @@ -1134,9 +1134,9 @@
"group": "JSON-FG",
"shaclRules": {},
"dependsOn": [
"ogc.ogc-utils.json-link",
"ogc.geo.json-fg.feature",
"ogc.geo.features.featureCollection",
"ogc.ogc-utils.json-link"
"ogc.geo.features.featureCollection"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema.yaml",
Expand Down Expand Up @@ -1189,9 +1189,9 @@
"group": "JSON-FG",
"shaclRules": {},
"dependsOn": [
"ogc.geo.features.featureCollection",
"ogc.ogc-utils.json-link",
"ogc.geo.json-fg.feature-lenient",
"ogc.ogc-utils.json-link"
"ogc.geo.features.featureCollection"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema.yaml",
Expand Down Expand Up @@ -1317,8 +1317,8 @@
},
"dependsOn": [
"ogc.geo.json-fg.featureCollection-lenient",
"ogc.unstable.sosa.properties.observationCollection",
"ogc.unstable.sosa.features.observation"
"ogc.unstable.sosa.features.observation",
"ogc.unstable.sosa.properties.observationCollection"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema.yaml",
Expand Down Expand Up @@ -1366,10 +1366,10 @@
"maturity": "development",
"scope": "unstable",
"dependsOn": [
"ogc.unstable.sosa.examples.vectorObservation",
"ogc.unstable.sosa.features.observationCollection",
"ogc.unstable.sosa.properties.observation",
"ogc.unstable.sosa.features.observation",
"ogc.unstable.sosa.properties.observation"
"ogc.unstable.sosa.examples.vectorObservation",
"ogc.unstable.sosa.features.observationCollection"
],
"tags": [
"sosa",
Expand Down
164 changes: 82 additions & 82 deletions bblocks.ttl

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions generateddocs/json-full/geo/features/feature/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"group": "Common",
"shaclRules": {},
"dependsOn": [
"ogc.geo.common.data_types.geojson",
"ogc.ogc-utils.json-link"
"ogc.ogc-utils.json-link",
"ogc.geo.common.data_types.geojson"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"group": "Common",
"shaclRules": {},
"dependsOn": [
"ogc.geo.features.feature",
"ogc.ogc-utils.json-link"
"ogc.ogc-utils.json-link",
"ogc.geo.features.feature"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/featureCollection/schema.yaml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"group": "JSON-FG",
"shaclRules": {},
"dependsOn": [
"ogc.geo.features.featureCollection",
"ogc.ogc-utils.json-link",
"ogc.geo.json-fg.feature-lenient",
"ogc.ogc-utils.json-link"
"ogc.geo.features.featureCollection"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection-lenient/schema.yaml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"group": "JSON-FG",
"shaclRules": {},
"dependsOn": [
"ogc.ogc-utils.json-link",
"ogc.geo.json-fg.feature",
"ogc.geo.features.featureCollection",
"ogc.ogc-utils.json-link"
"ogc.geo.features.featureCollection"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/featureCollection/schema.yaml",
Expand Down
4 changes: 2 additions & 2 deletions generateddocs/json-full/geo/json-fg/link-role/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
],
"shaclRules": {},
"dependsOn": [
"ogc.ogc-utils.iri-or-curie",
"ogc.ogc-utils.json-link"
"ogc.ogc-utils.json-link",
"ogc.ogc-utils.iri-or-curie"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/link-role/schema.yaml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"maturity": "development",
"scope": "unstable",
"dependsOn": [
"ogc.unstable.sosa.properties.observation",
"ogc.geo.geopose.basic.ypr"
"ogc.geo.geopose.basic.ypr",
"ogc.unstable.sosa.properties.observation"
],
"tags": [
"sosa",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"maturity": "development",
"scope": "unstable",
"dependsOn": [
"ogc.unstable.sosa.examples.vectorObservation",
"ogc.unstable.sosa.features.observationCollection",
"ogc.unstable.sosa.properties.observation",
"ogc.unstable.sosa.features.observation",
"ogc.unstable.sosa.properties.observation"
"ogc.unstable.sosa.examples.vectorObservation",
"ogc.unstable.sosa.features.observationCollection"
],
"tags": [
"sosa",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
},
"dependsOn": [
"ogc.geo.json-fg.featureCollection-lenient",
"ogc.unstable.sosa.properties.observationCollection",
"ogc.unstable.sosa.features.observation"
"ogc.unstable.sosa.features.observation",
"ogc.unstable.sosa.properties.observationCollection"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/features/observationCollection/schema.yaml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"group": "SOSA",
"shaclRules": {},
"dependsOn": [
"ogc.unstable.sosa.properties.sensor",
"ogc.ogc-utils.iri-or-curie"
"ogc.ogc-utils.iri-or-curie",
"ogc.unstable.sosa.properties.sensor"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/bblocks/annotated-schemas/unstable/sosa/properties/platform/schema.yaml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,7 @@ <h1 id='description'>Description</h1>

<p>Otherwise, the values for the <code>bbox</code> parameter shall be assumed to be WGS 84 longitude-latitude for coordinates
without height and WGS 84 longitude-latitude-height for coordinates with height.</p>
<h1 id='examples'>Examples</h1><h2 id='bounding-box-parameter-example'>Bounding box parameter example</h2>
<p>The coordinates in the following bounding box are in the coordinate reference system ETRS89 / UTM zone 32N that is used, for example, in Germany.</p>
<div class="highlight"><pre class="highlight python tab-python"><code><span class="kn">import</span> <span class="nn">urllib.parse</span>
<h1 id='examples'>Examples</h1><h2 id='bounding-box-parameter-example'>Bounding box parameter example</h2><div class="highlight"><pre class="highlight python tab-python"><code><span class="kn">import</span> <span class="nn">urllib.parse</span>
<span class="kn">import</span> <span class="nn">urllib.request</span>

<span class="n">params</span> <span class="o">=</span> <span class="p">{</span>
Expand All @@ -376,7 +374,9 @@ <h1 id='examples'>Examples</h1><h2 id='bounding-box-parameter-example'>Bounding

<span class="k">print</span><span class="p">(</span><span class="n">contents</span><span class="p">.</span><span class="n">read</span><span class="p">())</span>

</code></pre></div><h1 id='json-schema'>JSON Schema</h1><div class="highlight"><pre class="highlight yaml tab-yaml--schema"><code><span class="na">name</span><span class="pi">:</span> <span class="s">bbox-crs</span>
</code></pre></div>
<p>The coordinates in the following bounding box are in the coordinate reference system ETRS89 / UTM zone 32N that is used, for example, in Germany.</p>
<h1 id='json-schema'>JSON Schema</h1><div class="highlight"><pre class="highlight yaml tab-yaml--schema"><code><span class="na">name</span><span class="pi">:</span> <span class="s">bbox-crs</span>
<span class="na">in</span><span class="pi">:</span> <span class="s">query</span>
<span class="na">required</span><span class="pi">:</span> <span class="no">false</span>
<span class="na">schema</span><span class="pi">:</span>
Expand Down
10 changes: 5 additions & 5 deletions generateddocs/slate-build/geo/features/feature/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,7 @@ <h1 id='description'>Description</h1>
<li><code>properties</code>: an object with a member for each feature property.
# Examples</li>
</ul>
<h2 id='example'>Example</h2>
<p>Minimal example of this schema.</p>

<p>NB. uses a local @context in the data example where application specialisations would apply such mappings.</p>
<div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
<h2 id='example'>Example</h2><div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
</span><span class="nl">"id"</span><span class="p">:</span><span class="w"> </span><span class="s2">"f1"</span><span class="p">,</span><span class="w">
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Feature"</span><span class="p">,</span><span class="w">
</span><span class="nl">"geometry"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
Expand Down Expand Up @@ -431,6 +427,10 @@ <h2 id='example'>Example</h2>
<p class="example-links">
<a target="_blank" href="https://opengeospatial.github.io/bblocks/tests/geo/features/feature/example_1_1.ttl">Open in new window</a>
</blockquote>

<p>Minimal example of this schema.</p>

<p>NB. uses a local @context in the data example where application specialisations would apply such mappings.</p>
<h1 id='json-schema'>JSON Schema</h1><div class="highlight"><pre class="highlight yaml tab-yaml--schema"><code><span class="na">allOf</span><span class="pi">:</span>
<span class="pi">-</span> <span class="na">$ref</span><span class="pi">:</span> <span class="s">../../common/data_types/geojson/schema.yaml</span>
<span class="pi">-</span> <span class="na">type</span><span class="pi">:</span> <span class="s">object</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,11 +357,7 @@ <h1 id='feature-collection-ogc-geo-features-featurecollection'>Feature Collectio
<aside class="success">
This building block is <strong><a href="https://github.com/opengeospatial/bblocks/blob/master/tests/geo/features/featureCollection/" target="_blank">valid</a></strong>
</aside>
<h1 id='examples'>Examples</h1><h2 id='example'>Example</h2>
<p>Minimal example of this schema.</p>

<p>NB. uses a local @context in the data example where application specialisations would apply such mappings.</p>
<div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
<h1 id='examples'>Examples</h1><h2 id='example'>Example</h2><div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
</span><span class="nl">"@context"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="nl">"my"</span><span class="p">:</span><span class="w"> </span><span class="s2">"http://my.org/featureTypes/"</span><span class="p">,</span><span class="w">
</span><span class="nl">"skos"</span><span class="p">:</span><span class="w"> </span><span class="s2">"http://www.w3.org/2004/02/skos/core#"</span><span class="p">,</span><span class="w">
Expand Down Expand Up @@ -447,6 +443,10 @@ <h1 id='examples'>Examples</h1><h2 id='example'>Example</h2>
<p class="example-links">
<a target="_blank" href="https://opengeospatial.github.io/bblocks/tests/geo/features/featureCollection/example_1_1.ttl">Open in new window</a>
</blockquote>

<p>Minimal example of this schema.</p>

<p>NB. uses a local @context in the data example where application specialisations would apply such mappings.</p>
<h1 id='json-schema'>JSON Schema</h1><div class="highlight"><pre class="highlight yaml tab-yaml--schema"><code><span class="na">allOf</span><span class="pi">:</span>
<span class="pi">-</span> <span class="na">$ref</span><span class="pi">:</span> <span class="s">https://geojson.org/schema/FeatureCollection.json</span>
<span class="pi">-</span> <span class="na">type</span><span class="pi">:</span> <span class="s">object</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,7 @@ <h1 id='description'>Description</h1>
also be able to parse and understand the additional members.</p>

<p>JSON Schema is used to formally specify the JSON-FG syntax.</p>
<h1 id='examples'>Examples</h1><h2 id='example'>Example</h2>
<p>Minimal example of this schema.</p>

<p>NB. uses a local @context in the data example where application specialisations would apply such mappings.</p>
<div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
<h1 id='examples'>Examples</h1><h2 id='example'>Example</h2><div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
</span><span class="nl">"@context"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="nl">"my"</span><span class="p">:</span><span class="w"> </span><span class="s2">"http://my.org/featureTypes/"</span><span class="p">,</span><span class="w">
</span><span class="nl">"skos"</span><span class="p">:</span><span class="w"> </span><span class="s2">"http://www.w3.org/2004/02/skos/core#"</span><span class="p">,</span><span class="w">
Expand Down Expand Up @@ -482,6 +478,10 @@ <h1 id='examples'>Examples</h1><h2 id='example'>Example</h2>
<p class="example-links">
<a target="_blank" href="https://opengeospatial.github.io/bblocks/tests/geo/json-fg/featureCollection/example_1_1.ttl">Open in new window</a>
</blockquote>

<p>Minimal example of this schema.</p>

<p>NB. uses a local @context in the data example where application specialisations would apply such mappings.</p>
<h1 id='json-schema'>JSON Schema</h1><div class="highlight"><pre class="highlight yaml tab-yaml--schema"><code><span class="na">$schema</span><span class="pi">:</span> <span class="s">https://json-schema.org/draft/2019-09/schema</span>
<span class="na">title</span><span class="pi">:</span> <span class="s">a JSON-FG Feature Collection</span>
<span class="na">description</span><span class="pi">:</span> <span class="s">This JSON Schema is part of JSON-FG version 0.1.1</span>
Expand Down
6 changes: 3 additions & 3 deletions generateddocs/slate-build/geo/json-fg/link-role/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,7 @@ <h1 id='link-with-role-and-target-conformance-ogc-geo-json-fg-link-role'>Link wi
<aside class="success">
This building block is <strong><a href="https://github.com/opengeospatial/bblocks/blob/master/tests/geo/json-fg/link-role/" target="_blank">valid</a></strong>
</aside>
<h1 id='examples'>Examples</h1><h2 id='example-topology-object'>Example Topology object</h2>
<p>See panel to right - note that a more user friendly &quot;collapsable&quot; version is in development. </p>
<div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
<h1 id='examples'>Examples</h1><h2 id='example-topology-object'>Example Topology object</h2><div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
</span><span class="nl">"@context"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="nl">"@base"</span><span class="p">:</span><span class="w"> </span><span class="s2">"http://example.org"</span><span class="w">
</span><span class="p">},</span><span class="w">
Expand Down Expand Up @@ -401,6 +399,8 @@ <h1 id='examples'>Examples</h1><h2 id='example-topology-object'>Example Topology
<p class="example-links">
<a target="_blank" href="https://opengeospatial.github.io/bblocks/tests/geo/json-fg/link-role/example_1_1.ttl">Open in new window</a>
</blockquote>

<p>See panel to right - note that a more user friendly &quot;collapsable&quot; version is in development. </p>
<h1 id='json-schema'>JSON Schema</h1><div class="highlight"><pre class="highlight yaml tab-yaml--schema"><code><span class="na">description</span><span class="pi">:</span> <span class="s">annotated link with role and conformance</span>
<span class="na">$defs</span><span class="pi">:</span>
<span class="na">coderef</span><span class="pi">:</span>
Expand Down
6 changes: 3 additions & 3 deletions generateddocs/slate-build/ogc-utils/topology/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,7 @@ <h1 id='description'>Description</h1>
<p>Other features may be either features with topology properties or GeoJSON (or FG-JSON) point objects.</p>

<p>This is a generalisation of the TopoJSON concept using inline data, and not limited to linestrings.</p>
<h1 id='examples'>Examples</h1><h2 id='example-topology-object'>Example Topology object</h2>
<p>See panel to right - note that a more user friendly &quot;collapsable&quot; version is in development. </p>
<div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
<h1 id='examples'>Examples</h1><h2 id='example-topology-object'>Example Topology object</h2><div class="highlight"><pre class="highlight json tab-json"><code><span class="p">{</span><span class="w">
</span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"LineString"</span><span class="p">,</span><span class="w">
</span><span class="nl">"references"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="s2">"P1"</span><span class="p">,</span><span class="w">
Expand Down Expand Up @@ -404,6 +402,8 @@ <h1 id='examples'>Examples</h1><h2 id='example-topology-object'>Example Topology
<p class="example-links">
<a target="_blank" href="https://opengeospatial.github.io/bblocks/tests/ogc-utils/topology/example_1_1.ttl">Open in new window</a>
</blockquote>

<p>See panel to right - note that a more user friendly &quot;collapsable&quot; version is in development. </p>
<h1 id='json-schema'>JSON Schema</h1><div class="highlight"><pre class="highlight yaml tab-yaml--schema"><code><span class="na">$schema</span><span class="pi">:</span> <span class="s">https://json-schema.org/draft/2020-12/schema</span>
<span class="na">description</span><span class="pi">:</span> <span class="s">feature with geometry by reference</span>
<span class="na">properties</span><span class="pi">:</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ without height and WGS 84 longitude-latitude-height for coordinates with height.

## Bounding box parameter example

The coordinates in the following bounding box are in the coordinate reference system ETRS89 / UTM zone 32N that is used, for example, in Germany.




```python
Expand All @@ -64,6 +61,9 @@ print(contents.read())

```

The coordinates in the following bounding box are in the coordinate reference system ETRS89 / UTM zone 32N that is used, for example, in Germany.



# JSON Schema

Expand Down
Loading

0 comments on commit b8b2d1d

Please sign in to comment.