[OpenLayers-Users] Doubt with SOSCapabilities

bartvde at osgis.nl bartvde at osgis.nl
Tue Mar 16 08:40:02 EDT 2010


Ok, I get what you mean now.

However, I can not deduct from the GetCapabilities response that DISTANCE
is only applicable for that feature of interest.

What interface (request) does a SOS have to get that information
programmatically? If you do not know, maybe you can ask on the 52N list.

But currently this is not possible using the OpenLayers SOS client,
however if you find out exactly how to implement this, and open up a bug
in the OpenLayers Trac, I am willing to have a look at implementing it.

TIA.

Best regards,
Bart

> Yes, my SOS structure is a little bit different. You can see my SOS's
> GetCapabilites response here: http://pastebin.com/vwr3nx37
>
> An example of my question is at this tag (line #750):
>
> <sos:ObservationOffering gml:id="DISTANCE">
>
> where the offering named "DISTANCE" has 10 procedures, of which only one
> really belongs to feature 'foi_k2m_contenedor' (the other nine
> procedures are from other features).
> When I click over the point 'foi_k2m_contenedor' in the map, I see a
> popup in which they appear all 10 procedures. I just want to see the
> procedure that belongs to 'foi_k2m_contenedor' feature. It's possible?
>
> Thanks for all.
>
>
> bartvde at osgis.nl escribió:
>> Hi,
>>
>> not sure I really get your question, can you elaborate a bit? Is this
>> something you can read from the GetCapabilities, or the info needs to be
>> retrieved through a request on the SOS? If so, which request, and do you
>> have an example XML request?
>>
>> If I understand things correctly, in the example SOS used one feature of
>> interest has exactly one procedure, and they have the same id.
>>
>> Is your SOS structure different, and if so, can you post your SOS's
>> GetCapabilities response using something like pastebin? TIA.
>>
>> Best regards,
>> Bart
>>
>>
>>> Hi all,
>>>
>>> Following the example (http://openlayers.org/dev/examples/sos.html),
>>> I'm
>>> using OpenLayers.js to connect by my local SOS which is based to
>>> 52North
>>> model, and it works correctly.
>>>
>>> I have seen the result of the GetCapabilities request is an array of
>>> "offerings", and within each offering there are two separate arrays:
>>> the
>>> "features of interest" and the "procedures" related with this offering.
>>>
>>> In the map, I can see the points that represents the "features of
>>> interest". When I click over a point, due to each feature can have one
>>> or more "offerings" associated, in the popup I see all the procedures
>>> related by all offerings of this FoI.
>>>
>>> My question is:
>>> There are any way to directly obtain only the "procedures" of a
>>> "feature
>>> of interest" regardless the offerings?
>>>
>>> Thank you very much.
>>> _______________________________________________
>>> Users mailing list
>>> Users at openlayers.org
>>> http://openlayers.org/mailman/listinfo/users
>>>
>>>
>>
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list