<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Three things to note:<br>
    SO3166-1=GB is misnomered & includes Northern Ireland. (As I
    found out, some contributors there get annoyed with UK wide edits).
    You may want to use area(id:3600058447,3600058437,3600058446); //
    England Wales Scotland instead.<br>
    <br>
    Many pubs are mapped as ways/relations so node won't return the full
    amount. Use nwr instead.<br>
    <br>
    If you need the output to be as individual nodes use 'out center'
    option.<br>
    <br>
    area["ISO3166-1"=GB];<br>
    rel(pivot)->.UK;<br>
    nwr(area)[amenity=pub][website][website!~"http"];<br>
    out center;<br>
    .UK out geom;<br>
    <br>
    DaveF<br>
    <br>
    <div class="moz-cite-prefix">On 27/09/2020 16:28, Rodrigo Díez
      Villamuera wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHsonMXyhAJUTVs8jX_99ShvHWHYLdX-1_RdJ=bXOv2fLDKYQQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi all,</div>
        <div><br>
        </div>
        <div>First of all, I would like to introduce myself on this
          email list and to thank you all for your contributions to OSM.
          Great work!</div>
        <div><br>
        </div>
        <div>After some time using OSM as a user, I decided to make my
          first step as a contributor, hence this email and the proposal
          inside.</div>
        <div><br>
        </div>
        <div>Please bear in mind that this is my first attempt to
          contribute with a proposal and, although I have done my best
          reading the community conventions and best practices, I am
          sure I have made some mistakes on the way. Be merciful! :P</div>
        <div><br>
        </div>
        <div>To the point now.</div>
        <div><br>
        </div>
        <div>I am importing a subset of nodes from UK (those tagged with
          amenity:pub) for a pet project.</div>
        <div><br>
        </div>
        <div>When analysing the data I realised that some of these nodes
          contain a website: tag that does not contain an appropriate
          URL schema (http/https).</div>
        <div><br>
        </div>
        <div>Ie: <a href="http://www.mypub.com" moz-do-not-send="true">www.mypub.com</a>
          rather than <a href="http://www.mypub.com"
            moz-do-not-send="true">http://www.mypub.com</a> or <a
            href="https://www.mypub.com" moz-do-not-send="true">https://www.mypub.com</a></div>
        <div><br>
        </div>
        <div>This goes in contradiction with the <a
            href="https://wiki.openstreetmap.org/wiki/Key:website"
            moz-do-not-send="true">Wiki documentation for website.</a></div>
        <div><br>
        </div>
        <div>I created a proposal for a one-off, scoped, automated edit
          for these nodes to find the appropiate scheme for the existing
          URL and retag the nodes.</div>
        <div><br>
        </div>
        <div>I added the proposal to the Automated edits log. You can
          read it <a
href="https://wiki.openstreetmap.org/wiki/Automated_edits/rodrigodiez/Add_missing_URL_scheme_to_pub_websites_in_UK"
            moz-do-not-send="true">here</a>.</div>
        <div><br>
        </div>
        <div>Just wanted to share the proposal with the UK community,
          gather your feedback, comments and advises on how to proceed
          from here</div>
        <div><br>
        </div>
        <div>Thanks in advance!<br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div><font face="courier new, monospace">--</font></div>
                <font face="courier new, monospace">Rodrigo Díez
                  Villamuera</font>
                <div><font face="courier new, monospace"><br>
                  </font>
                  <div><font face="courier new, monospace">w: <a
                        href="http://rodrigodiez.io" target="_blank"
                        moz-do-not-send="true">http://rodrigodiez.io</a><br>
                    </font>
                    <div><font face="courier new, monospace">t:
                        @rodrigodiez_pro</font></div>
                    <div><font face="courier new, monospace">p: 00 44
                        7513 638225</font></div>
                    <div>
                      <div><br>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Talk-GB mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Talk-GB@openstreetmap.org">Talk-GB@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/talk-gb">https://lists.openstreetmap.org/listinfo/talk-gb</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>