#2051 closed enhancement (fixed)
possibility to use run time subsitution on sos_describesensor_url
Reported by: | assefa | Owned by: | assefa |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | SOS Server | Version: | 5.0 |
Severity: | minor | Keywords: | |
Cc: |
Description
possibility to use run time subsitution on sos_describesensor_url. The user could possibly have someting like %SensorID% as part of the value of the metadata and that will be substitued with the value of SensorID passed as part of the DescribeSensor request
Change History (5)
comment:2 by , 17 years ago
Sounds good to me. I think this will work. So, for the code, if a sensorid (case-insensitive) parameter is found the DescribeSensor request, MapServer will process that putting that into the URL So, example: Request: http://foo/foo?service=SOS&version=0.1.2b&request=DescribeSensor&sensorid=1234 MapServer: If MapServer does NOT have LAYER/METADATA/sos_describesensor_url defined, then a ExceptionReport is thrown as the response. If MapServer does have LAYER/METADATA/sos_describesensor_url defined, then it passes the sensorid parameter from the request to the HTTP Location directive. "sos_describesensor_url" "http://foo/foo?mysensor=%sensorid%" Does this make sense?
comment:3 by , 17 years ago
commited as described in comment #2. Will close att the bugs after tests.
Note:
See TracTickets
for help on using tickets.