Ticket #2050 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

upgrade the sos model to support several sensors per layer

Reported by: assefa Assigned to: assefa
Priority: high Milestone:
Component: SOS Server Version: 5.0
Severity: normal Keywords:
Cc:

Description

In the current Mapserver SOS model, we have to specify 1 procedure (station) per
layer (using the sos_procedure metadata at the layer level). When the user wants
to use several stations, we eneded up duplication the layers with the procedure
being the only thing changing between layers 

The proposed change is to allow a use to specify a attribute from it's data that
can be ised as the procedure. Thus he could group into the same layer several
stations and the procedure could be extrcated from the data. 
To implement this the intention is to use an sos_procedure_item metadata.

Change History

03/22/07 11:26:30 changed by tomkralidis

  • cc set to tom.kralidis@ec.gc.ca.

05/17/07 17:06:44 changed by assefa

Current support has been upgraded to use a new metadata called sos_procedure_item. The value for sos_procedure_item is the field name containing the procedure values The use of this metadata as well as the sos_procedure is described here per type of request:

  1. GetCapabilities?
    1. if sos_procedure is defined, use it
    2. if not look for sos_procedure_item : procedure values are extracted from the layer's attribute specified by this metadata. Not that this can be time consuming for layers with a large number of features.
    3. if none is defined return an exception

  1. DescribeProcedure?
    1. if sos_procedure is defined, use it
    2. if not look for sos_procedure_item : procedure values are extracted from the layer's attribute specified by this metadata. Not that this can be time consuming for layers with a large number of features.
    3. if none is defined return an exception
  1. GetObservation?

Both sos_procedure and sos_procedure_item can be define. Here are the cases:

  1. if only sos_procedure is defined:
    1. Use this metadata to match the layer with the procedure value sent in the request
    2. When outputing the <member/procedure> output the value of the metadata
  2. if only procedure_item is defined:
    1. se the sos_procedure_item and do a query on the layer to match the procedure with the layer.
    2. When outputting the <member/procedure> use the procedure_item as a way to only output the attribute value corresponding to the feature.
  3. both are defined:
    1. check in sos_procedure to match the procedure with the layer.
    2. When outputting the <member/procedure> use the procedure_item as a way to only output the attribute value corresponding to the feature

05/17/07 18:19:09 changed by assefa

  • status changed from new to closed.
  • resolution set to fixed.

Closed. Doc updated.