How to delete or update Result Template (52N SOS 4.3.6)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to delete or update Result Template (52N SOS 4.3.6)

TSlawecki
I am trying to change the block separator being used in an InsertResultTemplate, but get the message:

  <ows:Exception exceptionCode="InvalidParameterValue" locator="proposedTemplate">
    <ows:ExceptionText>The requested resultEncoding is different from already inserted result template for procedure (urn:epaiwpp:station:njdep:01367693) observedProperty (urn:epaiwpp:observable:01367693:temperature) and offering (urn:epaiwpp:offering:njdep:01367693:temperature)!</ows:ExceptionText>
  </ows:Exception>

I had been able to make some changes previously by deleting the associated sensor procedure, but that doesn't seem to be working any more. I also used the Datasource Panel to try deleting deleted observations and clearing the datasource, but neither seemed to make a difference.

Is there a different "correct" way to delete or update a result template? Is this perhaps a bug?

Thanks,

Tad

 
Reply | Threaded
Open this post in threaded view
|

Re: How to delete or update Result Template (52N SOS 4.3.6)

Carsten Hollmann
Hi Tad,

welcome on the 52N Sensor Web mailing list.

The OGC SOS 2.0 specification does not define an operation to delete or
update a result template but you can insert several result templates for
the same combination fo procedure, observedProperty, and
ObservationOffering but then the result structure shall be the same for
all result templates for the same procedure, observedProperty, and
ObservationOffering.

The 52N SOS also requires that the result encoding is the same for all
result templates for the same procedure, observedProperty, and
ObservationOffering.

This might be a bit too restrictive and can be seen as an issue but
without this restriction the result encoding in the GetResultTemplate
response might be different for each request for the same
observedProperty and ObservationOffering.

To remove the inserted result templates you should delete the template
directly from the database table (resulttemplate table).

Best,
Carsten
_______________________________________________
SWE mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: How to delete or update Result Template (52N SOS 4.3.6)

TSlawecki
Thank you for the quick response - deleting in the DB worked.