<div dir="ltr"><div dir="ltr">On Fri, 31 May 2019 at 11:06, Andy Townsend <<a href="mailto:ajt1047@gmail.com">ajt1047@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <div class="gmail-m_4330024893087913540moz-cite-prefix">On 31/05/2019 09:46, Paul Allen wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div class="gmail_quote"><br>
          <div>BTW, if we end up with tagging for the function of
            artificial waterways, it would be nice</div>
          <div> if it included leats.</div>
          <br>
        </div>
      </div>
    </blockquote>
    <p>There's some small usage of that already:</p>
    <p><a class="gmail-m_4330024893087913540moz-txt-link-freetext" href="https://taginfo.openstreetmap.org/search?q=leat#values" target="_blank">https://taginfo.openstreetmap.org/search?q=leat#values</a></p></div></blockquote><div><br></div><div>Doesn't make any difference to the rendering, though.  Not on standard carto.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
    <p>When trying to translate UK/Ireland usage of that sort of thing
      into something that can be used for rendering, I came up with
      this:</p>
    <p><a class="gmail-m_4330024893087913540moz-txt-link-freetext" href="https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua#L2165" target="_blank">https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua#L2165</a></p></div></blockquote><div><br></div><div>If I interpret that correctly, you're rendering a leat the same way you do a drain.  From an</div><div>experiment (which I reverted) the horror that resulted in tagging a leat as a canal when</div><div>viewed at lower zooms was fixed very nicely by tagging it as a drain.  Not perfect, but a</div><div>LOT better.  At lower zooms (not that low) the leat was rendered big as the mill pond that</div><div> served it and only looked sort of right at z=19.  Ditch rendered a lot better.  But I reverted,</div><div>because that's tagging for the renderer.</div><div><br></div><div>I know there's a lot of discussion (going nowhere, it seems) over on carto as to how to</div><div>handle narrow canals, but your fix seems to work and is easy to implement (far easier</div><div>than some of the suggestions I've read).  Probably not perfect for all use cases, but a</div><div>lot better than we have now.<br></div><div><br></div><div>Example of the horrors of using canal for a leat with current carto:</div><div> <a href="https://www.openstreetmap.org/way/609805692#map=16/52.0804/-4.6799">https://www.openstreetmap.org/way/609805692#map=16/52.0804/-4.6799</a></div><div>At z=19 it's actually close to the true width of the leat.<br></div><div><br></div><div>-- <br></div><div>Paul</div><div><br></div></div></div>