How to delete or update Result Template (52N SOS 4.3.6)
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?
Re: How to delete or update Result Template (52N SOS 4.3.6)
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
The 52N SOS also requires that the result encoding is the same for all
result templates for the same procedure, observedProperty, and
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).