[OpenLayers-Dev] protocol having multiple formats?
eric.lemoine at camptocamp.com
Wed Jul 8 12:48:17 EDT 2009
On Wednesday, July 8, 2009, <bartvde at osgis.nl> wrote:
> Hi Eric,
> SOS is a bit different from WFS.
> To get the location of a sensor, DescribeSensor is used. It returns among
> other information the geographical position of the sensor.
> To get the actual data (wind speed etc.), GetObservation is used.
> So DescribeSensor needs to be used from within the protocol in this case.
One question: does the format that parses the DescribeSensor response
return a feature?
> Currently I have writing out the request XML in a Format.SOS class, and
> Format.SOSDescribeSensor currently only parses the DescribeSensor reponse.
> Maybe I should just move writing out the DescribeSensor request XML into
> the Format.SOSDescribeSensor and then I would just have to deal with 1
> format class from within the protocol.
That would make sense to me.
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
More information about the Dev