opensensorhub / osh-core

OpenSensorHub Core Modules
http://docs.opensensorhub.org
Mozilla Public License 2.0
32 stars 16 forks source link

[Core v1.4] Not supported application/octet-stream format #225

Open mdhsl opened 2 years ago

mdhsl commented 2 years ago

When we make a SOS request with responseFormat=application/octet-stream, the server returns an error:

<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.1" xmlns:ows="http://www.opengis.net/ows/1.1">
    <ows:Exception exceptionCode="InvalidParameterValue" locator="format">
        <ows:ExceptionText>Unsupported format application/octet-stream</ows:ExceptionText>
    </ows:Exception>
</ows:ExceptionReport>

For example, we get this error while maling this request:

http://sensiasoft.net:8181/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:mysos:solo:video2&observedProperty=http://sensorml.com/ont/swe/property/VideoFrame&temporalFilter=phenomenonTime,2015-12-19T21:04:30.231Z/2015-12-19T21:04:32.00Z&responseFormat=application/octet-stream

Instead, the server should return the stream in binary

alexrobin commented 2 years ago

Marked as 1.4 since it's confirmed to work in 2.0