Hello,

When you asked about SOS server, I took the time today to update the SOS Server document (http://mapserver.org/ogc/sos_server.html), as it had a lot of old links. If you ever notice links or text that needs fixing in the docs, please file a ticket (https://github.com/mapserver/docs/issues).

In terms of the "FeatureOfInterest" parameter, it is part of a GetObservation request (http://mapserver.org/ogc/sos_server.html#getobservation-request), so it wouldn't be set in the .map file, but instead you (the SOS client, such as OpenLayers) would include the parameter as part of the GetObservation request. You can read more about that FeatureOfInterest parameter on page 29 of the SOS 1.0.0 specification document (download that from http://www.opengeospatial.org/standards/sos).


-jeff

--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


On 2016-06-14 9:57 AM, Hergest wrote:
Hi!

I'm creating a SOS SERVER with Mapserver 7.0.1.
I don't know how to define in the ".map" the "FeatureOfInterest"
attribute. Always it appears as "transient" in GetFeatureInfo responding
XML (you can try it at
http://hergest.synology.me/sos?SERVICE=SOS&REQUEST=GetCapabilities ).
I read the document at "http://mapserver.org/es/ogc/sos_server.html";,
but no idea...


Thanks in advance.


My definition map:

MAP
  NAME "SOS_DEMO"
  STATUS ON
  SIZE 300 300
  EXTENT -180 -90 180 90
  UNITS METERS
  IMAGECOLOR 255 255 0

  IMAGETYPE png

  WEB
    IMAGEPATH "/ms4w/tmp/ms_tmp/"
    IMAGEURL "/ms_tmp/"

    METADATA
      "sos_onlineresource" "http://hergest.synology.me/sos"; ## REQUIRED
      "sos_title"          "Servidor SOS de prueba" ## Recommended
      "sos_srs"            "EPSG:4326" ## REQUIRED
      "sos_enable_request" "*" # Necessary
    END
  END

  PROJECTION
    "init=epsg:4326"
  END

  LAYER
    NAME "test_sos_layer"
    METADATA
      "sos_procedure_item"  "StationId"
      "sos_offering_id" "Estaciones" ## REQUIRED
      "sos_observedproperty_id" "datos_station" ## REQUIRED
      "sos_describesensor_url" "http://some/url/NS01EE0014.xml"; ##
REQUIRED (POR HACER!)
      "sos_offering_name" "Estaciones"
      "sos_timeitem" "timestamp"
      "sos_offering_description" "Datos de estaciones"
      "sos_offering_intendedapplication" "Natural resource planning"
## Texto opcional
    END
    TYPE POINT
    STATUS ON

    CONNECTIONTYPE OGR
    CONNECTION "sos_data.ovf"
    DATA "sos_data"

    PROJECTION
      "init=epsg:4326"
    END

    CLASS
        NAME "test_sos_layer"
        COLOR 255 0 0
        SIZE 10
    END

  END

END #map



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to