SOS getObservation result

Jørn Vegard Røsnes jorn at SPACETEC.NO
Wed Oct 31 07:04:34 EDT 2007


Hi,

I have a PostGIS table with several columns.
How can I fetch the values from those columns into the getObservation result?

I want something similar as air_pressure_at_sea_level, longitude, latitude and 
depth from this URL:
http://sos-web.tamu.edu/sos-cgi/madis?service=sos&request=GetObservation&version=0.1.2&offering=ndbc_44029&responseFormat=text/xml;
%20subtype=om/0.14.7&observedProperty=http://marinemetadata.org/cf%23demo_one_wk_ndbc_44029_air_pressure_at_sea_level&eventTime=%3Cgml:TimePeriod%3E%3Cgml:beginPosition%3E2007-08-01%3C/gml:beginPosition%3E%3Cgml:endPosition%3E2007-08-01%3C/gml:endPosition%3E%3C/gml:TimePeriod%3E

For example, I have the column: destination, and added the following to 
METADATA of LAYER:
       "sos_name_componenturl" "name"
       "sos_destination_componenturl" "destination"
       "sos_destination_alias" "destination"
       "sos_observed_property_name" "destination"
       "sos_offering_name" "destination"

It doesn't work and I'm not sure how to configure it.

cheers
Jørn Vegard



More information about the mapserver-users mailing list