SOS getObservation result

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


I'm embarrassed,

I edited the wrong layer :-)
sos_<db_column>_componenturl works.

cheers
Jørn Vegard

On Wednesday 31 October 2007 12:04, Jørn Vegard Røsnes wrote:
> 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&ve
>rsion=0.1.2&offering=ndbc_44029&responseFormat=text/xml;
> %20subtype=om/0.14.7&observedProperty=http://marinemetadata.org/cf%23demo_o
>ne_wk_ndbc_44029_air_pressure_at_sea_level&eventTime=%3Cgml:TimePeriod%3E%3C
>gml:beginPosition%3E2007-08-01%3C/gml:beginPosition%3E%3Cgml:endPosition%3E2
>007-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