Ticket #481 (new defect)

Opened 5 years ago

Last modified 1 week ago

Add ability to read/write OGC context files from CGI

Reported by: sdlime Assigned to: jmckenna
Priority: high Milestone: 5.4 release
Component: MapServer Documentation Version: 4.1
Severity: normal Keywords:
Cc: tomkralidis, dmorissette

Description (Last modified by dmorissette)

At the moment OGC context files are only accessible via PHP MapScript. Those 
functions are in all version of MapScript though.

Steve

Change History

11/17/03 10:33:58 changed by dmorissette

  • cc set to tom.kralidis@ccrs.nrcan.gc.ca.
FYI for testing I had implemented a (undocumented) request=GetContext mapwms.c
that allows you to retrieve a context for a WMS-based mapfile with a call like:

http://your.server/cgi-bin/mapserv?map=...&SERVICE=WMS&REQUEST=GetContext&VERSION=1.0.0

The VERSION parameter controls the version of context document to return.

BTW, this request returns only the layers with CONNECTIONTYPE WMS at the moment,
but I've had requests from Tom Kralidis for a way to retrieve a context for a
mapfile in which all local layers are also exposed as WMS layers.  This would be
kind of bypassing GetCapabilities so I'm not sure if that's a good idea.

04/17/04 01:49:33 changed by dmorissette

  • owner changed from sdlime to mapserverbugs.
  • cc deleted.
  • component changed from MapServer CGI to WMS Server.
I have disabled the GetContext in the WMS CGI in 4.1 CVS because it could be
considered a security issue: it could publicly expose the URLs of WMS layers
used (cascaded) by a mapfile.

To re-enable it, set the "wms_getcontext_enabled" web metadata to "1" in your
WMS server's mapfile.

04/17/04 01:51:21 changed by dmorissette

  • component changed from WMS Server to MapServer CGI.

04/06/07 12:54:49 changed by dmorissette

  • attachments changed.

04/06/07 12:56:10 changed by dmorissette

  • attachments changed.

04/06/07 12:56:30 changed by dmorissette

  • attachments changed.

04/06/07 12:57:26 changed by dmorissette

  • attachments changed.

04/06/07 13:00:03 changed by dmorissette

  • attachments changed.

04/06/07 13:01:17 changed by dmorissette

  • attachments changed.

04/06/07 13:02:04 changed by dmorissette

  • attachments changed.

04/06/07 13:03:00 changed by dmorissette

  • attachments changed.

04/06/07 13:03:08 changed by dmorissette

  • attachments changed.

12/31/07 09:44:15 changed by tomkralidis

  • cc changed from tom.kralidis@ccrs.nrcan.gc.ca to tom.kralidis@ec.gc.ca.

Status on this one? Should we document this one -- in WMS Server or Map Context or both?

06/19/08 22:44:33 changed by tomkralidis

  • cc changed from tom.kralidis@ec.gc.ca to tomkralidis, dmorissette.

bump...see comment:13

08/20/08 11:18:54 changed by dmorissette

  • owner changed from mapserverbugs to jmckenna.
  • component changed from MapServer CGI to MapServer Documentation.
  • description changed.
  • milestone set to 5.4 release.

moving to Docs component. I'll let you (Tom) and Jeff sort out where that should go in docs.

08/20/08 11:38:09 changed by tomkralidis

Suggest this be documented in Map Context howto only. Jeff: any comment?