[OpenLayers-Dev] SOS support

Tim Schaub tschaub at opengeo.org
Thu Mar 25 12:33:07 EDT 2010

Bart van den Eijnden wrote:
> Hi,
> the example demonstrates the way the building blocks provided by the
> library can be tied together, this is highly application-specific,
> everybody will want to do it in a different way. The example is just
> one way.
> So what the library provides are the building blocks: 1) a protocol
> for communicating with an SOS 2) formats to parse several SOS
> responses and write out some requests
> These can be used with the standard OpenLayers.Layer.Vector. This is
> the way OpenLayers has been redesigned about 1 or 1,5 years ago,
> because for every type a new Layer type was necessary in the past
> (Layer.GML etc). With the new design, this is not necessary anymore.
> It is a much cleaner design.
> So, to answer your question, there won't be an OpenLayers.Layer.SOS.
> An application builder is responsible for tying the pieces together.


Quick follow up on this.

Personally, I don't think we should discourage the creation of new 
layers that use specific formats, protocols, and strategies.

The vector behavior design was supposed to encourage reuse of common 
code rather than discourage new specific layer types.

Not sure how others feel, but if someone wanted to create a specific SOS 
layer, I'd be in favor of including it.

Disclaimer: I have no idea if someone could create an SOS layer that 
would be useful in multiple applications.


> Best regards, Bart
> On Mar 22, 2010, at 9:53 AM, Xurxo Mendez wrote:
>> Hi, I'm now working on a project where probably I'll consume SOS
>> (Sensor Observation Service) services and display them on an OL
>> map. I've downloaded OL from the svn and noticed that you are
>> starting SOS, even you have an example. But it seems like it's not
>> full supported yet, as the example code still contains part of
>> ad-hoc instructions to parse the capabilities doc, and the way to
>> build a SOS layer is quite different to other OGC layers as well.
>> Do you plan to integrate SOS services as other OL layers like WMS
>> and WFS (I mean, have a Layer.SOS class or something like that), or
>> it's just an example showing how SOS should be read through OL in
>> future versions? In such a case, which OL version will support that
>> feature?
>> Best regards,
>> Xurxo Méndez Pérez _______________________________________________ 
>> Dev mailing list Dev at openlayers.org 
>> http://openlayers.org/mailman/listinfo/dev
> _______________________________________________ Dev mailing list 
> Dev at openlayers.org http://openlayers.org/mailman/listinfo/dev

Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.

More information about the Dev mailing list