Dynamic layers

Norman Barker nbarker at RSINC.COM
Wed Apr 12 04:43:56 EDT 2006


 

 

________________________________

From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Michael S. Birkmose
Sent: Wednesday, April 12, 2006 9:26 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Dynamic layers

 

Hi,

 

I'm investigating the possibility of using Mapserver to generate a WMS
server.

 

However my needs are a bit special. I need to offer some layers which
are dynamically generated by my own C++ application.

 

I was wondering if there was any possibility in mapserver to interface
to my C++ application? Its not a possibility for me to generate a large
tiff or something similar. I need to pass each WMS request for the
specific layer to the C++ application. The output is always a raster.

 

Best regards,

Michael

 

Micheal,

 

I think the simplest way would be to use a proxy, if I was doing this in
Java I would have a servlet listening to incoming requests and then
forwarding these requests depending on layer name to the appropriate
server (your c++ app,  or MapServer respectively).

 

If you want to test this quickly, mod_python (http://www.modpython.org
<http://www.modpython.org/> ) and Apache will let you create a proxy
very quickly, and with the added bonus that you can use Python and GDAL
to do any merging of layers from the c++ app, and MapServer if required.

 

There is probably a neat way to do this with the internals of MapServer,
but if I were in a rush I would use a proxy.

 

Norman

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060412/d6784fc6/attachment.html


More information about the mapserver-users mailing list