Opened 14 years ago

Last modified 13 years ago

#2559 assigned defect

A GetObservation request with an invalid featureOfInterest value sent to a SOS 1.0.0 server must return an exception

Reported by: nsavard Owned by: tomkralidis
Priority: normal Milestone: 6.0 release
Component: SOS Server Version: svn-trunk (development)
Severity: normal Keywords: OGC, Cite, TEAM, SOS 1.0.0
Cc: assefa

Description

An invalid featureOfInterest value in a GetObservation request sent to a SOS 1.0.0 server

must return an exception. Actually all observations are returned.

The exceptionCode must be "InvalidParameterValue" and the locator

"featureOfInterest".

The CITE test is: getObservation:core-SOS.GetObservation-RequestInvalidFeatureOfInterest.1 (s0003)

The request sent is:

URL: http://dev1.lan.mapgears.com/manwe/cgi-bin/mssos100_ogc_cite?

Body:

<GetObservation xmlns="http://www.opengis.net/sos/1.0" xmlns:ogc="http://www.opengis.net/ogc"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ctl="http://www.occamlab.com/ctl" xmlns:parsers="http://www.occamlab.com/te/parsers" xmlns:xows="http://www.opengeospatial.net/ows" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:sos="http://www.opengis.net/sos/1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:te="java:com.occamlab.te.TECore" xmlns:sosFunctions="https://cite.opengeospatial.org/sos-1.0.0/src/ctl/functions.xml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:getObservation="https://cite.opengeospatial.org/sos-1.0.0/src/ctl/GetObservation.xml" xmlns:gml="http://www.opengis.net/gml" xmlns:tml="http://www.opengis.net/tml" xmlns:om="http://www.opengis.net/om/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:tep="http://teamengine.sourceforge.net/parsers" service="SOS" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sos/1.0 http://schemas.opengis.net/sos/1.0.0/sosGetObservation.xsd">

<offering>Water</offering> <observedProperty>WaterQuality</observedProperty> <featureOfInterest>

<ObjectID>urn:ogc:def:object:feature:TheInvalidFeature</ObjectID>

</featureOfInterest> <responseFormat>text/xml; subtype=om/1.0.0</responseFormat>

</GetObservation>

Change History (7)

comment:1 by tomkralidis, 14 years ago

Owner: changed from mapserverbugs to tomkralidis
Status: newassigned

comment:2 by tomkralidis, 14 years ago

Norm: this has been fixed in r7686, as part of #2379. Can you try now and verify?

comment:3 by nsavard, 14 years ago

Tom I'm still getting all the observations.

comment:4 by tomkralidis, 14 years ago

Cc: assefa added

Norm: looking at the request, it's asking for a featureOfInterest via ID, as opposed to a gml:Envelope/etc.

Assefa: does mapogcsos.c have support for querying by featureid? I know we don't support this at the interface level, but what about the underlying approach?

I believe we support this type of thing for WFS Server?

comment:5 by tomkralidis, 14 years ago

P.S. if we can support this, then we can additionally add support for SOS's GetObservationById operation.

comment:6 by tomkralidis, 14 years ago

Milestone: 5.2 release5.4 release

comment:7 by tomkralidis, 13 years ago

Milestone: 5.4 release6.0 release

Pushing to 6.0

Note: See TracTickets for help on using tickets.