sos GetObservation question

Jian Zheng jzheng at MAIL.ARC.NASA.GOV
Wed Feb 14 15:10:20 EST 2007


Hello,

I've read all the recent email postings on the topic of SOS and 
GetOberservation. But I didn't find an answer as to how it suppose to 
work.

Like the others, my sos-test.map is essentially the example posted in 
the how-tos section with a few minor changes (see below). 
GetCapabilities and DescribeSensor work just fine. But I'm not sure 
what I got back from GetObservation is right.

My GotObservation request is
http://sggate.arc.nasa.gov:9518/cgi-bin/mapserv-4.10.0?MAP=/usr/local/apache2/htdocs/sos/sos-test.map&SERVICE=SOS&REQUEST=GetObservation&Offering=AMS001&observedproperty=AMS%20Fire&version=0.0.31
I got back this
<om:ObservationCollection gml:id="AMS001" 
xsi:schemaLocation="http://www.opengeospatial.net/om 
http://schemas.opengis.net/om.xsd"/>

My questions are
1) What do I suppose to get back using the 3 GetOberservation 
examples (listed in the how-tos SOS)?
2) I suspect that I need to assign a real shapefile or database to 
DATA in the LAYER section. Am I  right?
3) Is there a working SOS server out there that I can use as a reference?

Any help is appreciated. Thanks

Jian

====================my sos-test.map=============================
NAME SOS_DEMO
STATUS ON
SIZE 300 300
EXTENT -66 44 -62 45
UNITS METERS
SHAPEPATH "./data/"
IMAGECOLOR 255 255 0
SYMBOLSET "./etc/symbols.sym"

IMAGETYPE png

WEB
  IMAGEPATH "/usr/local/apache2/htdocs/images/wsfm/"
  IMAGEURL "/images/wsfm/" 

  METADATA
    "sos_onlineresource" 
"http://sggate.arc.nasa.gov:9518/cgi-bin/test-sos" ## REQUIRED
    "sos_title"          "NASA ARC BioSAT SOS Demo Server" ## Recommended
    "sos_srs"            "epsg:4326" ## Recommended
  END
END

PROJECTION
   "init=epsg:4326"
END

LAYER
   NAME test_sos_layer
   METADATA
     "sos_procedure"  "AMS001" ## REQUIRED
     "sos_offering_id" "AMS001" ## REQUIRED
     "sos_observedproperty_id" "AMS Fire" ## REQUIRED 
     "sos_describesensor_url" 
"http://sggate.arc.nasa.gov:9518/sos/FIRE_Scanner.xml" ## REQUIRED
   END 
   TYPE POINT
   STATUS ON
   DATA sos_test

   PROJECTION
     "init=epsg:4326"
   END

   CLASS
     NAME "fire map"
     STYLE
       COLOR 255 0 0
       SYMBOL "circle"
       SIZE 8
     END
   END
END   

END #map

-- 
Jian Zheng
Mail Stop 242-2
NASA Ames Research Center
Moffett Field, CA 94035-1000
(650) 604-3617
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070214/d2a0187f/attachment.html


More information about the mapserver-users mailing list