named classes/named classifications

huub fleuren hfl at HOME.NL
Thu Jan 13 18:37:59 EST 2005


Hello developers,

Soon, for a project we will have to create a MAP file containing some
65 layers that will share a unique count of about 90 different classes.

Of course it wil be no problem to generate all the classes for all the
layers again and again but allthough it is not ready yet i know it wil
be a Super MAP file.


i think i read a contribution somewhere where someone said that named
classes would become available in a future version of mapserv.

CLASS
 EXPRESSION
 STYLE
  ...
 END
END
CLASS
 EXPRESSION
 STYLE
  ...
 END
END
CLASS
 EXPRESSION
 STYLE
  ...
 END
END
CLASS
 EXPRESSION
 STYLE
  ...
 END
END
CLASS
 EXPRESSION
 STYLE
  ...
 END
END

would then read

CLASSIFICATION
     NAME 'wonen'
END

This name would of course be reusable


In the first lines of the mapfile it would read
classifications 'classification\wonen.map classification\werken.map classification\natuur.map classification\water.map '

the names defined in any classification map file is a complete classification

simply: you could reuse a classification containing classes

any class could also have a (unique) name
In the first lines of the mapfile it would read
classes 'classification\allsingleclases.map
You could use
CLASS
NAME '30_1'
END
CLASS
NAME '30_2'
END
CLASS
NAME '30_3'
END


how do you look  at this issue an when will something like it be
available?



--
Regards,
 Huub



More information about the mapserver-dev mailing list