Skip to content

Instantly share code, notes, and snippets.

View avillar's full-sized avatar

Alejandro Villar avillar

View GitHub Profile
textureParameterization
Relates to the texture coordinates or transformation matrices used for parameterization.
Relates to the texture coordinates or transformation matrices used for parameterization.
boundary
Relates to the auxiliary traffic areas that bound the AuxiliaryTrafficSpace. This relation is inherited from the Core module.
Relates to the traffic areas that bound the TrafficSpace. This relation is inherited from the Core module.
Relates to the surfaces that bound the BuildingRoom. This relation is inherited from the Core module.
Relates to the surfaces that bound the Storey. This relation is inherited from the Core module.
Relates to the surfaces that bound the BridgeRoom. This relation is inherited from the Core module.
Relates to the surfaces that bound the construction. This relation is inherited from the Core module.
@avillar
avillar / uplift-bblock.py
Last active November 5, 2024 09:58
Uplift example
import json
from urllib.request import urlopen
from rdflib import Graph
import pyshacl
# See https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.features.observation/semantic-uplift
register_url = 'https://opengeospatial.github.io/ogcapi-sosa/build/register.json'
bblock_id = 'ogc.sosa.features.observation'
@avillar
avillar / schema1.yaml
Last active October 15, 2024 07:58
OpenAPI 3.0 tests with schemas
$defs:
inner:
type: object
properties:
content:
$ref: 'schema2.yaml'
type: object
properties:
id:
type: string
@avillar
avillar / oim-full.csv
Created June 25, 2024 10:11
OIM as CSV
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
term,label,definition
http://www.opengis.net/ont/geosparql#geoJSONLiteral,GeoJSON Literal,A GeoJSON serialization of a Geometry object.
http://www.opengis.net/ont/geosparql#hasGeometry,hasGeometry,A spatial representation for a given feature.
http://www.opengis.net/ont/geosparql#asGeoJSON,as GeoJSON,The GeoJSON serialization of a Geometry.
http://www.opengis.net/ont/geosparql#SpatialObjectCollection,Spatial Object Collection,A collection of individual Spatial Objects.
http://www.opengis.net/ont/geosparql#FeatureCollection,Feature Collection,A collection of individual Features.
http://www.opengis.net/ont/geosparql#Feature,Feature,"This class represents the top-level feature type. This class is
equivalent to GFI_Feature defined in ISO 19156:2011, and it is
superclass of all feature types."
http://www.opengis.net/ont/geosparql#Geometry,Geometry,"The class represents the top-level geometry type. This class is
@avillar
avillar / PointSeries_sintef.covjson.jsonld
Last active June 17, 2024 19:32
CovJSON JSON-LD examples
{
"@context": {
"type": "@type",
"domainType": {
"@id": "covjson:domainType",
"@type": "@vocab"
},
"axes": {
"@context": {
"coordinates": {
@avillar
avillar / openapi-connectedsystems-1-3.0.yaml
Last active November 3, 2024 10:06
Connected Systems OpenAPI 3.0 downcompile
openapi: 3.0.3
info:
title: 'OGC API - Connected Systems - Part 1: Feature Resources'
version: 0.0.1
description: "Example OpenAPI specification for part 1 of [OGC API - Connected Systems](https://github.com/opengeospatial/connected_systems).
\ \nThis Standard also conforms to [OGC API - Features](https://ogcapi.ogc.org/features/)."
contact:
name: OGC API Support
url: https://www.ogc.org/contact
email: info@ogc.org
@avillar
avillar / cs-openapi-3.0.yml
Last active May 15, 2024 08:37
cs-openapi-3.0.yml
openapi: 3.0.3
info:
title: 'OGC API - Connected Systems - Part 1: Feature Resources'
version: 0.0.1
description: "Example OpenAPI specification for part 1 of [OGC API - Connected Systems](https://github.com/opengeospatial/connected_systems).
\ \nThis Standard also conforms to [OGC API - Features](https://ogcapi.ogc.org/features/)."
contact:
name: OGC API Support
url: https://www.ogc.org/contact
email: info@ogc.org
{
"x-defs": {
"ogc.ogc-utils.iri-or-curie": {
"description": "IRI or CURIE",
"$defs": {
"IRI": {
"type": "string",
"pattern": "^\\w+:/*([^:<>{}|\\\\^`\"\\s/]+[^<>{}|\\\\^`\"\\s]*(:[^:<>{}|\\\\^`\"\\s]+)?)?$"
},
"CURIE": {
@avillar
avillar / con-propiedad.yaml
Created March 5, 2024 11:28
Enfoques para code lists
# technicalStatusValue schema
properties:
# La propiedad está definida en el schema
technicalStatus:
oneOf:
- const: edgeMatched
description: X
- const: notEdgeMatched
description: Y
{
"a": "http://www.google.es",
"b": 99
}