encoding utf-8 language en_UK source UpperFlood layout l500 # 1:1000 Map color map-fg altitude #size 59.4 84.1 cm #page-grid on #page-setup 59.4 84.1 55.4 80.1 2 2 cm #A1 - only works for Atlas #page-setup 21 29.7 20 28.7 0.5 0.5 cm #A4 scale 1 1000 # Optically reduce to A2 base-scale 1 500 # Achieves nice narrow lines overlap 1 cm # margin sizem default 1cm surface off # turns on or off surface bit-map # map-header 67 56 nw # turns on the map header positioned at (0,0) map-header 62.5 73 nw # turns on the map header positioned at (0,0) scale-bar 100 m #statistics carto all #debug all statistics topo-length on # per surveyor lengths #statistics topo off # turns off list of surveyors map-comment "www.mendipcavinggroup.org.uk" #legend on # turns on the symbol legend legend-width 15 cm # printed size, based on scale grid bottom grid-size 100 100 100 m # x,y,z #north grid #cs EPSG:27700 #debug on code metapost # xs,s,m,l,xl fonts_setup(12,18,28,60,80); #fonts_setup(,,,,); # which may be used inside of the code metapost section of the layout command. # applies to point label, applies to remark and all other point labels. # Each of them may apply to line label according to its -size option. code metapost # change centre line to continuous def l_survey_cave (expr p) = draw p withpen PenD withcolor (0.6, 0.6, 0.6); enddef; # Re-define North arrow to make it bigger def s_northarrow (expr rot) = T:=identity scaled 0.7 rotated -rot; thdraw (-0.5cm,-0.5cm)--(0,2.5cm)--(0.5cm,-0.5cm)--(0,0cm)--cycle; thfill (-0.5cm,-0.5cm)--(0,2.5cm)--(0,0cm)--cycle; enddef; endcode #Change legen size #code tex-map # \legendwidth=20cm # \legendtextcolor={\color[0 0 100]} # RGB values 0--100 # \legendtextsize={\size[20]} # \legendtextheadersize={\size[60]} #endcode code tex-map \legendcontent={% \hsize=\legendwidth \ifnortharrow\vbox to 0pt{\line{\hfil\northarrow}\vss}\fi\vskip7cm #\ifscalebar\scalebar\vskip1cm\fi {\rightskip=0pt plus 3em\parskip=3bp \edef\tmp{\the\comment} \ifx\tmp\empty \else {\size[18]\the\comment} \par\medskip \fi \everypar{\hangindent=2em\hangafter=1} \edef\tmp{\the\cavelength} \ifx\tmp\empty \else {\size[16]\si\the\cavelengthtitle: \ss\the\cavelength\par} \fi \edef\tmp{\the\cavedepth} \ifx\tmp\empty \else {\size[16]\si\the\cavedepthtitle: \ss\the\cavedepth\par} \fi \edef\tmp{\the\exploteam} \ifx\tmp\empty \else {\size[12]\si\the\explotitle: \ss\the\exploteam\quad\si\the\explodate\par} \fi \edef\tmp{\the\topoteam} \ifx\tmp\empty \else {\size[12]\si\the\topotitle: \ss\the\topoteam\quad\si\the\topodate\par} \fi \edef\tmp{\the\cartoteam} \ifx\tmp\empty \else {\size[12]\si\the\cartotitle: \ss\the\cartoteam\quad\si\the\cartodate\par} \fi \edef\tmp{\the\copyrights} \ifx\tmp\empty \else {\size[12]\ss\the\copyrights\par} \fi } \formattedlegend } endcode endlayout select Map_m500@UpperFlood export map -projection plan -layout l500 -o 0.Maps/UF_1000.pdf #export database -format sql -o 0.Maps/UF.sql