<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Hi Krishna,</div><div dir="ltr"><br></div><div dir="ltr">You could create an action on the map canvas with some lines of python code to achieve your needed function. There is an official tutorial for actions: </div><div dir="ltr"><div style="display: block;" class=""><div style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;" class="apple-rich-link" draggable="true" role="link" data-url="https://docs.qgis.org/3.34/en/docs/training_manual/create_vector_data/actions.html"><a style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;" class="lp-rich-link" rel="nofollow" href="https://docs.qgis.org/3.34/en/docs/training_manual/create_vector_data/actions.html" dir="ltr" role="button" draggable="false" width="300"><table style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:#E9E9EB;font-family:-apple-system, Helvetica, Arial, sans-serif;" class="lp-rich-link-emailBaseTable" cellpadding="0" cellspacing="0" border="0" width="300"><tbody><tr><td vertical-align="center"><table bgcolor="#E9E9EB" cellpadding="0" cellspacing="0" width="300" style="font-family:-apple-system, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(233, 233, 235, 1);" class="lp-rich-link-captionBar"><tbody><tr><td style="padding:8px 0px 8px 0px;" class="lp-rich-link-captionBar-textStackItem"><div style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" class="lp-rich-link-captionBar-textStack"><div style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-topCaption-leading"><a rel="nofollow" href="https://docs.qgis.org/3.34/en/docs/training_manual/create_vector_data/actions.html" style="text-decoration: none" draggable="false"><font color="#000000" style="color: rgba(0, 0, 0, 1);">5.4. Lesson: Actions — QGIS Documentation documentation</font></a></div><div style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-bottomCaption-leading"><a rel="nofollow" href="https://docs.qgis.org/3.34/en/docs/training_manual/create_vector_data/actions.html" style="text-decoration: none" draggable="false"><font color="#A2A2A9" style="color: rgba(60, 60, 67, 0.6);">docs.qgis.org</font></a></div></div></td><td style="padding:6px 12px 6px 0px;" class="lp-rich-link-captionBar-rightIconItem" width="36"><a rel="nofollow" href="https://docs.qgis.org/3.34/en/docs/training_manual/create_vector_data/actions.html" draggable="false"><img style="pointer-events:none !important;display:inline-block;width:36px;height:36px;border-radius:3px;" width="36" height="36" draggable="false" class="lp-rich-link-captionBar-rightIcon" alt="qgis_logo.ico" src="cid:2DB58E22-BBC8-4D69-8C98-481A72CA629D"></a></td></tr></tbody></table></td></tr></tbody></table></a></div></div><br></div><div dir="ltr">Best regards,</div><div dir="ltr">Christoph</div><div dir="ltr"><br><blockquote type="cite">Am 22.07.2024 um 23:50 schrieb krishna Ayyala via QGIS-User <qgis-user@lists.osgeo.org>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Hello,</div>I have a qgis map with a points layer.These red points are proposed towers. When I click anywhere on the map, I should get a popup message indicating the distance to the nearest tower and the direction (NE,NW,SE,SW) to the nearest tower. Is there any app that can do this job?<div><br></div><div>Regards.</div><div><br></div><div><div><image.png></div><br></div></div>
<span>_______________________________________________</span><br><span>QGIS-User mailing list</span><br><span>QGIS-User@lists.osgeo.org</span><br><span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></div></blockquote></body></html>