SOS disconnect

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Fri Jul 6 05:31:56 PDT 2007


 

> -----Original Message-----
> From: Charlton Purvis [mailto:cplist at secondcreek.org] 
> Sent: 06 July, 2007 8:20 AM
> To: Kralidis,Tom [Burlington]; MAPSERVER-USERS at LISTS.UMN.EDU; 
> 'Yewondwossen Assefa'
> Subject: RE: [UMN_MAPSERVER-USERS] SOS disconnect
> 
> Hi, Tom and Assefa:
> 
> > N.B. are you intentionally setting observedproperty to a URL in the 
> > mapfile?  Note that it can also be a plain old string, etc. :)
> 
> Yes, that's intentional.  It's not the most readable thing, I 
> agree, but that's the way this particular booger needs to be done.
> 
> > When I try:
> > 
> > 
> http://sos-web.tamu.edu/sos-cgi/madis?service=sos&request=GetObservati
> > on 
> > 
> &version=0.0.31&offering=ndbc_44029&format=application/com-xml&observe
> > dP 
> > 
> roperty=http://marinemetadata.org/cf%23sea_surface_temperature&eventTi
> > me 
> > 
> =<gml:TimePeriod><gml:beginPosition>2007-06</gml:beginPosition><gml:en
> > dP
> > osition>2007-07</gml:endPosition></gml:TimePeriod>
> > 
> > It seems to work; mind you there looks to be only one 
> record.  How are 
> > you passing the time query?
> 
> Oh.  Interesting.  One record is correct.  This particular 
> table only holds the latest obs for a given sensor / platform 
> combo.  I was originally trying to pass &time=yyyymmddThhmiZ 
> and that caused it to be unhappy.  But Example2 from 
> http://mapserver.gis.umn.edu/docs/howto/sos_server passes a 
> time param, so maybe I'm doing something wrong, or should I 
> stick w/ the syntax you described above?
> 

Thanks for pointing this out, Charlton; eventtime is the supported
parameter for passing temporal.  I've changed this on the howto page.

> Assefa, MapServer version 4.10.2.
> 
> > > The getcaps behind all of this is here:
> > > http://sos-web.tamu.edu/sos-cgi/madis?service=sos&request=getc
> > apabilities&ve
> > > rsion=0.0.31.
> 
> Tom, you're right, the GetCaps works fine, but that's because 
> I took out a layer that seemed to set the GetCaps over the 
> edge.  I'll put together a barebones .map and pass around 
> that will hopefully be able to reproduce the problem.
> 

This would be great!

> Many thanks, fellas!
> 
> Charlton
> 
> 
> 



More information about the MapServer-users mailing list