<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi at all</p>
    <p>i succeed !! thank's at all ...Andrew was right ... but i add an
      another thing ; i have indicated in the dialogue box , under
      "default value" , in "relational value" the name of the layer B ,
      the right field etc... and now it's ok !</p>
    <p>one more time , thank's !!</p>
    <p>laurent<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 21/12/2016 à 23:32, Andrew a écrit :<br>
    </div>
    <blockquote
cite="mid:CACnL9ngjWnmpG9G1j2h60Jcj0EqwSYoRHEcLjTT=QiWg4fz1qw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Regarding the default values option/limitations, I can add
          that if you try to use the default values expression dialog to
          build an expression using geomintersects() the dialog will
          evaluate the expression as invalid.  Instead, build the
          expression in the field calculator and then copy/paste it into
          default value box and skip using the expression dialog.<br>
          <br>
        </div>
        Andrew<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Dec 21, 2016 at 1:32 PM, DelazJ
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:delazj@gmail.com" target="_blank">delazj@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>
                  <div>
                    <div>
                      <div>Hi,<br>
                      </div>
                      Laurent, I can think about different ways you can
                      test to tackle your issues, provided you have two
                      spatial layers that overlap (and without any
                      intermediate layer creation):<br>
                      - recent QGIS introduce default values concept (<a
                        moz-do-not-send="true"
href="http://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/vector_properties.html#common-settings"
                        target="_blank">http://docs.qgis.org/testing/<wbr>en/docs/user_manual/working_<wbr>with_vector/vector_properties.<wbr>html#common-settings</a>)
                      - i'm not really sure about its limitations though<br>
                    </div>
                    - add a virtual field (<a moz-do-not-send="true"
href="http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/attribute_table.html#editing-attribute-values"
                      target="_blank">http://docs.qgis.org/2.14/en/<wbr>docs/user_manual/working_with_<wbr>vector/attribute_table.html#<wbr>editing-attribute-values</a>)
                    that you could later recalculate into a simple field<br>
                  </div>
                  - use the Autofields plugin (<a moz-do-not-send="true"
                    href="http://plugins.qgis.org/plugins/AutoFields/"
                    target="_blank">http://plugins.qgis.org/<wbr>plugins/AutoFields/</a>)<br>
                </div>
                <div>- use the SpatialJoin plugin (<a
                    moz-do-not-send="true"
                    href="http://plugins.qgis.org/plugins/spatialJoin/"
                    target="_blank">http://plugins.qgis.org/<wbr>plugins/spatialJoin/</a>)<br>
                  <br>
                </div>
                Except the SpatialJoin plugin option (which is
                internally based on it), you'll need to write an
                expression likely based on refFunctions plugin (e.g,
                geomintersects) someone mentioned above.<br>
                <br>
              </div>
              <div>HTH,<br>
              </div>
              <div>Harrissou<br>
              </div>
              <div><br>
              </div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">2016-12-21 19:23 GMT+01:00
                    Laurent Bourlet <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:laurentbourlet34@gmail.com"
                        target="_blank">laurentbourlet34@gmail.com</a>></span>:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
                      <br>
                      i thought it was more easy ...<br>
                      <br>
                      In fact , i don't use a GPS because these points
                      don't need precision : they are only used to
                      identify the parcels . And i would like to catch
                      their identity ( a number for each parcel and the
                      owner ) if possible with a dynamic spatialjoin...<br>
                      <br>
                      With booth data ( number of parcel and name of
                      owner ) , i could talk with the fisc
                      administration :-)<br>
                      <br>
                      Randy was right ...i didn't have the same EPSG for
                      the two layers . It's now OK ! but without the
                      feature "dynamic" .<br>
                      <br>
                      Indeed , i would avoid building many temporaries
                      layers and i thought it existed a plugin for this 
                      " dynamic" feature.<br>
                      <br>
                      If no , i will ask my users to make spatialjoins
                      some time to time ...<br>
                      <br>
                      Waiting , i will try the solution of Bernd...<br>
                      <br>
                      Thank you anyway !<span
                        class="m_8338402242151116453HOEnZb"><font
                          color="#888888"><br>
                          <br>
                          laurent</font></span>
                      <div class="m_8338402242151116453HOEnZb">
                        <div class="m_8338402242151116453h5"><br>
                          <br>
                          <br>
                          Le 21/12/2016 à 17:46, Bernd Vogelgesang a
                          écrit :<br>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            Hi,<br>
                            <br>
                            for me this sounds more like he is getting
                            new points once in a while and<br>
                            wants to join those attributes to the new
                            points "automatically" from the<br>
                            parcel layer.<br>
                            <br>
                            The biggest problem for users is to rethink
                            the workflow from the end to<br>
                            the beginning and to know the limitations.<br>
                            <br>
                            The outcome should be a point layer with the
                            polygons attributes. If those<br>
                            points (layer A) are from GPS as Randy
                            assumes, they have to be<br>
                            reprojected to the parcels layer (layer B)
                            before being able to join them<br>
                            spatially(layer C). The spatial join in the
                            toolbox produces layer D.<br>
                            <br>
                            Most probably, the resulting layer D is
                            going to to be edited in some way<br>
                            (adding notes about size, the progress,
                            classifications, whatever), so you<br>
                            will have to find a way to preserve those
                            new attribute while being able to<br>
                            add new points without much trouble.<br>
                            <br>
                            The processing toolbox is a good way to do
                            these steps, though it produces<br>
                            a lot of temporary files cluttering the
                            project.<br>
                            <br>
                            A better way for all those repetitive tasks,
                            is to use the graphical<br>
                            modeller, to create a workflow which only
                            has to be triggered once new<br>
                            points come in, and the resulting file can
                            be saved as new a file e.g.<br>
                            with the current date in the name, so you
                            have kind of an archive and do not<br>
                            overwrite previous files (and destroy your
                            work in case something goes<br>
                            wrong).<br>
                            <br>
                            So I can imagine a model with input layer A
                            (new points in WGS84 without attributes) and
                            a parcel layer B (in whatever projection).<br>
                            reproject layer A and C will be created as
                            an intermediate step.<br>
                            <br>
                            Next input layer is the latest result layer
                            D, reprojected and with attributes.<br>
                            Merge layer C and D -> E. Now delete all
                            columns which are from layer B (from the
                            last spatial join. Unfortunately, you can
                            only delete one field at a time in the
                            modeller, so you'll will have to add the
                            command several times in a row to the model)
                            -> Fn<br>
                            Do the spatial join of Fn with B.<br>
                            <br>
                            The last result G will now hold all points
                            with the corresponding parcel info plus
                            additional fields you might have added to
                            the points.<br>
                            G will be the input D in the next run with
                            fresh points.<br>
                            <br>
                            So, do not add new points to the already
                            existing collection of points in WGS84 (it
                            is never save to edit layers without
                            backup), but just import them as a new input
                            set and then run the model with the parcel
                            layer and the last result layer.<br>
                            <br>
                            The modeller is not as intuitive as it
                            should be, but it can save you a lot of time
                            once you managed to set up a model.<br>
                            <br>
                            Maybe I was completely wrong analysing the
                            problem, but maybe someone else has the
                            problem that fits to my solution ;)<br>
                            Cheers<br>
                            Bernd<br>
                            <br>
                            <br>
                            <br>
                            <br>
                            <br>
                            Am 21.12.2016, 14:07 Uhr, schrieb Randal
                            Hale<br>
                            <<a moz-do-not-send="true"
                              href="mailto:rjhale@northrivergeographic.com"
                              target="_blank">rjhale@northrivergeographic.c<wbr>om</a>>:<br>
                            <br>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex">
                              2 things:<br>
                              <br>
                              1. In QGIS there is a processing toolbox
                              (I assume you are one something as new as
                              version 2.14.8). Open it (it's at the top
                              -> Processing -> Toolbox). You can
                              search for tools. Search for "join" and
                              you should see a "Join Attributes by
                              location". This is a spatial join.<br>
                              <br>
                              2. THE MOST IMPORTANT THING. You mentioned
                              you had collected points with a GPS.
                              Possibly these points are in EPSG:4326.
                              I'm going to guess that your parcel layer
                              isn't. If you right click your parcel
                              layer (in the layers panel) it will allow
                              you to select properties. On the General
                              Tab you will see the Coordinate Reference
                              System mentioned and many times it is
                              something like EPSG:xxxx . A Spatial Join
                              must have the layers in the same
                              coordinate system.<br>
                              <br>
                              If it is different - Right Click on your
                              GPS points and "Save as". When the "Save
                              vector layer as...." window comes up. Save
                              it as a shapefile and MOST IMPORTANTLY
                              change the CRS to match your parcel layer.
                              Click on the small globe (that appears to
                              be wearing a hat) and in the filter type
                              in the number you see for your parcels.
                              You can then select that projection and
                              Save your file. It should save. You can
                              then perform the "join by location".<br>
                              <br>
                              It should work. You are very close though
                              so don't worry.<br>
                              <br>
                              Randy<br>
                              <br>
                              <br>
                              <br>
                              On 12/21/2016 01:24 AM, Erwan Conseil
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">
                                Hi<br>
                                In my layer B , I have the name of the
                                owner and the number of the parcel :
                                this number , a polygon , have a WKT
                                location . All this is in a SHP . As I
                                grab points in layer A directly in Qgis
                                (2.18) , I have also a SHP . And i need
                                a dynamic join because I have no desire
                                to make the spatial join each time...<br>
                                Regards<br>
                                Laurent<br>
                                <br>
                                <blockquote class="gmail_quote"
                                  style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">
                                  Le 21 déc. 2016 à 01:30, Randal Hale
                                  <<a moz-do-not-send="true"
                                    href="mailto:rjhale@northrivergeographic.com"
                                    target="_blank">rjhale@northrivergeographic.c<wbr>om</a>>
                                  a écrit :<br>
                                  <br>
                                  In your layer B - Do the Names of the
                                  Owners have a location (like a tax
                                  parcel) or are they a spreadsheet
                                  (like Microsoft Excel)?<br>
                                  <br>
                                  Randy<br>
                                  <br>
                                  <br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    On 12/20/2016 06:03 PM, Laurent
                                    Bourlet wrote:<br>
                                    Hi at all<br>
                                    <br>
                                    I'm a beginner in Qgis and i would
                                    make a dynamic spatialjoin.<br>
                                    In fact , i have created a vector
                                    layer ( for example  A) and i grab
                                    points in it when I'm outdoor (
                                    these points are buildings unknowned
                                    by the government and so these
                                    building are not taxed ...) . I have
                                    also a layer (B) with the name of
                                    the owners of these lands .<br>
                                    You see what i would ?...<br>
                                    I would have these names transferred
                                    as attribut from B to A .<br>
                                    For that , i think about a
                                    spatialjoin with a dynamic feature .
                                    So i have downloaded the two plugins
                                    "reffunction" and "spatialjoin".<br>
                                    But i have certainly maked something
                                    wrong because i don't succeed ...<br>
                                    <br>
                                    Is it the good method ?<br>
                                    <br>
                                    And If yes , and if exist a doc
                                    about these plugins ...i'll take it
                                    :-))<br>
                                    <br>
                                    regards<br>
                                    <br>
                                    Laurent<br>
                                    <br>
                                    ( pour les francophones ...je repère
                                    et saisis des points représentants 
                                    des batiments construits et visibles
                                    par Google Map mais inconnus par le
                                    cadastre et donc les impôts ...je
                                    voudrais donc enrichir la couche de
                                    saisie par les références des
                                    parcelles et les noms des
                                    propriétaires par une jointure
                                    spatiale dynamique ..à chaque point
                                    saisi , "monte" cette référence )<br>
                                    <br>
                                    ______________________________<wbr>_________________<br>
                                    Qgis-user mailing list<br>
                                    <a moz-do-not-send="true"
                                      href="mailto:Qgis-user@lists.osgeo.org"
                                      target="_blank">Qgis-user@lists.osgeo.org</a><br>
                                    List info: <a
                                      moz-do-not-send="true"
                                      href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
                                      rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-user</a><br>
                                    Unsubscribe: <a
                                      moz-do-not-send="true"
                                      href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
                                      rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-user</a><br>
                                  </blockquote>
                                  -- -----------------<br>
                                  Randal Hale<br>
                                  North River Geographic Systems, Inc<br>
                                  <a moz-do-not-send="true"
                                    href="http://www.northrivergeographic.com"
                                    rel="noreferrer" target="_blank">http://www.northrivergeographi<wbr>c.com</a><br>
                                  423.653.3611 <a
                                    moz-do-not-send="true"
                                    href="mailto:rjhale@northrivergeographic.com"
                                    target="_blank">rjhale@northrivergeographic.co<wbr>m</a><br>
                                  <a class="moz-txt-link-freetext" href="twitter:rjhale">twitter:rjhale</a><br>
                                  <br>
                                  ______________________________<wbr>_________________<br>
                                  Qgis-user mailing list<br>
                                  <a moz-do-not-send="true"
                                    href="mailto:Qgis-user@lists.osgeo.org"
                                    target="_blank">Qgis-user@lists.osgeo.org</a><br>
                                  List info: <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
                                    rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-user</a><br>
                                  Unsubscribe: <a
                                    moz-do-not-send="true"
                                    href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
                                    rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-user</a><br>
                                </blockquote>
                              </blockquote>
                              <br>
                            </blockquote>
                            <br>
                            <br>
                          </blockquote>
                          <br>
                          ______________________________<wbr>_________________<br>
                          Qgis-user mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Qgis-user@lists.osgeo.org"
                            target="_blank">Qgis-user@lists.osgeo.org</a><br>
                          List info: <a moz-do-not-send="true"
                            href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
                            rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-user</a><br>
                          Unsubscribe: <a moz-do-not-send="true"
                            href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
                            rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-user</a></div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Qgis-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
            List info: <a moz-do-not-send="true"
              href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
              rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
            Unsubscribe: <a moz-do-not-send="true"
              href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
              rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>