MapServer / MapServer

Source code of the MapServer project. Please submit pull requests to the 'main' branch.
https://mapserver.org
Other
1.02k stars 373 forks source link

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

Closed mapserver-bot closed 8 years ago

mapserver-bot commented 12 years ago

Reporter: nsavard Date: 2008/03/26 - 20:31 Trac URL: http://trac.osgeo.org/mapserver/ticket/2559 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">

Water
     <observedProperty>WaterQuality</observedProperty>
     <featureOfInterest>
        <ObjectID>urn:ogc:def:object:feature:TheInvalidFeature</ObjectID>
     </featureOfInterest>
     <responseFormat>text/xml; subtype=om/1.0.0</responseFormat>
  </GetObservation>
mapserver-bot commented 12 years ago

Author: tomkralidis Date: 2008/06/17 - 18:38 Norm: this has been fixed in f1d789ffd6d79badab8c30c834693b02b33759a3 (r7686), as part of #2379. Can you try now and verify?

mapserver-bot commented 12 years ago

Author: nsavard Date: 2008/06/17 - 19:17 Tom I'm still getting all the observations.

mapserver-bot commented 12 years ago

Author: tomkralidis Date: 2008/06/23 - 21:44 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?

mapserver-bot commented 12 years ago

Author: tomkralidis Date: 2008/06/23 - 21:51 P.S. if we can support this, then we can additionally add support for SOS's !GetObservationById operation.

mapserver-bot commented 12 years ago

Author: tomkralidis Date: 2009/02/25 - 23:52 Pushing to 6.0

mapserver-bot commented 8 years ago

This is an automated comment

This issue has been closed due to lack of activity. This doesn't mean the issue is invalid, it simply got no attention within the last year. Please reopen with missing/relevant information if still valid.

Typically, issues fall in this state for one of the following reasons: