<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-ligatures:none;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-NZ link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Kia ora Alastair<o:p></o:p></p><p class=MsoNormal>I have not looked at the specifics that you provided, but off the top of my head…<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When I was new to Therion, over a decade ago, I expected ‘grid-coords border’ to put coordinates on the outermost visible grid intersections around the perimeter of an exported pdf.  After some inquiry and experimentation I came up with this understanding – it is not typically practicable to achieve this, but with some compromise it is sometimes possible.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Therion generates a grid around the cave passage exported, in your example below, at 250 m intervals in each cardinal direction.  Since the ‘bordering’ grid line will be 250 m (at scale) outside of any cave passage it is unlikely it will make it onto the exported pdf, since the displayed map extent around the outside of the cave is only a few tens of millimetres.<o:p></o:p></p><p class=MsoNormal>I have only ever achieved it by having a small grid spacing, and a suitably large ‘overlap’ (assuming you are exporting maps rather than atlas’) specified.  Try specifying grid at 10 m and overlap at say 30 cm to verify this concept.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It gets even more frustrating if the output is rotated (say using ‘rotate 70’), since your exported pdf will have bordering coordinates only where the edge of the grid is visible.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If someone has a solution or can come up with a means of labelling specific grid intersections, I would be appreciative!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Ngā mihi nui<o:p></o:p></p><p class=MsoNormal>Bruce<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Therion <therion-bounces@speleo.sk> <b>On Behalf Of </b>A Gott<br><b>Sent:</b> Saturday, 13 April 2024 22:40<br><b>To:</b> List for Therion users <therion@speleo.sk><br><b>Subject:</b> [Therion] Geographical Coordinates on grid<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><div><div><div><p class=MsoNormal>HI Therion users,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I am really struggling to get coordinates to show on the edges of the Plan pdf when generated. There <i>has</i> to be something I'm missing! Does anyone have any examples where they have implemented coordinates on the border of the PDF so I can take a look?<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>The two models I have tried this on are the Peak speedwell model in Castleton, Derbyshire, UK and also the Agua/Naciemiento Model in Tresviso, Cantabria/Asturias, Spain<o:p></o:p></p></div></div></div></div></div></div></div><div><div><div><div><div><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I really would like to see it on the Peak speedwell model and now realise we tried it on the Agua model but decided against it due to deadlines. We set a deadline for this one, but including the coordinates are a must!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Peak speedwell - <a href="https://www.cave-registry.org.uk/svn/PeakDistrict/Castleton/castleton_model_thconfig">cave-registry.org.uk/svn/PeakDistrict/Castleton/castleton_model_thconfig</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The things I've tried to include in the above which I hoped would help the <span style='color:black'>coordinates to generate, at one point I did get the coordinates to generate only on the west side of the pdf, but now it's failing to show anywhere:</span><o:p></o:p></p></div><div><pre style='text-align:center;overflow-wrap: break-word;text-wrap: wrap'><span style='font-family:"Arial",sans-serif;color:black'>page-setup 118.9 84.1 114.9 80.1 1.5 1.5 cm</span><o:p></o:p></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>  overlap 3 cm</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>  #size       110  75  cm</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>  size 105 75 cm</span><span style='color:black'><o:p></o:p></span></pre></div><div><pre style='text-align:center;overflow-wrap: break-word;text-wrap: wrap'><span style='font-family:"Arial",sans-serif;color:black'>grid bottom</span><o:p></o:p></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>grid-coords border</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>grid-size 250 250 250 m</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>cs OSGB:SK</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>grid-origin 14865.01 82575.16 193.75 m</span><span style='color:black'><o:p></o:p></span></pre><pre style='overflow-wrap: break-word;text-wrap: wrap'><span style='font-family:"Arial",sans-serif;color:black'>I also tried implementing the full grid, in the hope that this would help, but also didn't.</span><o:p></o:p></pre><pre style='text-align:center;overflow-wrap: break-word;text-wrap: wrap'><span style='font-family:"Arial",sans-serif;color:black'>  layout custom_grid</span><o:p></o:p></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>##change default </span><span style='color:black'>cross hair</span><span style='font-family:"Arial",sans-serif;color:black'> grid to grid</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>    code metapost</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>      def s_hgrid (expr xpos, ypos, xsize, ysize) =</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>        pickup PenD;</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>               if ( xpos >=  -xsize ) and ( ypos >= -ysize ):</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>          draw ( -xsize/2, 0) -- ( xsize/2, 0);</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>                 draw ( 0, -ysize/2) -- ( 0, ysize/2);</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>               </span><span style='color:black'>fi<o:p></o:p></span></pre><pre style='text-align:center'><span style='color:black'>      enddef</span><span style='font-family:"Arial",sans-serif;color:black'>;</span><span style='color:black'><o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>    </span><span style='color:black'>endcode<o:p></o:p></span></pre><pre style='text-align:center'><span style='font-family:"Arial",sans-serif;color:black'>  </span><span style='color:black'>endlayout<o:p></o:p></span></pre><pre style='text-align:center'><o:p> </o:p></pre></div><div><p class=MsoNormal><span style='color:black'>Fo</span>r Ref, the Tresviso model, but we wiped any reference to including a grid on this one. <a href="https://cave-registry.org.uk/svn/Andara/Tresviso/Nacimiento/therion/Nacimiento2020/Nacimiento2020_master.thconfig">cave-registry.org.uk/svn/Andara/Tresviso/Nacimiento/therion/Nacimiento2020/Nacimiento2020_master.thconfig</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Regards,<o:p></o:p></p></div><div><p class=MsoNormal>Alastair Gott.<o:p></o:p></p></div></div></div></div></div></div></div></div></div></body></html>