Purging code for 5.0?

Steve Lime Steve.Lime at DNR.STATE.MN.US
Tue May 29 17:40:18 EDT 2007

>>> On 5/29/2007 at 12:58 PM, in message
<2576812186CDD411BF1500508B6DCE9511B30EA2 at ecnwri1.ontario.int.ec.gc.ca>,
"Kralidis,Tom [Burlington]" <Tom.Kralidis at EC.GC.CA> wrote:
>>  Hi all: Wondering if it might make sense to evaluate the 
>> usefulness of some sections of code moving forward. I'm 
>> thinking of 2 items in particular:
>>   - any non-GDAL raster code with the exception of the EPPL7 
>> code (still in use in MN so would like to keep that)
>>   - the MyGIS support, which was written before the MySQL 
>> spatial objects were added, no idea how widespread its use is
> I wonder whether an email to mapserver-users would give us a better idea
> of usage.
>> Other areas? Thoughts?
> (apologies for the potentially native questions below)
> - what is the fonts/ dir?  Maybe move that into an etc/ type directory?

Not sure, will have to investigate.

> - what is gdft/, exactly?

Back before GD had Truetype support it was available separately. The gdft
directory contains a modified version of that code and is no longer necessary. 

> - mapfile.dtd seems circa 2002; do we still need this?

It was my attempt to try and capture MapServer mapfile syntax in XML. Might
be useful as a starting point for creating a schema but has little value otherwise.

> - (naive question): mappostgis.c / mappostgresql.c; could OGR provide
> the same functionality for MapServer to leverage?

The PostGIS driver (mappostgis.c) is a native implementation so is probably 
much faster than it's OGR counterpart. It may need a bit of care and feeding but
is amongst the most heavily used code in MapServer.  The other file is there to
support Postgres joins for query results.

> - mapprojhack.c: can this code be moved into mapproj.c or does it needs
> its own file?  If the latter, maybe mapprojutil.c or something?
> - what is mapserver.def, exactly?
> - md5c.c and md5.h: are these used at all?
> - what is the symbols/ dir?  Maybe move that into an etc/ type
> directory?
> - what are testcopy.c and testexpr.c exactly?  Maybe they can be moved
> into a tests/ type directory?
> - tile4ms.c sortshp.c scalebar.c shptreetst.c shptreevis.c shptree.c
> legend.c shp2pdf.c shp2img.c: maybe we could move 
> these into a util/ type directory?
> - rfc/: do we need this dir?  Or just a link to
> http://mapserver.gis.umn.edu/development/rfc/ in README?
> - tests/: how does this relate to the msautotest suite?  Could this be
> rolled into msautotest somehow?
> ..Tom

More information about the mapserver-dev mailing list