<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 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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 bgcolor="white" lang="EN-IE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Richard,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Tried the ‘crosses’ option. It also selects polylines where the end point sits outside of the polygon feature.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Finbar<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-IE">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-IE">
 Qgis-user [mailto:qgis-user-bounces@lists.osgeo.org] <b>On Behalf Of </b>Richard McDonnell<br>
<b>Sent:</b> 09 January 2018 13:02<br>
<b>To:</b> qgis-user@lists.osgeo.org<br>
<b>Subject:</b> Re: [Qgis-user] Linestring - Select by Location<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
Finbar,<br>
<br>
Crosses should do what you want, if the end point is within the polygon, then the line must cross the Boundary, I have no tied it myself.<br>
Regards,<br>
<br>
Richard<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">On 09/01/2018 12:31, Finbar Gillen wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-left:36.0pt">Hi all,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">I am doing a bit of analysis where I want to select all linestrings where their end point falls within a polygon feature. Below are the settings I have used in ‘Select by Location’ Plugin.
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="mso-fareast-language:EN-IE"><img width="346" height="260" id="_x0000_i1043" src="cid:image001.jpg@01D3894E.BA7B3F10"></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Any linestring that falls outside will not be selected<span style="color:#1F497D">,
</span>which you would expect. I don’t want to use ‘intersects’ as an option in the plugin as it will create an over selection for what I want to do.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="mso-fareast-language:EN-IE"><img width="430" height="293" id="_x0000_i1045" src="cid:image002.jpg@01D3894E.BA7B3F10"></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Is<span style="color:#1F497D"> </span>
there a way where you can specify the linestring end point has to be within a polygon rather than the whole line? I have the x y coordinate for the end point within the attribute table.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Regards<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Finbar<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="mso-fareast-language:EN-IE">Finbar Gillen | Data Analyst</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="mso-fareast-language:EN-IE">Vhi Healthcare| 2 Custom House Plaza, IFSC, Dublin 1</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="mso-fareast-language:EN-IE">E :
<a href="mailto:finbar.gillen@vhi.ie">finbar.gillen@vhi.ie</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="mso-fareast-language:EN-IE"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre style="margin-left:36.0pt">_______________________________________________<o:p></o:p></pre>
<pre style="margin-left:36.0pt">Qgis-user mailing list<o:p></o:p></pre>
<pre style="margin-left:36.0pt"><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><o:p></o:p></pre>
<pre style="margin-left:36.0pt">List info: <a href="https://scanmail.trustwave.com/?c=6600&d=rr3U2qwjigj-HM_xj142vMOmVPJzHwbiVKiFGzsPyA&s=33&u=https%3a%2f%2flists%2eosgeo%2eorg%2fmailman%2flistinfo%2fqgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></pre>
<pre style="margin-left:36.0pt">Unsubscribe: <a href="https://scanmail.trustwave.com/?c=6600&d=rr3U2qwjigj-HM_xj142vMOmVPJzHwbiVKiFGzsPyA&s=33&u=https%3a%2f%2flists%2eosgeo%2eorg%2fmailman%2flistinfo%2fqgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE">--
<br>
<b><u>Richard McDonnell</u></b><br>
</span><b><span style="font-size:7.5pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE">GIS Specialist PgD GIS AssocSCSI</span></b><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE"><br>
</span><b><span style="font-size:10.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE">OPW FRM Data Management</span></b><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE"><br>
</span><b><span style="font-size:10.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE">52 Stephens Green, Dublin 2.</span></b><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE"><br>
</span><span style="font-size:7.5pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE">TEL: 01 6476543</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE"><o:p></o:p></span></p>
</div>
<p style="margin-left:36.0pt"><a href="http://scanmail.trustwave.com/?c=6600&d=rr3U2qwjigj-HM_xj142vMOmVPJzHwbiVKbeTG4Ayw&s=33&u=http%3a%2f%2fwww%2eopw%2eie%2f"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="405" height="225" id="_x0000_i1046" src="cid:image003.jpg@01D3894E.BA7B3F10" alt="Image removed by sender."></span></a><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IE"><br>
<br>
Email Disclaimer: <a href="http://scanmail.trustwave.com/?c=6600&d=rr3U2qwjigj-HM_xj142vMOmVPJzHwbiVPqIQThang&s=33&u=http%3a%2f%2fwww%2eopw%2eie%2fen%2fdisclaimer%2f">
http://www.opw.ie/en/disclaimer/</a> <o:p></o:p></span></p>
</div>
</body>
</html>