[Qgis-developer] Select by Radius

Marco Lechner mlechner at bfs.de
Tue Mar 21 07:51:17 PDT 2017


You are welcome,

but be careful with creating circles based on different (esp. non metric) coordinate reference systems.

Marco


> Finbar Gillen <finbar.gillen at vhi.ie> hat am 21. März 2017 um 15:04 geschrieben:
> 
> 
>     Marco,
> 
>      
> 
>     That worked out great! Thanks for your help.
> 
>      
> 
>     Regards
> 
>     Finbar
> 
>      
> 
>         From: Marco Lechner [mailto:mlechner at bfs.de]
>         Sent: 21 March 2017 12:26
>         To: Finbar Gillen; qgis-developer at lists.osgeo.org
>         Subject: RE: [Qgis-developer] Select by Radius
> 
>          
> 
>         Hi Finbar,
> 
>         Expresions are using SQL (and usually are the part after the "WHERE". If you have a point layer (in a metric KBS) you could use "Select by Expression" from Menu -> View -> Select and put in
> 
>         intersects( $geometry, buffer( geom_from_wkt( 'POINT(410611 5315209)'), 3000))
> 
>         This selects all onjects of the active layer that are within a 3000m Buffer (=circle) around the point 410611 5315209
> 
>         No python programming needed!
> 
>         Marco
> 
>         And by the way: QGIS has a really great documentation:
> 
>         http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/expression.html http://scanmail.trustwave.com/?c=6600&d=0pvR2HQZGUpQrIYiEst1Wq3x0a8I_XAiASvYJpcc1A&s=33&u=http%3a%2f%2fdocs%2eqgis%2eorg%2f2%2e14%2fen%2fdocs%2fuser%5fmanual%2fworking%5fwith%5fvector%2fexpression%2ehtml
>         http://docs.qgis.org/2.14/en/docs/user_manual/working_with_vector/attribute_table.html http://scanmail.trustwave.com/?c=6600&d=0pvR2HQZGUpQrIYiEst1Wq3x0a8I_XAiASrfLsca1A&s=33&u=http%3a%2f%2fdocs%2eqgis%2eorg%2f2%2e14%2fen%2fdocs%2fuser%5fmanual%2fworking%5fwith%5fvector%2fattribute%5ftable%2ehtml
> 
> 
> 
>         Finbar Gillen <finbar.gillen at vhi.ie mailto:finbar.gillen at vhi.ie > hat am 21. März 2017 um 12:49 geschrieben:
> 
>         Hi Marco,
> 
>          
> 
>         Thanks for the quick response! Would you have an example of python code I would put in the expression?
> 
>          
> 
>         This is an area I will need to upskill on.
> 
>          
> 
>         Regards
> 
>         Finbar
> 
>          
> 
>            From: Marco Lechner [mailto:mlechner at bfs.de]
>            Sent: 21 March 2017 11:25
>            To: Finbar Gillen; qgis-developer at lists.osgeo.org mailto:qgis-developer at lists.osgeo.org
>            Subject: Re: [Qgis-developer] Select by Radius
> 
>             
> 
>            hi Finbar,
>            you could use select by expression and use geometry functions available in the Expresions dialog to create the readius (e.g. buffering the point, created ba geometry_from_text). If you need thisvery often, you could create a simple model with the preocessing plugin doing what i described.
>            Marco
> 
> 
>            Finbar Gillen <finbar.gillen at vhi.ie mailto:finbar.gillen at vhi.ie > hat am 21. März 2017 um 12:17 geschrieben:
> 
>            Hi all,
> 
>             
> 
>            Another query, I have recently shifted to QGIS from ArcGIS and am looking for some help/pointers with the following:
> 
>            Does QGIS have a method by which I can specify a lat-lon coordinate (or a utm x,y coordinates, coordinate system not imp), and get all features that lie within a certain radius of this point?
> 
>            I have used the measure tool to draw a line and expand my radius out to the end of the line but looking a more accurate, efficient way of doing it.
> 
>            Regards,
> 
>            Finbar
> 
>             
> 
> 
>             
> 
>            Vhi Group DAC (Vhi) is a holding company for insurance and healthcare services, which include Vhi Healthcare DAC, Vhi Insurance DAC, Vhi Health Services DAC and Vhi Investments DAC. Vhi Healthcare DAC trading as Vhi Healthcare and Vhi Insurance DAC trading as Vhi Insurance are regulated by the Central Bank of Ireland. Vhi Healthcare is tied to Vhi Insurance DAC for health insurance in Ireland which is underwritten by Vhi Insurance DAC. Vhi Healthcare is tied to Zurich Life Assurance plc for Vhi Life Term Insurance which is underwritten by Zurich Life Assurance plc. Vhi Healthcare is tied to Collinson Insurance Services Limited for MultiTrip Travel Insurance, Backpacker Travel Insurance and Vhi Dental Insurance which are underwritten by Great Lakes Reinsurance (UK) SE and for Vhi Canada Cover and Vhi International Health Insurance which are underwritten by Astrenska Insurance Limited. For more information about the Vhi Group please go to: https://www.vhi.ie/about-vhi. http://scanmail.trustwave.com/?c=6600&d=0pvR2HQZGUpQrIYiEst1Wq3x0a8I_XAiASzYeMMd1w&s=33&u=https%3a%2f%2fwww%2evhi%2eie%2fabout-vhi
> 
>            Tá Vhi Group DAC (Vhi) ina chuideachta sealbhaíochta le haghaidh seirbhísí árachais agus seirbhísí cúram sláinte, lena n-áirítear Vhi Healthcare DAC, Vhi Insurance DAC, Vhi Health Services DAC agus Vhi Investments DAC. Déanann Banc Ceannais na hÉireann rialáil ar Vhi Healthcare DAC, ag trádáil dó mar Vhi Healthcare, agus ar Vhi Insurance DAC, ag trádáil dó mar Vhi Insurance. Tá Vhi Healthcare ceangailte le Vhi Insurance DAC le haghaidh árachas sláinte in Éirinn, rud atá frithgheallta ag Vhi Insurance DAC. Tá Vhi Healthcare ceangailte le Zurich Life Assurance plc le haghaidh árachais saoil in Éirinn, rud atá frithgheallta ag Zurich Life Assurance plc. Tá Vhi Healthcare ceangailte le Collinson Insurance Services Limited le haghaidh Árachas Taistil Ilturais agus Turasóirí Mála Droma agus Árachas Fiaclóireachta de chuid Vhi atá frithgheallta ag Great Lakes Reinsurance (UK) SE agus le haghaidh Clúdach Cheanada de chuid Vhi agus Árachas Sláinte Idirnáisiúnta de chuid Vhi atá frithgheallta ag Astrenska Insurance Limited. Chun tuilleadh faisnéise a fháil faoi Ghrúpa Vhi, tabhair cuairt ar: https://www.vhi.ie/about-vhi. http://scanmail.trustwave.com/?c=6600&d=0pvR2HQZGUpQrIYiEst1Wq3x0a8I_XAiASzYeMMd1w&s=33&u=https%3a%2f%2fwww%2evhi%2eie%2fabout-vhi
> 
>            This e-mail and any files transmitted with it contain information which may be confidential and which may also be privileged and is intended solely for the use of the individual or entity to whom it is addressed. Unless you are the intended recipient you may not copy or use it, or disclose it to anyone else. Any opinions expressed are that of the individual and not necessarily that of the Vhi Group. If you have received this e-mail in error please notify the sender by return.
> 
> 
>            _______________________________________________
>            Qgis-developer mailing list
>            Qgis-developer at lists.osgeo.org mailto:Qgis-developer at lists.osgeo.org
>            List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer http://scanmail.trustwave.com/?c=6600&d=0pvR2HQZGUpQrIYiEst1Wq3x0a8I_XAiASmLf8Eeig&s=33&u=https%3a%2f%2flists%2eosgeo%2eorg%2fmailman%2flistinfo%2fqgis-developer
>            Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer http://scanmail.trustwave.com/?c=6600&d=0pvR2HQZGUpQrIYiEst1Wq3x0a8I_XAiASmLf8Eeig&s=33&u=https%3a%2f%2flists%2eosgeo%2eorg%2fmailman%2flistinfo%2fqgis-developer
> 
> 
>             
> 
>          
> 
> 
>         ---------------------------------------------
> 
>         Vhi Group DAC (Vhi) is a holding company for insurance and healthcare services, which include Vhi Healthcare DAC, Vhi Insurance DAC, Vhi Health Services DAC and Vhi Investments DAC. Vhi Healthcare DAC trading as Vhi Healthcare and Vhi Insurance DAC trading as Vhi Insurance are regulated by the Central Bank of Ireland. Vhi Healthcare is tied to Vhi Insurance DAC for health insurance in Ireland which is underwritten by Vhi Insurance DAC. Vhi Healthcare is tied to Zurich Life Assurance plc for Vhi Life Term Insurance which is underwritten by Zurich Life Assurance plc. Vhi Healthcare is tied to Collinson Insurance Services Limited for MultiTrip Travel Insurance, Backpacker Travel Insurance and Vhi Dental Insurance which are underwritten by Great Lakes Reinsurance (UK) SE and for Vhi Canada Cover and Vhi International Health Insurance which are underwritten by Astrenska Insurance Limited. For more information about the Vhi Group please go to: https://www.vhi.ie/about-vhi. http://scanmail.trustwave.com/?c=6600&d=0pvR2HQZGUpQrIYiEst1Wq3x0a8I_XAiASzYeMMd1w&s=33&u=https%3a%2f%2fwww%2evhi%2eie%2fabout-vhi Tá Vhi Group DAC (Vhi) ina chuideachta sealbhaíochta le haghaidh seirbhísí árachais agus seirbhísí cúram sláinte, lena n-áirítear Vhi Healthcare DAC, Vhi Insurance DAC, Vhi Health Services DAC agus Vhi Investments DAC. Déanann Banc Ceannais na hÉireann rialáil ar Vhi Healthcare DAC, ag trádáil dó mar Vhi Healthcare, agus ar Vhi Insurance DAC, ag trádáil dó mar Vhi Insurance. Tá Vhi Healthcare ceangailte le Vhi Insurance DAC le haghaidh árachas sláinte in Éirinn, rud atá frithgheallta ag Vhi Insurance DAC. Tá Vhi Healthcare ceangailte le Zurich Life Assurance plc le haghaidh árachais saoil in Éirinn, rud atá frithgheallta ag Zurich Life Assurance plc. Tá Vhi Healthcare ceangailte le Collinson Insurance Services Limited le haghaidh Árachas Taistil Ilturais agus Turasóirí Mála Droma agus Árachas Fiaclóireachta de chuid Vhi atá frithgheallta ag Great Lakes Reinsurance (UK) SE agus le haghaidh Clúdach Cheanada de chuid Vhi agus Árachas Sláinte Idirnáisiúnta de chuid Vhi atá frithgheallta ag Astrenska Insurance Limited. Chun tuilleadh faisnéise a fháil faoi Ghrúpa Vhi, tabhair cuairt ar: https://www.vhi.ie/about-vhi. http://scanmail.trustwave.com/?c=6600&d=0pvR2HQZGUpQrIYiEst1Wq3x0a8I_XAiASzYeMMd1w&s=33&u=https%3a%2f%2fwww%2evhi%2eie%2fabout-vhi This e-mail and any files transmitted with it contain information which may be confidential and which may also be privileged and is intended solely for the use of the individual or entity to whom it is addressed. Unless you are the intended recipient you may not copy or use it, or disclose it to anyone else. Any opinions expressed are that of the individual and not necessarily that of the Vhi Group. If you have received this e-mail in error please notify the sender by return.
> 
> 
>         ---------------------------------------------
> 
> 
>          
> 
> 
> 
>     ---------------------------------------------
>     Vhi Group DAC (Vhi) is a holding company for insurance and healthcare services, which include Vhi Healthcare DAC, Vhi Insurance DAC, Vhi Health Services DAC and Vhi Investments DAC. Vhi Healthcare DAC trading as Vhi Healthcare and Vhi Insurance DAC trading as Vhi Insurance are regulated by the Central Bank of Ireland. Vhi Healthcare is tied to Vhi Insurance DAC for health insurance in Ireland which is underwritten by Vhi Insurance DAC. Vhi Healthcare is tied to Zurich Life Assurance plc for Vhi Life Term Insurance which is underwritten by Zurich Life Assurance plc. Vhi Healthcare is tied to Collinson Insurance Services Limited for MultiTrip Travel Insurance, Backpacker Travel Insurance and Vhi Dental Insurance which are underwritten by Great Lakes Reinsurance (UK) SE and for Vhi Canada Cover and Vhi International Health Insurance which are underwritten by Astrenska Insurance Limited. For more information about the Vhi Group please go to: https://www.vhi.ie/about-vhi. Tá Vhi Group DAC (Vhi) ina chuideachta sealbhaíochta le haghaidh seirbhísí árachais agus seirbhísí cúram sláinte, lena n-áirítear Vhi Healthcare DAC, Vhi Insurance DAC, Vhi Health Services DAC agus Vhi Investments DAC. Déanann Banc Ceannais na hÉireann rialáil ar Vhi Healthcare DAC, ag trádáil dó mar Vhi Healthcare, agus ar Vhi Insurance DAC, ag trádáil dó mar Vhi Insurance. Tá Vhi Healthcare ceangailte le Vhi Insurance DAC le haghaidh árachas sláinte in Éirinn, rud atá frithgheallta ag Vhi Insurance DAC. Tá Vhi Healthcare ceangailte le Zurich Life Assurance plc le haghaidh árachais saoil in Éirinn, rud atá frithgheallta ag Zurich Life Assurance plc. Tá Vhi Healthcare ceangailte le Collinson Insurance Services Limited le haghaidh Árachas Taistil Ilturais agus Turasóirí Mála Droma agus Árachas Fiaclóireachta de chuid Vhi atá frithgheallta ag Great Lakes Reinsurance (UK) SE agus le haghaidh Clúdach Cheanada de chuid Vhi agus Árachas Sláinte Idirnáisiúnta de chuid Vhi atá frithgheallta ag Astrenska Insurance Limited. Chun tuilleadh faisnéise a fháil faoi Ghrúpa Vhi, tabhair cuairt ar: https://www.vhi.ie/about-vhi. This e-mail and any files transmitted with it contain information which may be confidential and which may also be privileged and is intended solely for the use of the individual or entity to whom it is addressed. Unless you are the intended recipient you may not copy or use it, or disclose it to anyone else. Any opinions expressed are that of the individual and not necessarily that of the Vhi Group. If you have received this e-mail in error please notify the sender by return.
> 
>     ---------------------------------------------
> 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170321/e43a7412/attachment-0001.html>


More information about the Qgis-developer mailing list