SWIG MapScript and WxS Service Access

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Wed Apr 19 04:41:33 EDT 2006


Hmm posting from the mapserver-dev archives doesn't seem to work anymore
.... (DD: MESSAGE).

My question to Frank was if there was any news on this or something like a
timeline?

Was there any response from the PHP/Mapscript maintainers?

I would be very much interested to use this from PHP.

Best regards,
Bart

Folks,

I have made the following proposal (well this is part of a larger
proposal) to RSI UK and they have agreed to proceed.  This is just
a heads up.  My intention is that Howard and I would prepare an RFC
addressing the planned work.  But I wanted to give folks a heads-up
and a chance to provide comment before we write up alot of material.

MapServer MapScript
-------------------

The general intention is that a WMS or WCS service should be able to
be setup via mapscript.  The web request would be turned over to a
mapscript script (Python, Perl, Java, etc) which can then manipulate
the request and a map as needed. Then it can invoke the low level mapserver
request function (ie. GetMap, GetCapabilities), and if desired manipulate
the returned information before returning to the client.  This will provide
a means to do customizations such as:
  o Implement security policy.
  o Use dynamically created maps from a database, etc.
  o Flesh out capabilities documents with auxilary information not settable
    via the .map METADATA tags.
  o Adjust error behaviors.


To this end we will make:

  o GetCapabilities, GetFeatureInfo and GetMap calls for WMS callable from
    MapScript, and results capturable for processing.

  o GetCapabilities, DescribeCoverage and GetCoverage calls for WMS callable
    from MapScript and results capturable for processing.

  o GetCapabilities, DescribeFeatureType and GetFeature calls for WFS
callable
    from MapScript and results capturable for processing.

  o IO hooking to capture various output from mapserver services will be
    accomplished via mapio.c services, the same as is used to capture output
    for FastCGI services.

  o All SWIG based MapScript languages will be supported (Perl, Python, Ruby,
    C#, Java).  PHP (non SWIG) may be supported if the PHP MapScript
    maintainers do a similar implementation.

  o A MapScript WxS HOWTO will be written, including simple examples of
    customized services.

NOTE: Details of MapServer changes are subject to the authority of the
       MapServer PSC.  The consultant is responsible for preparing
appropriate
       RFC documents through the MapServer PSC.

> DD: MESSAGE
>



More information about the mapserver-dev mailing list