*****SPAM***** Re: [UMN_MAPSERVER-USERS] SOS GetObservation
Kralidis,Tom [Burlington]
Tom.Kralidis at EC.GC.CA
Thu Nov 30 08:09:34 PST 2006
That's weird. If possible, can you send me (offlist) your data and
mapfile as a test case I can try to debug?
..Tom
> -----Original Message-----
> From: UMN MapServer Users List
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Sridur
> Sent: 29 November, 2006 5:41 PM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: *****SPAM***** Re: [UMN_MAPSERVER-USERS] SOS GetObservation
>
> Hi Tom,
>
> Thank you for the reply. Yes, WQ1289 was defined as the
> sos_offering_id.
> Below are the contents of my sos_test.map file (example from
> http://mapserver.gis.umn.edu/docs/howto/sos_server/ )
>
> Regards,
> Sridur
>
> --------------------------------------------------------------
> --------------------------------------------------------------
> ---------------------------
> 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 "/ms4w/tmp/ms_tmp/"
> IMAGEURL "/ms_tmp/"
>
> METADATA
> "sos_onlineresource"
> "http://127.0.0.1/cgi-bin/mapserv.exe?map=/ms4w/apps/sos/sos_t
> est.map" ## REQUIRED
> "sos_title" "My SOS Demo Server" ## Recommended
> "sos_srs" "epsg:4326" ## Recommended
> END
> END
>
> PROJECTION
> "init=epsg:4326"
> END
>
> LAYER
> NAME test_sos_layer
> METADATA
> "sos_procedure" "NS01EE0014" ## REQUIRED
> "sos_offering_id" "WQ1289" ## REQUIRED
> "sos_observedproperty_id" "WaterQuality" ## REQUIRED
> "sos_describesensor_url" "http://some/url/NS01EE0014.xml"
> ## REQUIRED
> END
> TYPE POINT
> STATUS ON
> DATA sos_test
>
> PROJECTION
> "init=epsg:4326"
> END
>
> CLASS
> NAME "water quality"
> STYLE
> COLOR 255 0 0
> SYMBOL "circle"
> SIZE 8
> END
> END
> END
>
> END #map
> --------------------------------------------------------------
> ---------------------------
>
>
>
> Kralidis,Tom [Burlington] wrote:
> >
> >> Hi,
> >>
> >> I am able to get the GetCapabilties and DescribeSensor requests
> >> working correctly
> >> (http://mapserver.gis.umn.edu/docs/howto/sos_server/)
> >> However, I am not sure how to configure SOS mapfile for
> >> GetObservation. I would like to put all my observation values in a
> >> database (PostgreSQL) and then be able to retrieve the observation
> >> values from it. Can anyone please tell me what all the
> tables I need
> >> to create in the database and also how to configure Mapserver
> >> (/mapfile) to retreive the data (observation values) from
> a request
> >> like this:
> >>
> >> http://127.0.0.1/cgi-bin/mapserv.exe?map=/ms4w/apps/sos/sos_te
> > st.map&Request=GetObservation&service=SOS&Offering=WQ1289>
> > &observedproperty=WaterQuality&version=0.0.31
> >
> > In your request URL: I see you have an offering of WQ1289.
> Did you
> > define this as your offering_id in your LAYER/METADATA?
> >
> > If you can post a LAYER definition within your mapfile,
> that would be
> > helpful.
> >
> > ..Tom
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/SOS-GetObservation-tf2727213.html#a7609616
> Sent from the Mapserver - User mailing list archive at Nabble.com.
>
More information about the MapServer-users
mailing list