Problem of InsertSensor

classic Classic list List threaded Threaded
3 messages Options
Mos
Reply | Threaded
Open this post in threaded view
|

Problem of InsertSensor

Mos
I've tried to send a InsertSensor Request to SOS  with SensorML2.0

it's structure is looks like"
InsertSensor
  Identifiers
  capabilities
  characteristics
  Observed Property Input  
  Observed Property output  
  Documentation
  Sensor Location

But when get response
it seems that I can't put characteristics and documentation tags in SensorML2.0

capabilities@http://www.opengis.net/sensorml/2.0
contacts@http://www.opengis.net/sensorml/2.0
documentation@http://www.opengis.net/sensorml/2.0
history@http://www.opengis.net/sensorml/2.0
typeOf@http://www.opengis.net/sensorml/2.0
configuration@http://www.opengis.net/sensorml/2.0
featuresOfInterest@http://www.opengis.net/sensorml/2.0
inputs@http://www.opengis.net/sensorml/2.0
outputs@http://www.opengis.net/sensorml/2.0
parameters@http://www.opengis.net/sensorml/2.0
modes@http://www.opengis.net/sensorml/2.0
attachedTo@http://www.opengis.net/sensorml/2.0
localReferenceFrame@http://www.opengis.net/sensorml/2.0
localTimeFrame@http://www.opengis.net/sensorml/2.0
position@http://www.opengis.net/sensorml/2.0
timePosition@http://www.opengis.net/sensorml/2.0 
method@http://www.opengis.net/sensorml/2.0

 instead of 'characteristics@http://www.opengis.net/sensorml/2.0' here in element PhysicalComponent@http://www.opengis.net/sensorml/2.0

Thanks for your help
Reply | Threaded
Open this post in threaded view
|

Re: Problem of InsertSensor

Carsten Hollmann
Hi,

the SensorML 2.0 XML schema requires a specific order of the elements.
If the elements are not in the correct order, the SOS throws an
exception as you've described.

Have a look at the SensorML 2.0 XML schema:

http://schemas.opengis.net/sensorML/2.0/core.xsd

There you can see that the "characteristics" should be defined before
the "capabilities".

It would be helpful to attach the full XML document to figure out what
is wrong.

Best,
Carsten
_______________________________________________
SWE mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Mos
Reply | Threaded
Open this post in threaded view
|

Re: Problem of InsertSensor

Mos
Thanks a lot!!!!!
It works!!!!