Jump to: navigation, search

Difference between revisions of "Sensor Observation Service (SOS)"

Line 8: Line 8:
 
==Esempi di requests validati:==
 
==Esempi di requests validati:==
 
===Registrazione di sensori (RegisterSensor)===
 
===Registrazione di sensori (RegisterSensor)===
 +
 +
===Inserimento di osservazioni (InsertObservation)===
 
<?xml version="1.0"?>
 
<?xml version="1.0"?>
 
<InsertObservation xsi:schemaLocation="http://www.opengis.net/sos/1.0 http://schemas.opengis.net/sos/1.0.0/sosInsert.xsd http://www.opengis.net/sampling/1.0 http://schemas.opengis.net/sampling/1.0.0/sampling.xsd http://www.opengis.net/om/1.0 http://schemas.opengis.net/om/1.0.0/extensions/observationSpecialization_override.xsd" service="SOS" version="1.0.0" xmlns="http://www.opengis.net/sos/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:ogc="http://www.opengis.net/ogc" xmlns:om="http://www.opengis.net/om/1.0" xmlns:sos="http://www.opengis.net/sos/1.0" xmlns:sa="http://www.opengis.net/sampling/1.0" xmlns:gml="http://www.opengis.net/gml" xmlns:swe="http://www.opengis.net/swe/1.0.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 
<InsertObservation xsi:schemaLocation="http://www.opengis.net/sos/1.0 http://schemas.opengis.net/sos/1.0.0/sosInsert.xsd http://www.opengis.net/sampling/1.0 http://schemas.opengis.net/sampling/1.0.0/sampling.xsd http://www.opengis.net/om/1.0 http://schemas.opengis.net/om/1.0.0/extensions/observationSpecialization_override.xsd" service="SOS" version="1.0.0" xmlns="http://www.opengis.net/sos/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:ogc="http://www.opengis.net/ogc" xmlns:om="http://www.opengis.net/om/1.0" xmlns:sos="http://www.opengis.net/sos/1.0" xmlns:sa="http://www.opengis.net/sampling/1.0" xmlns:gml="http://www.opengis.net/gml" xmlns:swe="http://www.opengis.net/swe/1.0.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Line 42: Line 44:
 
     <swe:elementCount>
 
     <swe:elementCount>
 
     <swe:Count>
 
     <swe:Count>
       <swe:value>372</swe:value>
+
       <swe:value>2</swe:value>
 
     </swe:Count>
 
     </swe:Count>
 
     </swe:elementCount>
 
     </swe:elementCount>
Line 67: Line 69:
 
     <swe:encoding>
 
     <swe:encoding>
 
     <swe:TextBlock decimalSeparator="." tokenSeparator="," blockSeparator=";"/>
 
     <swe:TextBlock decimalSeparator="." tokenSeparator="," blockSeparator=";"/>
     </swe:encoding>
+
     </swe:encoding>     <swe:values>1997-12-15T10:02:00+01,SI001137-P06,0.83,-10;1991-05-15T10:02:00+01,SI001137-P06,6.03,-10;</swe:values>
    <swe:values>1997-12-15T10:02:00+01,SI001137-P06,0.83,-10;1993-12-15T10:02:00+01,SI001137-P06,4.06,-10;1997-02-15T10:02:00+01,SI001137-P06,2.45,-10;1989-08-15T10:02:00+01,SI001137-P06,4.53,-10;1983-05-15T10:02:00+01,SI001137-P06,11.01,-10;1999-05-15T10:02:00+01,SI001137-P06,5.38,-10;2006-08-15T10:02:00+01,SI001137-P06,4.06,-10;1984-05-15T10:02:00+01,SI001137-P06,3.04,-10;1996-02-15T10:02:00+01,SI001137-P06,1.3,-10;1981-02-15T10:02:00+01,SI001137-P06,0.53,-10;2011-11-15T10:02:00+01,SI001137-P06,2.01,-10;1991-08-15T10:02:00+01,SI001137-P06,5.08,-10;1999-07-15T10:02:00+01,SI001137-P06,3.56,-10;1984-08-15T10:02:00+01,SI001137-P06,5.44,-10;2002-03-15T10:02:00+01,SI001137-P06,2.89,-10;1989-04-15T10:02:00+01,SI001137-P06,5.26,-10;2004-07-15T10:02:00+01,SI001137-P06,3.11,-10;1984-02-15T10:02:00+01,SI001137-P06,1.1,-10;2009-08-15T10:02:00+01,SI001137-P06,4.43,-10;1993-05-15T10:02:00+01,SI001137-P06,4.39,-10;1982-04-15T10:02:00+01,SI001137-P06,4.32,-10;2010-07-15T10:02:00+01,SI001137-P06,6.1,-10;1995-06-15T10:02:00+01,SI001137-P06,9.09,-10;2004-06-15T10:02:00+01,SI001137-P06,4.72,-10;2009-05-15T10:02:00+01,SI001137-P06,2.41,-10;1993-08-15T10:02:00+01,SI001137-P06,1.68,-10;1984-03-15T10:02:00+01,SI001137-P06,3.21,-10;1999-04-15T10:02:00+01,SI001137-P06,4.98,-10;1999-03-15T10:02:00+01,SI001137-P06,4.34,-10;1994-07-15T10:02:00+01,SI001137-P06,4.32,-10;2001-01-15T10:02:00+01,SI001137-P06,0.2,-10;1983-06-15T10:02:00+01,SI001137-P06,5.84,-10;2010-08-15T10:02:00+01,SI001137-P06,4.78,-10;2003-04-15T10:02:00+01,SI001137-P06,4.66,-10;2009-04-15T10:02:00+01,SI001137-P06,2.65,-10;1986-08-15T10:02:00+01,SI001137-P06,3.23,-10;1990-04-15T10:02:00+01,SI001137-P06,4.95,-10;1986-12-15T10:02:00+01,SI001137-P06,4.03,-10;2008-05-15T10:02:00+01,SI001137-P06,6.18,-10;2004-03-15T10:02:00+01,SI001137-P06,5.22,-10;1987-12-15T10:02:00+01,SI001137-P06,2.68,-10;1983-07-15T10:02:00+01,SI001137-P06,10.45,-10;1985-09-15T10:02:00+01,SI001137-P06,7.03,-10;2011-09-15T10:02:00+01,SI001137-P06,2.91,-10;2010-10-15T10:02:00+01,SI001137-P06,3.77,-10;1990-11-15T10:02:00+01,SI001137-P06,2.93,-10;2005-09-15T10:02:00+01,SI001137-P06,2.97,-10;1994-12-15T10:02:00+01,SI001137-P06,2.47,-10;1983-01-15T10:02:00+01,SI001137-P06,1.85,-10;1988-06-15T10:02:00+01,SI001137-P06,7.94,-10;1983-02-15T10:02:00+01,SI001137-P06,1.21,-10;1992-03-15T10:02:00+01,SI001137-P06,3.32,-10;2010-04-15T10:02:00+01,SI001137-P06,7.14,-10;2002-07-15T10:02:00+01,SI001137-P06,5.05,-10;1995-01-15T10:02:00+01,SI001137-P06,1.32,-10;1998-07-15T10:02:00+01,SI001137-P06,3.58,-10;1990-07-15T10:02:00+01,SI001137-P06,4.28,-10;1985-08-15T10:02:00+01,SI001137-P06,12.21,-10;1988-01-15T10:02:00+01,SI001137-P06,2.41,-10;1996-08-15T10:02:00+01,SI001137-P06,6.18,-10;2008-10-15T10:02:00+01,SI001137-P06,2.08,-10;1986-09-15T10:02:00+01,SI001137-P06,5.01,-10;2005-04-15T10:02:00+01,SI001137-P06,4.83,-10;1992-05-15T10:02:00+01,SI001137-P06,3.93,-10;1987-02-15T10:02:00+01,SI001137-P06,3.89,-10;1989-01-15T10:02:00+01,SI001137-P06,2.2,-10;1998-09-15T10:02:00+01,SI001137-P06,4.02,-10;2008-12-15T10:02:00+01,SI001137-P06,0.97,-10;1985-03-15T10:02:00+01,SI001137-P06,1.08,-10;1981-11-15T10:02:00+01,SI001137-P06,3.69,-10;1995-05-15T10:02:00+01,SI001137-P06,1.34,-10;1989-10-15T10:02:00+01,SI001137-P06,1.57,-10;1996-04-15T10:02:00+01,SI001137-P06,10.6,-10;2007-04-15T10:02:00+01,SI001137-P06,7.1,-10;2010-09-15T10:02:00+01,SI001137-P06,3.81,-10;1998-01-15T10:02:00+01,SI001137-P06,1.81,-10;1986-04-15T10:02:00+01,SI001137-P06,7.99,-10;2002-10-15T10:02:00+01,SI001137-P06,2.14,-10;1991-02-15T10:02:00+01,SI001137-P06,0.75,-10;2007-07-15T10:02:00+01,SI001137-P06,3.83,-10;2011-04-15T10:02:00+01,SI001137-P06,3.08,-10;1981-05-15T10:02:00+01,SI001137-P06,7.15,-10;1986-11-15T10:02:00+01,SI001137-P06,2.47,-10;1993-06-15T10:02:00+01,SI001137-P06,5.62,-10;1985-06-15T10:02:00+01,SI001137-P06,2.59,-10;2006-05-15T10:02:00+01,SI001137-P06,6.13,-10;1981-08-15T10:02:00+01,SI001137-P06,5.49,-10;1997-01-15T10:02:00+01,SI001137-P06,1.51,-10;1981-01-15T10:02:00+01,SI001137-P06,0.57,-10;1997-08-15T10:02:00+01,SI001137-P06,7.4,-10;2009-10-15T10:02:00+01,SI001137-P06,5.86,-10;1995-12-15T10:02:00+01,SI001137-P06,1.96,-10;2006-03-15T10:02:00+01,SI001137-P06,1.86,-10;1991-06-15T10:02:00+01,SI001137-P06,3.15,-10;2003-05-15T10:02:00+01,SI001137-P06,4.47,-10;2005-10-15T10:02:00+01,SI001137-P06,1.04,-10;2008-01-15T10:02:00+01,SI001137-P06,0.84,-10;2002-01-15T10:02:00+01,SI001137-P06,0.67,-10;2005-02-15T10:02:00+01,SI001137-P06,0.47,-10;2005-03-15T10:02:00+01,SI001137-P06,5.54,-10;2004-01-15T10:02:00+01,SI001137-P06,1.04,-10;1997-05-15T10:02:00+01,SI001137-P06,5.02,-10;1999-10-15T10:02:00+01,SI001137-P06,1.98,-10;2001-06-15T10:02:00+01,SI001137-P06,4.57,-10;1987-07-15T10:02:00+01,SI001137-P06,7.45,-10;2002-12-15T10:02:00+01,SI001137-P06,0.27,-10;2007-12-15T10:02:00+01,SI001137-P06,1.47,-10;1995-10-15T10:02:00+01,SI001137-P06,3.7,-10;2003-11-15T10:02:00+01,SI001137-P06,2.44,-10;2003-12-15T10:02:00+01,SI001137-P06,1.1,-10;1985-10-15T10:02:00+01,SI001137-P06,8.56,-10;1994-06-15T10:02:00+01,SI001137-P06,6.3,-10;2010-02-15T10:02:00+01,SI001137-P06,0.84,-10;1997-03-15T10:02:00+01,SI001137-P06,3.99,-10;1982-11-15T10:02:00+01,SI001137-P06,5.92,-10;2007-06-15T10:02:00+01,SI001137-P06,4.69,-10;1997-09-15T10:02:00+01,SI001137-P06,4.43,-10;1987-09-15T10:02:00+01,SI001137-P06,4.68,-10;2009-12-15T10:02:00+01,SI001137-P06,2.12,-10;1994-05-15T10:02:00+01,SI001137-P06,4.39,-10;1993-07-15T10:02:00+01,SI001137-P06,1.96,-10;1995-03-15T10:02:00+01,SI001137-P06,0.97,-10;1990-02-15T10:02:00+01,SI001137-P06,4.14,-10;1995-11-15T10:02:00+01,SI001137-P06,2.29,-10;1989-05-15T10:02:00+01,SI001137-P06,2.07,-10;1987-03-15T10:02:00+01,SI001137-P06,4.36,-10;2009-09-15T10:02:00+01,SI001137-P06,3.6,-10;1992-04-15T10:02:00+01,SI001137-P06,2.7,-10;1984-01-15T10:02:00+01,SI001137-P06,2.86,-10;1984-10-15T10:02:00+01,SI001137-P06,5.31,-10;2001-09-15T10:02:00+01,SI001137-P06,2.72,-10;2000-12-15T10:02:00+01,SI001137-P06,0.38,-10;1981-09-15T10:02:00+01,SI001137-P06,3.98,-10;1984-11-15T10:02:00+01,SI001137-P06,5.67,-10;2001-02-15T10:02:00+01,SI001137-P06,0.8,-10;1981-10-15T10:02:00+01,SI001137-P06,3.4,-10;2001-08-15T10:02:00+01,SI001137-P06,5,-10;2003-08-15T10:02:00+01,SI001137-P06,2.14,-10;1998-10-15T10:02:00+01,SI001137-P06,2.69,-10;2008-04-15T10:02:00+01,SI001137-P06,3.73,-10;1989-06-15T10:02:00+01,SI001137-P06,1.67,-10;1995-09-15T10:02:00+01,SI001137-P06,4.49,-10;2008-02-15T10:02:00+01,SI001137-P06,3.98,-10;1987-04-15T10:02:00+01,SI001137-P06,5.08,-10;1983-03-15T10:02:00+01,SI001137-P06,2.26,-10;1996-12-15T10:02:00+01,SI001137-P06,2.13,-10;2002-05-15T10:02:00+01,SI001137-P06,3.47,-10;2011-07-15T10:02:00+01,SI001137-P06,16.59,-10;2009-11-15T10:02:00+01,SI001137-P06,3.34,-10;2006-12-15T10:02:00+01,SI001137-P06,1.26,-10;2009-02-15T10:02:00+01,SI001137-P06,0.82,-10;2003-09-15T10:02:00+01,SI001137-P06,1.51,-10;1990-12-15T10:02:00+01,SI001137-P06,1.17,-10;1993-09-15T10:02:00+01,SI001137-P06,4.29,-10;1993-11-15T10:02:00+01,SI001137-P06,4.23,-10;1991-10-15T10:02:00+01,SI001137-P06,2.17,-10;2005-12-15T10:02:00+01,SI001137-P06,2.29,-10;1987-05-15T10:02:00+01,SI001137-P06,5.54,-10;1989-03-15T10:02:00+01,SI001137-P06,6.33,-10;2007-02-15T10:02:00+01,SI001137-P06,1.75,-10;2009-01-15T10:02:00+01,SI001137-P06,1,-10;1988-05-15T10:02:00+01,SI001137-P06,8.78,-10;1996-03-15T10:02:00+01,SI001137-P06,3.66,-10;1982-03-15T10:02:00+01,SI001137-P06,3.48,-10;2011-02-15T10:02:00+01,SI001137-P06,1.74,-10;2006-01-15T10:02:00+01,SI001137-P06,1.09,-10;2004-04-15T10:02:00+01,SI001137-P06,6.79,-10;1996-11-15T10:02:00+01,SI001137-P06,4.13,-10;1987-10-15T10:02:00+01,SI001137-P06,5.69,-10;1985-04-15T10:02:00+01,SI001137-P06,5.85,-10;1988-12-15T10:02:00+01,SI001137-P06,2.7,-10;1992-07-15T10:02:00+01,SI001137-P06,5.15,-10;1995-02-15T10:02:00+01,SI001137-P06,1.23,-10;2001-11-15T10:02:00+01,SI001137-P06,1.07,-10;2011-05-15T10:02:00+01,SI001137-P06,3.93,-10;1990-06-15T10:02:00+01,SI001137-P06,6.03,-10;1992-06-15T10:02:00+01,SI001137-P06,5.4,-10;1989-07-15T10:02:00+01,SI001137-P06,6.08,-10;2006-07-15T10:02:00+01,SI001137-P06,3.78,-10;1991-07-15T10:02:00+01,SI001137-P06,4.59,-10;1988-07-15T10:02:00+01,SI001137-P06,5.45,-10;1984-09-15T10:02:00+01,SI001137-P06,5.43,-10;2001-10-15T10:02:00+01,SI001137-P06,0.75,-10;2007-10-15T10:02:00+01,SI001137-P06,3.05,-10;1994-08-15T10:02:00+01,SI001137-P06,3.31,-10;1998-06-15T10:02:00+01,SI001137-P06,3.31,-10;1999-12-15T10:02:00+01,SI001137-P06,1.29,-10;1984-04-15T10:02:00+01,SI001137-P06,4.28,-10;1981-03-15T10:02:00+01,SI001137-P06,5.3,-10;1981-07-15T10:02:00+01,SI001137-P06,7.21,-10;1994-02-15T10:02:00+01,SI001137-P06,0.51,-10;1988-09-15T10:02:00+01,SI001137-P06,4.26,-10;1998-04-15T10:02:00+01,SI001137-P06,5.46,-10;1994-03-15T10:02:00+01,SI001137-P06,3.35,-10;1996-01-15T10:02:00+01,SI001137-P06,1.23,-10;2000-10-15T10:02:00+01,SI001137-P06,1.68,-10;1992-11-15T10:02:00+01,SI001137-P06,2.43,-10;2008-03-15T10:02:00+01,SI001137-P06,4.93,-10;1990-10-15T10:02:00+01,SI001137-P06,5.27,-10;2000-09-15T10:02:00+01,SI001137-P06,3.36,-10;2006-11-15T10:02:00+01,SI001137-P06,3.17,-10;2008-09-15T10:02:00+01,SI001137-P06,3.61,-10;1991-12-15T10:02:00+01,SI001137-P06,1.91,-10;2007-11-15T10:02:00+01,SI001137-P06,2.71,-10;2006-09-15T10:02:00+01,SI001137-P06,3.94,-10;2004-09-15T10:02:00+01,SI001137-P06,2.36,-10;1982-06-15T10:02:00+01,SI001137-P06,7.17,-10;1988-08-15T10:02:00+01,SI001137-P06,4.37,-10;2002-06-15T10:02:00+01,SI001137-P06,3.45,-10;2002-02-15T10:02:00+01,SI001137-P06,1.14,-10;1997-07-15T10:02:00+01,SI001137-P06,4.2,-10;1982-08-15T10:02:00+01,SI001137-P06,6.87,-10;1996-10-15T10:02:00+01,SI001137-P06,4.19,-10;2004-02-15T10:02:00+01,SI001137-P06,0.71,-10;1989-09-15T10:02:00+01,SI001137-P06,3.58,-10;2003-07-15T10:02:00+01,SI001137-P06,2.23,-10;1998-05-15T10:02:00+01,SI001137-P06,3.41,-10;1985-02-15T10:02:00+01,SI001137-P06,1.71,-10;2002-09-15T10:02:00+01,SI001137-P06,1.79,-10;1999-08-15T10:02:00+01,SI001137-P06,3.35,-10;1994-09-15T10:02:00+01,SI001137-P06,5.01,-10;2000-01-15T10:02:00+01,SI001137-P06,1.27,-10;1995-08-15T10:02:00+01,SI001137-P06,8.13,-10;2006-02-15T10:02:00+01,SI001137-P06,0.45,-10;1982-10-15T10:02:00+01,SI001137-P06,8.21,-10;1991-01-15T10:02:00+01,SI001137-P06,1.17,-10;2011-10-15T10:02:00+01,SI001137-P06,2.28,-10;1983-12-15T10:02:00+01,SI001137-P06,8.71,-10;1998-03-15T10:02:00+01,SI001137-P06,4.04,-10;1997-10-15T10:02:00+01,SI001137-P06,4.53,-10;1988-11-15T10:02:00+01,SI001137-P06,3.89,-10;1998-12-15T10:02:00+01,SI001137-P06,1.01,-10;2000-08-15T10:02:00+01,SI001137-P06,4.83,-10;1984-12-15T10:02:00+01,SI001137-P06,5.36,-10;1986-02-15T10:02:00+01,SI001137-P06,1.79,-10;1982-07-15T10:02:00+01,SI001137-P06,7.06,-10;1983-08-15T10:02:00+01,SI001137-P06,6.43,-10;1992-08-15T10:02:00+01,SI001137-P06,3.8,-10;1987-11-15T10:02:00+01,SI001137-P06,3.51,-10;1994-10-15T10:02:00+01,SI001137-P06,3.54,-10;1989-02-15T10:02:00+01,SI001137-P06,2.3,-10;1995-07-15T10:02:00+01,SI001137-P06,5.29,-10;2002-08-15T10:02:00+01,SI001137-P06,2.79,-10;2009-07-15T10:02:00+01,SI001137-P06,3.67,-10;1999-09-15T10:02:00+01,SI001137-P06,3.68,-10;1986-07-15T10:02:00+01,SI001137-P06,4.47,-10;2007-05-15T10:02:00+01,SI001137-P06,8.05,-10;2008-07-15T10:02:00+01,SI001137-P06,3.66,-10;2011-01-15T10:02:00+01,SI001137-P06,0.42,-10;2009-03-15T10:02:00+01,SI001137-P06,1.72,-10;1986-10-15T10:02:00+01,SI001137-P06,2.21,-10;1996-05-15T10:02:00+01,SI001137-P06,3.6,-10;1987-01-15T10:02:00+01,SI001137-P06,2.99,-10;2010-03-15T10:02:00+01,SI001137-P06,1.33,-10;2008-08-15T10:02:00+01,SI001137-P06,4.49,-10;1983-04-15T10:02:00+01,SI001137-P06,8.09,-10;1999-06-15T10:02:00+01,SI001137-P06,2.84,-10;1998-11-15T10:02:00+01,SI001137-P06,2.2,-10;2003-01-15T10:02:00+01,SI001137-P06,0.8,-10;1983-10-15T10:02:00+01,SI001137-P06,1.84,-10;2011-12-15T10:02:00+01,SI001137-P06,1.37,-10;2010-01-15T10:02:00+01,SI001137-P06,1.14,-10;2007-09-15T10:02:00+01,SI001137-P06,2.64,-10;1993-03-15T10:02:00+01,SI001137-P06,1.42,-10;2000-03-15T10:02:00+01,SI001137-P06,5,-10;2005-05-15T10:02:00+01,SI001137-P06,2.2,-10;1996-09-15T10:02:00+01,SI001137-P06,7.63,-10;2007-03-15T10:02:00+01,SI001137-P06,3.33,-10;1985-07-15T10:02:00+01,SI001137-P06,7.04,-10;1990-03-15T10:02:00+01,SI001137-P06,4.73,-10;2010-05-15T10:02:00+01,SI001137-P06,3.29,-10;1988-02-15T10:02:00+01,SI001137-P06,1.47,-10;1998-08-15T10:02:00+01,SI001137-P06,5.06,-10;1994-01-15T10:02:00+01,SI001137-P06,0.47,-10;1983-11-15T10:02:00+01,SI001137-P06,3.62,-10;2005-01-15T10:02:00+01,SI001137-P06,1.24,-10;1996-06-15T10:02:00+01,SI001137-P06,2.72,-10;1982-02-15T10:02:00+01,SI001137-P06,1.41,-10;1981-06-15T10:02:00+01,SI001137-P06,6.7,-10;1993-01-15T10:02:00+01,SI001137-P06,1.08,-10;1984-07-15T10:02:00+01,SI001137-P06,5.46,-10;2002-11-15T10:02:00+01,SI001137-P06,0.93,-10;2003-02-15T10:02:00+01,SI001137-P06,1,-10;1992-02-15T10:02:00+01,SI001137-P06,2.29,-10;1985-01-15T10:02:00+01,SI001137-P06,3.14,-10;1990-05-15T10:02:00+01,SI001137-P06,5.08,-10;2005-06-15T10:02:00+01,SI001137-P06,2.6,-10;1988-03-15T10:02:00+01,SI001137-P06,2,-10;2001-07-15T10:02:00+01,SI001137-P06,5.42,-10;2006-04-15T10:02:00+01,SI001137-P06,5.54,-10;1991-09-15T10:02:00+01,SI001137-P06,2.48,-10;1986-05-15T10:02:00+01,SI001137-P06,10.95,-10;2003-03-15T10:02:00+01,SI001137-P06,5.54,-10;1996-07-15T10:02:00+01,SI001137-P06,5.34,-10;2004-10-15T10:02:00+01,SI001137-P06,2.47,-10;2004-08-15T10:02:00+01,SI001137-P06,3.53,-10;2000-04-15T10:02:00+01,SI001137-P06,2.25,-10;1989-12-15T10:02:00+01,SI001137-P06,5.17,-10;2010-06-15T10:02:00+01,SI001137-P06,3.43,-10;2001-04-15T10:02:00+01,SI001137-P06,3.81,-10;1992-01-15T10:02:00+01,SI001137-P06,2.36,-10;1999-11-15T10:02:00+01,SI001137-P06,1.08,-10;2003-10-15T10:02:00+01,SI001137-P06,1.56,-10;1992-09-15T10:02:00+01,SI001137-P06,3.61,-10;2010-12-15T10:02:00+01,SI001137-P06,0.66,-10;2001-12-15T10:02:00+01,SI001137-P06,0.97,-10;1999-01-15T10:02:00+01,SI001137-P06,1.12,-10;1984-06-15T10:02:00+01,SI001137-P06,5.5,-10;2008-11-15T10:02:00+01,SI001137-P06,1.48,-10;1997-06-15T10:02:00+01,SI001137-P06,2.89,-10;1992-10-15T10:02:00+01,SI001137-P06,3.63,-10;1986-06-15T10:02:00+01,SI001137-P06,4.71,-10;1990-08-15T10:02:00+01,SI001137-P06,3.01,-10;1990-01-15T10:02:00+01,SI001137-P06,3.31,-10;1981-04-15T10:02:00+01,SI001137-P06,12.54,-10;2000-11-15T10:02:00+01,SI001137-P06,0.36,-10;2000-06-15T10:02:00+01,SI001137-P06,5.02,-10;2004-05-15T10:02:00+01,SI001137-P06,6.09,-10;1988-04-15T10:02:00+01,SI001137-P06,8.57,-10;2000-02-15T10:02:00+01,SI001137-P06,0.92,-10;1983-09-15T10:02:00+01,SI001137-P06,2.66,-10;2001-03-15T10:02:00+01,SI001137-P06,2.07,-10;1987-08-15T10:02:00+01,SI001137-P06,5.48,-10;1995-04-15T10:02:00+01,SI001137-P06,1.04,-10;1997-04-15T10:02:00+01,SI001137-P06,5.02,-10;1994-04-15T10:02:00+01,SI001137-P06,3.78,-10;1982-05-15T10:02:00+01,SI001137-P06,7.17,-10;1982-09-15T10:02:00+01,SI001137-P06,9.47,-10;2007-01-15T10:02:00+01,SI001137-P06,1.54,-10;1993-02-15T10:02:00+01,SI001137-P06,0.98,-10;2001-05-15T10:02:00+01,SI001137-P06,3.09,-10;1997-11-15T10:02:00+01,SI001137-P06,1.9,-10;1993-04-15T10:02:00+01,SI001137-P06,4.62,-10;1985-11-15T10:02:00+01,SI001137-P06,3.94,-10;2005-07-15T10:02:00+01,SI001137-P06,3.14,-10;1987-06-15T10:02:00+01,SI001137-P06,3.34,-10;1991-04-15T10:02:00+01,SI001137-P06,5.56,-10;1982-01-15T10:02:00+01,SI001137-P06,1.41,-10;1988-10-15T10:02:00+01,SI001137-P06,3.31,-10;1986-03-15T10:02:00+01,SI001137-P06,4.56,-10;1989-11-15T10:02:00+01,SI001137-P06,3.1,-10;2011-03-15T10:02:00+01,SI001137-P06,1.96,-10;2011-08-15T10:02:00+01,SI001137-P06,5.41,-10;1994-11-15T10:02:00+01,SI001137-P06,3.08,-10;2005-11-15T10:02:00+01,SI001137-P06,1.75,-10;2009-06-15T10:02:00+01,SI001137-P06,3.1,-10;1993-10-15T10:02:00+01,SI001137-P06,2.04,-10;1985-05-15T10:02:00+01,SI001137-P06,6.57,-10;2007-08-15T10:02:00+01,SI001137-P06,2.05,-10;1991-03-15T10:02:00+01,SI001137-P06,7.41,-10;1991-11-15T10:02:00+01,SI001137-P06,2.03,-10;2002-04-15T10:02:00+01,SI001137-P06,3,-10;2008-06-15T10:02:00+01,SI001137-P06,4.1,-10;2011-06-15T10:02:00+01,SI001137-P06,12.92,-10;1985-12-15T10:02:00+01,SI001137-P06,5.8,-10;2004-11-15T10:02:00+01,SI001137-P06,1.56,-10;1998-02-15T10:02:00+01,SI001137-P06,3.77,-10;2006-10-15T10:02:00+01,SI001137-P06,2.72,-10;1990-09-15T10:02:00+01,SI001137-P06,3.23,-10;1999-02-15T10:02:00+01,SI001137-P06,0.73,-10;1992-12-15T10:02:00+01,SI001137-P06,1.62,-10;2004-12-15T10:02:00+01,SI001137-P06,1.31,-10;1986-01-15T10:02:00+01,SI001137-P06,3.9,-10;2006-06-15T10:02:00+01,SI001137-P06,3.04,-10;1982-12-15T10:02:00+01,SI001137-P06,2.53,-10;2003-06-15T10:02:00+01,SI001137-P06,3.04,-10;2000-07-15T10:02:00+01,SI001137-P06,4.39,-10;2010-11-15T10:02:00+01,SI001137-P06,3.48,-10;1981-12-15T10:02:00+01,SI001137-P06,3.73,-10;2005-08-15T10:02:00+01,SI001137-P06,4.31,-10;2000-05-15T10:02:00+01,SI001137-P06,4.45,-10;1991-05-15T10:02:00+01,SI001137-P06,6.03,-10;</swe:values>
+
 
   </swe:DataArray>
 
   </swe:DataArray>
 
   </om:result>
 
   </om:result>
 
  </om:Observation>
 
  </om:Observation>
 
</InsertObservation>
 
</InsertObservation>
 
===Inserimento di osservazioni (InsertObservation)===
 
 
===Richiesta di osservazioni (GetObservation)===
 
===Richiesta di osservazioni (GetObservation)===

Revision as of 16:41, 5 February 2014

Server SOS utilizzato: 52North versione 3.2 (NOTA: implementa versione OGC SOS 1.0.0 - cf. Arthur Na (IRIS Corp.), Mark Priest (3eTI) OGC 06-009r6.)

Prerequisiti: postgres fino <= 9.0, postgis <= 1.5

...

Esempi di requests validati:

Registrazione di sensori (RegisterSensor)

Inserimento di osservazioni (InsertObservation)

<?xml version="1.0"?> <InsertObservation xsi:schemaLocation="http://www.opengis.net/sos/1.0 http://schemas.opengis.net/sos/1.0.0/sosInsert.xsd http://www.opengis.net/sampling/1.0 http://schemas.opengis.net/sampling/1.0.0/sampling.xsd http://www.opengis.net/om/1.0 http://schemas.opengis.net/om/1.0.0/extensions/observationSpecialization_override.xsd" service="SOS" version="1.0.0" xmlns="http://www.opengis.net/sos/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:ogc="http://www.opengis.net/ogc" xmlns:om="http://www.opengis.net/om/1.0" xmlns:sos="http://www.opengis.net/sos/1.0" xmlns:sa="http://www.opengis.net/sampling/1.0" xmlns:gml="http://www.opengis.net/gml" xmlns:swe="http://www.opengis.net/swe/1.0.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<AssignedSensorId>urn:ogc:object:feature:Sensor:SI001137-P06:CP</AssignedSensorId>
<om:Observation>
 <om:samplingTime>
  <gml:TimePeriod xsi:type="gml:TimePeriodType">
   <gml:beginPosition>1981-01-15T10:02:00+01</gml:beginPosition>
   <gml:endPosition>2011-12-15T10:02:00+01</gml:endPosition>
  </gml:TimePeriod>
 </om:samplingTime>
 <om:procedure xlink:href="urn:ogc:object:feature:Sensor:SI001137-P06:CP"/>
 <om:observedProperty>
  <swe:CompositePhenomenon gml:id="cpid0" dimension="1">
   <gml:name>resultComponents</gml:name>
   <swe:component xlink:href="urn:ogc:data:time:iso8601"/>
   <swe:component xlink:href="urn:ogc:def:property:OGC:1.0.30:CP"/>
   <swe:component xlink:href="urn:ogc:def:property:OGC:1.0.30:pressure"/>
  </swe:CompositePhenomenon>
 </om:observedProperty>
 <om:featureOfInterest>
    <sa:SamplingPoint gml:id="SI001137-P06">
     <gml:name>SI001137-P06</gml:name>
     <sa:sampledFeature xlink:href=""/>
     <sa:position>
      <gml:Point>
       <gml:pos srsName="urn:ogc:def:crs:EPSG::4326">45.96648 8.65647</gml:pos>
      </gml:Point>
     </sa:position>
    </sa:SamplingPoint>
 </om:featureOfInterest>
 <om:result>
  <swe:DataArray>
   <swe:elementCount>
    <swe:Count>
     <swe:value>2</swe:value>
    </swe:Count>
   </swe:elementCount>
   <swe:elementType name="Components">
    <swe:DataRecord>
     <swe:field name="Time">
      <swe:Time definition="urn:ogc:data:time:iso8601"/>
     </swe:field>
     <swe:field name="feature">
      <swe:Text definition="urn:ogc:data:feature"/>
     </swe:field>
     <swe:field name="CP">
      <swe:Quantity definition="urn:ogc:def:property:OGC:1.0.30:CP">
       <swe:uom code="ug/l"/>
      </swe:Quantity>
     </swe:field>
     <swe:field name="Depth">
      <swe:Quantity definition="urn:ogc:def:property:OGC:1.0.30:pressure">
       <swe:uom code="m"/>
      </swe:Quantity>
     </swe:field>
    </swe:DataRecord>
   </swe:elementType>
   <swe:encoding>
    <swe:TextBlock decimalSeparator="." tokenSeparator="," blockSeparator=";"/>
   </swe:encoding>     <swe:values>1997-12-15T10:02:00+01,SI001137-P06,0.83,-10;1991-05-15T10:02:00+01,SI001137-P06,6.03,-10;</swe:values>
  </swe:DataArray>
 </om:result>
</om:Observation>

</InsertObservation>

Richiesta di osservazioni (GetObservation)