<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Alexandre,</p>
    <p>did you find time have a look at this stuff?</p>
    <p>I would be very interested in an "easy" solution with SQL and
      virtual layers :)</p>
    <p>Cheers,</p>
    <p>Bernd<br>
    </p>
    <div class="moz-cite-prefix">Am 05.05.19 um 10:25 schrieb Alexandre
      Neto:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+H0G_FZ2aEpdLP6mjEi-NXyfvdP3Atz=o_phDj+fTa=0zpHzw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div>That is actually quite easy using a bit of SQL in a virtual
          layer. After all the west to east and north to south is just a
          matter of adding a X and a Y fields and order first by X, then
          by Y. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I am not at my computer now, but when I came
          back I will try to get you a ready to use query. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Alex</div>
        <div dir="auto"><br>
          <div class="gmail_quote" dir="auto">
            <div dir="ltr" class="gmail_attr">A qui, 2/05/2019, 17:39,
              Fernando M. Roxo da Motta <<a
                href="mailto:petro@roxo.org" target="_blank"
                rel="noreferrer" moz-do-not-send="true">petro@roxo.org</a>>
              escreveu:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu,
              2 May 2019 06:52:43 +0000, Karl Magnus Jönsson<br>
              <<a href="mailto:Karl-Magnus.Jonsson@kristianstad.se"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">Karl-Magnus.Jonsson@kristianstad.se</a>>
              wrote:<br>
              <br>
              <br>
              > Hi!<br>
              > One way could be to calculate the sequence and
              coordinates in Excel<br>
              > or something similar. If the points are regularly
              spaced of course.<br>
              > Then save to csv, import in QGIS and save to
              whatever.<br>
              <br>
                That can be a great idea.<br>
              <br>
                In my problem all a have to start is a polygon, not
              necessarily<br>
              regular, and the directions and spacing of the lines.  The
              lines in the<br>
              grid doesn't have to be orthogonal and almost never NS/EW.<br>
              <br>
                That seems to be a little cumbersome for an excel
              spreadsheet.  🤔🤔<br>
              <br>
              <br>
              <br>
              > <br>
              > Cheers!<br>
              > <br>
              > Karl-Magnus Jönsson <br>
              > <br>
              > <br>
              > -----Ursprungligt meddelande-----<br>
              > Från: Qgis-user [mailto:<a
                href="mailto:qgis-user-bounces@lists.osgeo.org"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">qgis-user-bounces@lists.osgeo.org</a>]
              För<br>
              > Fernando M. Roxo da Motta Skickat: den 2 maj 2019
              02:16<br>
              > Till: <a href="mailto:qgis-user@lists.osgeo.org"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">qgis-user@lists.osgeo.org</a><br>
              > Ämne: Re: [Qgis-user] How calculate sequential values
              based on<br>
              > spatial pattern<br>
              > <br>
              > On Wed, 1 May 2019 16:38:41 -0500, Apoyo Carbono<br>
              > <<a href="mailto:ana.munevar@fcgsas.com"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">ana.munevar@fcgsas.com</a>>
              wrote:<br>
              > <br>
              > <br>
              > > Hi!<br>
              > > I need your help. I need to Create a numbers
              sequentially in a<br>
              > > "Points shapefile"  with a spacial pattern.<br>
              > > For example, the point number 1 start
              northwestern and the next<br>
              > > numbers points will be order from west to east.
              For the next row (to<br>
              > > South) going from west to east too.<br>
              > > And so on, the values points increase to the
              south. Therefore the<br>
              > > last point will be in the southeast.<br>
              > > For now I'm doing manual but it is around 1,000
              points!  <br>
              > <br>
              >   This looks like a lot to a 3D seismic survey. 
              🤔🤔🤔<br>
              > <br>
              >   I had a script for Qgis 2.x that worked well enough
              to be useful to<br>
              > me.  The points were generated using a grid support. 
              In your case I<br>
              > would have a set of EW lines spaced regularly from
              north to south, and<br>
              > numbered that way.<br>
              > <br>
              >   During the points generation I had two (among
              others) attributes<br>
              > associated to each point.   The first one was a point
              number within<br>
              > the line and the other the line number.<br>
              > <br>
              >   The points were generated so that all points with
              the same point<br>
              > number were parallel to another set of line (usually
              perpendicular to<br>
              > the first one).<br>
              > <br>
              >   I don't know if this is like you are looking for,
              the point here<br>
              > (pun unintended) were to associate the numbering
              attribut while<br>
              > generating the points.<br>
              > <br>
              >   Hope this helps.<br>
              > <br>
              > <br>
              > > <br>
              > > I hope that you understand my situation. Can you
              help me? I could<br>
              > > send you the shapefile with an example better
              explained<br>
              > >   <br>
              > <br>
              > <br>
              >   Roxo<br>
              > <br>
              > P.S.- It is possible to still have tose set of
              scripts luking around<br>
              > somewhere, they were never ported to 3.X.  They were
              too horrible to<br>
              > begin with.  😇😇<br>
              <br>
              <br>
              <br>
              <br>
              <br>
              <br>
              <br>
              <br>
                Roxo<br>
              <br>
              -- <br>
              ---------------- Non luctari, ludare -------------------+
              WYSIWYG<br>
              Fernando M. Roxo da Motta <<a
                href="mailto:petro@roxo.org" rel="noreferrer noreferrer"
                target="_blank" moz-do-not-send="true">petro@roxo.org</a>> 
                          | Editor?<br>
              Except where explicitly stated I speak on my own behalf.| 
              VI !!<br>
                              PU5RXO                                  |
              I see text,<br>
              ------------ Quis custodiet ipsos custodes?-------------+
              I get text!<br>
              <br>
              _______________________________________________<br>
              Qgis-user mailing list<br>
              <a href="mailto:Qgis-user@lists.osgeo.org" rel="noreferrer
                noreferrer" target="_blank" moz-do-not-send="true">Qgis-user@lists.osgeo.org</a><br>
              List info: <a
                href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
                rel="noreferrer noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
              Unsubscribe: <a
                href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
                rel="noreferrer noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
  </body>
</html>