cc @efucile @alexandreleroux
In the context of WIS discovery metadata, distribution links provide valuable means to guide users to interacting with data.
Consider advertising a WMS map link within a dataset's discovery metadata:
{
"rel" : "items",
"type" : "image/png",
"title" : "OGC:WMS map of this dataset",
"href" : "https://example.org/wms/service=WMS&version=1.3.0&request=GetMap&layer={layer}&bbox={miny},{minx},{maxy},{maxx}&format={format}&crs={crs}&width={width}&height={height}",
"templated" : "true"
}
Can we accomplish something similar with AMQP or MQTT? That is, provide a URI which allows a user to click/subscribe (albeit in a known way). It looks like there is a convention for both RabbitMQ and MQTT, which go as far as connection, but there may be value in further specifying this like:
{
"rel" : "items",
"type" : "application/json;subtype=x-wmo-wis",
"title" : "AMQPS feed of this dataset",
"href" : "amqps://anonymous@example.org/my-vhost/my-exchange/my-topic/my-subtopic"
}
Of course, non-trivial cases would go through other arrangements, but the above may be helpful as low barrier entry to PubSub advertising in WIS Metadata.
cc @efucile @alexandreleroux
In the context of WIS discovery metadata, distribution links provide valuable means to guide users to interacting with data.
Consider advertising a WMS map link within a dataset's discovery metadata:
{ "rel" : "items", "type" : "image/png", "title" : "OGC:WMS map of this dataset", "href" : "https://example.org/wms/service=WMS&version=1.3.0&request=GetMap&layer={layer}&bbox={miny},{minx},{maxy},{maxx}&format={format}&crs={crs}&width={width}&height={height}", "templated" : "true" }Can we accomplish something similar with AMQP or MQTT? That is, provide a URI which allows a user to click/subscribe (albeit in a known way). It looks like there is a convention for both RabbitMQ and MQTT, which go as far as connection, but there may be value in further specifying this like:
{ "rel" : "items", "type" : "application/json;subtype=x-wmo-wis", "title" : "AMQPS feed of this dataset", "href" : "amqps://anonymous@example.org/my-vhost/my-exchange/my-topic/my-subtopic" }Of course, non-trivial cases would go through other arrangements, but the above may be helpful as low barrier entry to PubSub advertising in WIS Metadata.