'\" -*- coding: UTF-8 -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH legend 1 "05 February 2024" "" "" .SH NAME legend \- create a legend image from a mapfile .SH SYNOPSIS 'nh .fi .ad l \*(T<\fBlegend\fR\*(T> \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu [\fImapfile\fR \fIoutputimage\fR | \*(T<\fB\-v\fR\*(T>] 'in \n(.iu-\nxu .ad b 'hy .SH DESCRIPTION \fBlegend\fR creates a legend image from a mapfile. Output format depends on the graphics library used for rendering. .SH OPTIONS .TP \fImapfile\fR Path to the mapfile. .TP \fIoutputimage\fR Path to the output image file. .TP \*(T<\fB\-v\fR\*(T> Display mapserver version and build options. .SH "SEE ALSO" \fBscalebar\fR(1)