Mapscript and SOS

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Tue Jul 3 08:51:12 PDT 2007


Weird.  What happens (in terms of the response) when you do a GetCapabilities via mapscript and regular SOS request?  I wonder if the metadata is actually being set.

..Tom


> -----Original Message-----
> From: UMN MapServer Users List 
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of "Peter Löwe"
> Sent: 03 July, 2007 11:46 AM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] Mapscript and SOS
> 
> Hello Tom:
> 
> After calling up
> http://localhost/swe/php_sos0.php?Request=GetObservation&servi
> ce=SOS&offering=oid_1&observedproperty=1234&procedure=sputnik0
> 01&version=0.0.31
> 
> the apache access_log holds:
> 
> ::1 - - [03/Jul/2007:17:36:37 +0200] "GET 
> /swe/php_sos0.php?Request=GetObservation&service=SOS&offering=
> oid_1&observedproperty=1234&procedure=sputnik001&version=0.0.3
> 1 HTTP/1.1" 200 790
> 
> and this piece of XML is returned:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?> 
> <om:ObservationCollection 
> xmlns:gml="http://www.opengis.net/gml" 
> xmlns:ows="http://www.opengis.net/ows" 
> xmlns:swe="http://www.opengis.net/swe" 
> xmlns:xlink="http://www.w3.org/1999/xlink" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> xmlns:sos="http://www.opengis.net/sos" 
> xmlns:om="http://www.opengis.net/om" gml:id="oid_1" 
> xsi:schemaLocation="http://www.opengeospatial.net/om 
> http://schemas.opengeospatial.net/om.xsd">
>   <om:eventTime>
>     <gml:TimePeriod xmlns:gml="http://www.opengis.net/gml">
>       <gml:beginPosition 
> xmlns:gml="http://www.opengis.net/gml">1982</gml:beginPosition>
>       <gml:endPosition 
> xmlns:gml="http://www.opengis.net/gml">2007</gml:endPosition>
>     </gml:TimePeriod>
>   </om:eventTime>
> </om:ObservationCollection>
> 
> 
> 
> ..Peter
> 
> 
> >Can you check your server logs see, exactly, what mapscript 
> sends as the >GetObservation request?
> >
> >..Tom
> --
> Dr. Peter Löwe
> <peter.loewe at gmx.de>
> 
> 
> 
> 
> 
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
> 



More information about the MapServer-users mailing list