(SOS people on the list can correct if I'm wrong...)

I think they answer is yes, define 2 layers each with their own observedproperty_id.

jeff



John Cartwright wrote:
Hello All,

I'm trying to understand how to configure a mapfile to serve data out of Oracle Spatial using Mapserver's SOS_SERVER and am a little confused about the relationship between the sos_procedure, sos_observedproperty_id, and sos_offering_id. It looks like the sos_procedure and sos_observedproperty_id must be unique to each layer in the mapfile. So if I have a system of buoys that each measure temperature and salinity, would I define two layers pointing to the same spatial data and sharing the same sos_offering_id value?

Thanks!

-- john

  LAYER
     NAME observations_tmp
       METADATA
           "sos_procedure"  "tmp"
           "sos_offering_id" "argo"
           "sos_observedproperty_id" "ztmp"
           "sos_describesensor_url" "http://some/url/";
         END
     TYPE point
     DATA buoy.shp
  END

  LAYER
     NAME observations_sal
       METADATA
           "sos_procedure"  "sal"
           "sos_offering_id" "argo"
           "sos_observedproperty_id" "zsal"
           "sos_describesensor_url" "http://some/url/";
         END
     TYPE point
     DATA buoy.shp
  END



--
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca

Reply via email to