[mapserver-dev] "RFC 44: Restore URL modification of mapfiles to pre-5.0 levels" ready for review...

Daniel Morissette dmorissette at mapgears.com
Wed Aug 20 09:25:29 EDT 2008


Steve Lime wrote:
> Hi all: A proposal to expand the URL modification of mapfiles to pre-5.0 levels has been developed and can be reviewed at:
> 
>   http://mapserver.gis.umn.edu/development/rfc/ms-rfc-44/
> 
> Please pass along any questions, comments or concerns. Thanks!
> 

A few questionss/comments:

1- Should we make it possible to set the default validation pattern at 
the map level and have it inherited by layers, as we do for some OWS 
metadata entries? (e.g. connectiontype WMS/WFS proxy settings) That 
would save lots of duplication in cases where a mapfile contains similar 
layers and the same data validation pattern applies to all. The logic 
would simply be: look for validation pattern in layer, if not found then 
look for validation pattern at map level, if not found then no 
modifications are allowed.

2- To address the concerns of metadata abuse and to reduce the length of 
the validation pattern entries, what would you think of adding a 
VALIDATIONPATTERN / END block that is a hashTable internally instead of 
using metadata? e.g.

    LAYER
      ...
      VALIDATIONPATTERN
        'data' 'my pattern'
        'filter' 'another pattern'
      END
      ...
    END

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-dev mailing list