legend(1)
β¨ legend(1) β¨
okay bestie, welcome to the legend girlies π this is the legend(1) manual page, and yes it's short, but it's IMPORTANT, so let's go π«Ά
πΈ NAME πΈ
legend β create a legend image from a mapfile π
like... it makes a legend. from a mapfile. that's the whole vibe. iconic behavior fr fr β¨
π¦ SYNOPSIS π¦
legend [mapfile outputimage | -v]
so you either hand it a mapfile plus an outputimage, OR you hit it with -v and it tells you about itself instead. main character energy either way π
π DESCRIPTION π
legend creates a legend image from a mapfile. no cap, that's its whole job and it does it slayfully.
the output format? depends on the graphics library used for rendering β so whatever your renderer is serving, that's what you're getting. it's giving "your mileage may vary" but make it cute π
π OPTIONS π
mapfileβ Path to the mapfile. that's your source file bestie, the whole reason we're here πΊοΈoutputimageβ Path to the output image file. where the legend goes to live its best life β¨-vβ Display mapserver version and build options. it's the "who am i, really?" option πͺ and honestly? self-awareness is hot π
π§ SEE ALSO π§
scalebar(1) β its sibling, also doing the most π«Ά go check on them too
β reminder:legenddoesn't take extra flags here. it'smapfile outputimageor-v. periodt. don't try to freestyle π«
so yeah, that's the whole page π short and sweet, lowkey obsessed with it ngl. it's all from legend(1), dated 22 August 2026 β go make a legend that eats, bestie ππΈππ¦β¨
π¦ where this page comes from
- ubuntu stonking: mapserver-bin 8.6.5-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms