github.com/PDOK/gokoala@v0.50.6/internal/ogc/common/core/templates/conformance.go.html (about)

     1  {{- /*gotype: github.com/PDOK/gokoala/internal/engine.TemplateData*/ -}}
     2  {{define "content"}}
     3  <hgroup>
     4      <h1 class="title" id="title">{{ .Config.Title }} - Conformance</h1>
     5  </hgroup>
     6  <div class="row">
     7      <div class="col-md-12">
     8          <p>
     9              {{ i18n "ConformanceAbstract" }}
    10          </p>
    11      </div>
    12  </div>
    13  <section class="row row-cols-md-6 g-4 py-3">
    14      <div class="col-md-6 col-sm-12">
    15          <div class="card">
    16              <h2 class="card-header h5">Common</h2>
    17              <div class="card-body">
    18                  <table class="table table-borderless table-sm">
    19                      <thead>
    20                      <tr>
    21                          <th>Conformance</th>
    22                          <th>Status</th>
    23                      </tr>
    24                      </thead>
    25                      <tbody>
    26                      <tr>
    27                          <td><a href="http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/core" target="_blank" aria-label="{{ i18n "To" }} conf/core {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/core</a></td>
    28                          <td>{{ i18n "Standard" }}</td>
    29                      </tr>
    30                      <tr>
    31                          <td><a href="http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/json" target="_blank" aria-label="{{ i18n "To" }} conf/json {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/json</a></td>
    32                          <td>{{ i18n "Standard" }}</td>
    33                      </tr>
    34                      <tr>
    35                          <td><a href="http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/html" target="_blank" aria-label="{{ i18n "To" }} conf/html {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/html</a></td>
    36                          <td>{{ i18n "Standard" }}</td>
    37                      </tr>
    38                      <tr>
    39                          <td><a href="http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/oas30" target="_blank" aria-label="{{ i18n "To" }} conf/oas30 {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/oas30</a></td>
    40                          <td>{{ i18n "Standard" }}</td>
    41                      </tr>
    42                      {{ if .Config.HasCollections }}
    43                      <tr>
    44                          <td>http://www.opengis.net/spec/ogcapi-common-2/1.0/conf/collections</td>
    45                          <td>{{ i18n "Draft" }}</td>
    46                      </tr>
    47                      {{ end }}
    48                      </tbody>
    49                  </table>
    50              </div>
    51          </div>
    52      </div>
    53  
    54      {{ if .Config.OgcAPI.Features }}
    55          <div class="col-md-6 col-sm-12">
    56              <div class="card">
    57                  <h2 class="card-header h5">Features</h2>
    58                  <div class="card-body">
    59                      <table class="table table-borderless table-sm">
    60                          <thead>
    61                          <tr>
    62                              <th>Conformance</th>
    63                              <th>Status</th>
    64                          </tr>
    65                          </thead>
    66                          <tbody>
    67                          <tr>
    68                              <td><a href="http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core" target="_blank" aria-label="{{ i18n "To" }} conf/core {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core</a></td>
    69                              <td>{{ i18n "Standard" }}</td>
    70                          </tr>
    71                          <tr>
    72                              <td><a href="http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/html" target="_blank" aria-label="{{ i18n "To" }} conf/html {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/html</a></td>
    73                              <td>{{ i18n "Standard" }}</td>
    74                          </tr>
    75                          <tr>
    76                              <td><a href="http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/geojson" target="_blank" aria-label="{{ i18n "To" }} conf/geojson {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/geojson</a></td>
    77                              <td>{{ i18n "Standard" }}</td>
    78                          </tr>
    79  {{/*  Enable once we support GML output */}}
    80  {{/*                    <tr>*/}}
    81  {{/*                        <td><a href="http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/gmlsf0" target="_blank" aria-label="{{ i18n "To" }} conf/gmlsf0 {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/gmlsf0</a></td>*/}}
    82  {{/*                        <td>{{ i18n "Standard" }}</td>*/}}
    83  {{/*                    </tr>*/}}
    84  {{/*                    <tr>*/}}
    85  {{/*                        <td><a href="http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/gmlsf2" target="_blank" aria-label="{{ i18n "To" }} conf/gmlsf2 {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/gmlsf2</a></td>*/}}
    86  {{/*                        <td>{{ i18n "Standard" }}</td>*/}}
    87  {{/*                    </tr>*/}}
    88                          <tr>
    89                              <td><a href="http://www.opengis.net/spec/ogcapi-features-2/1.0/conf/crs" target="_blank" aria-label="{{ i18n "To" }} conf/crs {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-features-2/1.0/conf/crs</a></td>
    90                              <td>{{ i18n "Standard" }}</td>
    91                          </tr>
    92                          <tr>
    93                              <td>http://www.opengis.net/spec/json-fg-1/0.2</td>
    94                              <td>{{ i18n "Draft" }}</td>
    95                          </tr>
    96  {{/*  Enable once we support Features part 3 */}}
    97  {{/*                    <tr>*/}}
    98  {{/*                        <td><a href="http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/filter" target="_blank" aria-label="{{ i18n "To" }} conf/filter {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/filter</a></td>*/}}
    99  {{/*                        <td>{{ i18n "Draft" }}</td>*/}}
   100  {{/*                    </tr>*/}}
   101  {{/*                    <tr>*/}}
   102  {{/*                        <td><a href="http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/features-filter" target="_blank" aria-label="{{ i18n "To" }} conf/features-filter {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/features-filter</a></td>*/}}
   103  {{/*                        <td>{{ i18n "Draft" }}</td>*/}}
   104  {{/*                    </tr>*/}}
   105  {{/*                    <tr>*/}}
   106  {{/*                        <td><a href="http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/queryables" target="_blank" aria-label="{{ i18n "To" }} conf/queryables {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/queryables</a></td>*/}}
   107  {{/*                        <td>{{ i18n "Draft" }}</td>*/}}
   108  {{/*                    </tr>*/}}
   109  {{/*                    <tr>*/}}
   110  {{/*                        <td><a href="http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/queryables-query-parameters" target="_blank" aria-label="{{ i18n "To" }} conf/queryables-query-parameters {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/queryables-query-parameters</a></td>*/}}
   111  {{/*                        <td>{{ i18n "Draft" }}</td>*/}}
   112  {{/*                    </tr>*/}}
   113                          </tbody>
   114                      </table>
   115                  </div>
   116              </div>
   117          </div>
   118      {{ end }}
   119  
   120      {{ if .Config.OgcAPI.Styles }}
   121      <div class="col-md-6 col-sm-12">
   122          <div class="card">
   123              <h2 class="card-header h5">Styles</h2>
   124              <div class="card-body">
   125                  <table class="table table-borderless table-sm">
   126                      <thead>
   127                      <tr>
   128                          <th>Conformance</th>
   129                          <th>Status</th>
   130                      </tr>
   131                      </thead>
   132                      <tbody>
   133                      <tr>
   134                          <td>http://www.opengis.net/spec/ogcapi-styles-1/1.0/conf/core</td>
   135                          <td>{{ i18n "Draft" }}</td>
   136                      </tr>
   137                      <tr>
   138                          <td>http://www.opengis.net/spec/ogcapi-styles-1/1.0/conf/mapbox-styles</td>
   139                          <td>{{ i18n "Draft" }}</td>
   140                      </tr>
   141                      </tbody>
   142                  </table>
   143              </div>
   144          </div>
   145      </div>
   146      {{ end }}
   147  
   148      {{ if .Config.OgcAPI.GeoVolumes }}
   149      <div class="col-md-6 col-sm-12">
   150          <div class="card">
   151              <h2 class="card-header h5">3D GeoVolumes</h2>
   152              <div class="card-body">
   153                  <table class="table table-borderless table-sm">
   154                      <thead>
   155                      <tr>
   156                          <th>Conformance</th>
   157                          <th>Status</th>
   158                      </tr>
   159                      </thead>
   160                      <tbody>
   161                      <tr>
   162                          <td>http://www.opengis.net/spec/ogcapi-geovolumes-1/1.0/conf/core</td>
   163                          <td>{{ i18n "Draft" }}</td>
   164                      </tr>
   165                      </tbody>
   166                  </table>
   167              </div>
   168          </div>
   169      </div>
   170      {{ end }}
   171  
   172      {{ if .Config.OgcAPI.Tiles }}
   173      <div class="col-md-6 col-sm-12">
   174          <div class="card">
   175              <h2 class="card-header h5">Tiles</h2>
   176              <div class="card-body">
   177                  <table class="table table-borderless table-sm">
   178                      <thead>
   179                      <tr>
   180                          <th>Conformance</th>
   181                          <th>Status</th>
   182                      </tr>
   183                      </thead>
   184                      <tbody>
   185                      <tr>
   186                          <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core" target="_blank" aria-label="{{ i18n "To" }} conf/core {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core</a></td>
   187                          <td>{{ i18n "Standard" }}</td>
   188                      </tr>
   189                      <tr>
   190                          <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tileset" target="_blank" aria-label="{{ i18n "To" }} conf/tileset {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tileset</a></td>
   191                          <td>{{ i18n "Standard" }}</td>
   192                      </tr>
   193                      <tr>
   194                          <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tilesets-list" target="_blank" aria-label="{{ i18n "To" }} conf/tilesets-list {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tilesets-list</a></td>
   195                          <td>{{ i18n "Standard" }}</td>
   196                      </tr>
   197                      <tr>
   198                          <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/dataset-tilesets" target="_blank" aria-label="{{ i18n "To" }} conf/dataset-tilesets {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/dataset-tilesets</a></td>
   199                          <td>{{ i18n "Standard" }}</td>
   200                      </tr>
   201  {{/*  Enable the classes below once we support tiles inside collections */}}
   202  {{/*                        <tr>*/}}
   203  {{/*                            <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/geodata-tilesets" target="_blank" aria-label="{{ i18n "To" }} conf/geodata-tilesets {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/geodata-tilesets</a></td>*/}}
   204  {{/*                            <td>{{ i18n "Standard" }}</td>*/}}
   205  {{/*                        </tr>*/}}
   206  {{/*                        <tr>*/}}
   207  {{/*                            <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/geodata-selection" target="_blank" aria-label="{{ i18n "To" }} conf/geodata-selection {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/geodata-selection</a></td>*/}}
   208  {{/*                            <td>{{ i18n "Standard" }}</td>*/}}
   209  {{/*                        </tr>*/}}
   210                      {{range $type := .Config.OgcAPI.Tiles.Types}}
   211                          {{ if (eq $type "raster") }}
   212  {{/*                                <tr>*/}}
   213  {{/*                                    <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/jpeg" target="_blank" aria-label="{{ i18n "To" }} conf/jpeg {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/jpeg</a></td>*/}}
   214  {{/*                                    <td>{{ i18n "Standard" }}</td>*/}}
   215  {{/*                                </tr>*/}}
   216                              <tr>
   217                                  <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/png" target="_blank" aria-label="{{ i18n "To" }} conf/png {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/png</a></td>
   218                                  <td>{{ i18n "Standard" }}</td>
   219                              </tr>
   220                          {{ end }}
   221                          {{ if (eq $type "vector") }}
   222                              <tr>
   223                                  <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/mvt" target="_blank" aria-label="{{ i18n "To" }} conf/mvt {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/mvt</a></td>
   224                                  <td>{{ i18n "Standard" }}</td>
   225                              </tr>
   226                          {{ end }}
   227                      {{end}}
   228  {{/*                        <tr>*/}}
   229  {{/*                            <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/geojson" target="_blank" aria-label="{{ i18n "To" }} conf/geojson {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/geojson</a></td>*/}}
   230  {{/*                            <td>{{ i18n "Standard" }}</td>*/}}
   231  {{/*                        </tr>*/}}
   232  {{/*                        <tr>*/}}
   233  {{/*                            <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tiff" target="_blank" aria-label="{{ i18n "To" }} conf/tiff {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tiff</a></td>*/}}
   234  {{/*                            <td>{{ i18n "Standard" }}</td>*/}}
   235  {{/*                        </tr>*/}}
   236  {{/*                        <tr>*/}}
   237  {{/*                            <td><a href="http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/netcdf" target="_blank" aria-label="{{ i18n "To" }} conf/netcdf {{ i18n "Definition" }}">http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/netcdf</a></td>*/}}
   238  {{/*                            <td>{{ i18n "Standard" }}</td>*/}}
   239  {{/*                        </tr>*/}}
   240                      </tbody>
   241                  </table>
   242              </div>
   243          </div>
   244      </div>
   245      {{ end }}
   246  
   247      {{ if .Config.OgcAPI.Processes }}
   248      <div class="col-md-6 col-sm-12">
   249          <div class="card">
   250              <h2 class="card-header h5">Processes</h2>
   251              <div class="card-body">
   252                  <table class="table table-borderless table-sm">
   253                      <thead>
   254                      <tr>
   255                          <th>Conformance</th>
   256                          <th>Status</th>
   257                      </tr>
   258                      </thead>
   259                      <tbody>
   260                      <tr>
   261                          <td>http://www.opengis.net/spec/ogcapi-processes-1/1.0/conf/job-list</td>
   262                          <td>{{ i18n "Draft" }}</td>
   263                      </tr>
   264                      <tr>
   265                          <td>http://www.opengis.net/spec/ogcapi-processes-1/1.0/conf/ogc-process-description</td>
   266                          <td>{{ i18n "Draft" }}</td>
   267                      </tr>
   268                      {{ if .Config.OgcAPI.Processes.SupportsDismiss }}
   269                      <tr>
   270                          <td>http://www.opengis.net/spec/ogcapi-processes-1/1.0/conf/dismiss</td>
   271                          <td>{{ i18n "Draft" }}</td>
   272                      </tr>
   273                      {{ end }}
   274                      {{ if .Config.OgcAPI.Processes.SupportsCallback }}
   275                      <tr>
   276                          <td>http://www.opengis.net/spec/ogcapi-processes-1/1.0/conf/callback</td>
   277                          <td>{{ i18n "Draft" }}</td>
   278                      </tr>
   279                      {{ end }}
   280                      </tbody>
   281                  </table>
   282              </div>
   283          </div>
   284      </div>
   285      {{ end }}
   286  </section>
   287  {{end}}