[Mapserver-dev] Proprietary Formats

Alan Steremberg alans at wunderground.com
Thu Jan 15 13:17:29 EST 2004


It would be nice to have a generic way to add formats.. Although, I think
it could be done in C to conform to the rest of Mapserver. It would be
nice to simplify the code and change the current database connectors, etc.
to use the generic API. (Function pointer table?)


 Alan Steremberg
 415-543-5021 x 103

On Thu, 15 Jan 2004, Ned Harding wrote:

> All,
> I am about to start adding support for a proprietary format or 2 into
> Mapserver that my company would need to start fully utilizing MapServer.
> It all looks pretty straight forward, but I wanted to do it in a generic way
> that might help other people, not hurt.  I was thinking about adding a
> single new CONNECTIONTYPE that would look like PLUGIN(PluginName) that would
> route through a C++ pure virtual base class that could be registered at run
> time.  The plugins would be added to a linked list (or a hash map) so that
> multiple could be instantiated at the same time.
> I would isolate the C++ code to a separate module so that it would not
> require a c++ compiler to build MapServer without this feature.
> This would make it much easier for 3rd party developers to add addition
> formats for specific instances of MapServer without having to touch the core
> code.
> Comments and advice would be appreciated.
> Thank you,
> Ned Harding
> Chief Technology Officer
> SRC - Extending the Reach of Micromarketing
> 3825 Iris Ave Suite 150
> Boulder, CO 80303
> (303) 440-8896 x104
> http://www.extendthereach.com
> Technology in Action:
> http://www.DemographicsNow.com
> _______________________________________________
> Mapserver-dev mailing list
> Mapserver-dev at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev

More information about the mapserver-dev mailing list