Create a legend image from a mapfile
legend \kx [mapfile outputimage | -v]
legend creates a legend image from a mapfile. Output format depends on the graphics library used for rendering.
mapfile
Path to the mapfile.
outputimage
Path to the output image file.
\*(T<-v\*(T>
Display mapserver version and build options.