<div dir="ltr" gmail_original="1">You can install <a href="https://gisunchained.wordpress.com/2019/05/29/using-qgis-from-conda/"><span id="gmail-mt-tracked-link_2_1691387879836" style="color: red;"></span>QGIS using conda</a> along with other required packages in the same environment. This is the easiest way to ensure python dependencies are found correctly. If this is not feasible for you, you can refer to the <a href="https://docs.qgis.org/3.28/en/docs/pyqgis_developer_cookbook/intro.html#running-custom-applications"><span id="gmail-mt-tracked-link_2_1691387779665" style="color: red;"></span>documentation</a> which has pointers on how to set your PYTHONPATH<div><br></div><div>You can use all QGIS functionality, includig processing algorithms in a headless mode. See my guide at <a href="https://mailtrack.io/trace/link/c33fcf55a40a973c7257e78375b291fb5ac40ff9?w=cWdpcy11c2VyQGxpc3RzLm9zZ2VvLm9yZw&url=https%3A%2F%2Fcourses.spatialthoughts.com%2Fpyqgis-in-a-day.html%23writing-standalone-python-scripts&userId=8747767&signature=d37ba1c90b9723a7">https://courses.spatialthoughts.com/pyqgis-in-a-day.html#writing-standalone-python-scripts</a> </div><div><br></div><div>I also gave a talk recently and demonstrated the setup required to launch a custom pyqgis algorithm from a web app. You can find the materials and video at  <a href="https://mailtrack.io/trace/link/a6fab34e22cbe38854a288b16087a07c01f35a5d?w=cWdpcy11c2VyQGxpc3RzLm9zZ2VvLm9yZw&url=http%3A%2F%2Fbit.ly%2Fautomating-geospatial-qgis&userId=8747767&signature=d0d515c797aa16b3">http://bit.ly/automating-geospatial-qgis</a><br><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><br></div><div>Good luck.</div><div dir="ltr">---<div>Ujaval Gandhi</div><div>Spatial Thoughts</div><div><a href="https://mailtrack.io/trace/link/d900ac0c48e3d561fb2ae71ca20b9e521c00612f?w=cWdpcy11c2VyQGxpc3RzLm9zZ2VvLm9yZw&url=http%3A%2F%2Fwww.spatialthoughts.com&userId=8747767&signature=4baa3836b075f66e" target="_blank">www.spatialthoughts.com</a></div><div><br></div></div></div></div><br></div></div><br><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/w/cWdpcy11c2VyQGxpc3RzLm9zZ2VvLm9yZw/321471e07369c9573bbb159a24790ab290bdcc5b.png?u=8747767" ><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 7, 2023 at 10:58 AM Pinkal Sanoria via QGIS-User <qgis-user@lists.osgeo.org> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr">please revert back as soon as possible, because it is very important for me. <div><br></div><div>Thanks </div><div>Pinkal</div><div><br></div><div><br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 28, 2023 at 12:53 AM Pinkal Sanoria <<a href="mailto:pinkalsanoria123@gmail.com" target="_blank">pinkalsanoria123@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="auto">Dear QGIS Team,<div dir="auto"><br></div><div dir="auto">I hope this email finds you well. My name is Pinkal, and I am a developer interested in leveraging the capabilities of QGIS within a web application. I am reaching out to seek guidance and support on how to connect QGIS with Python, specifically Django, to utilize the full functionality of QGIS in a web-based environment.</div><div dir="auto"><br></div><div dir="auto">My objective is to integrate QGIS functionality into a Django-based web application, enabling users to access and interact with geospatial data and perform various geospatial analyses through the web interface. After some research, I understand that the primary method for this integration is by using the PyQGIS library, the Python API for QGIS.</div><div dir="auto"><br></div><div dir="auto">Could you please provide me with some guidance on the following aspects:</div><div dir="auto"><br></div><div dir="auto">Steps to Integrate PyQGIS with Django: I would greatly appreciate a step-by-step guide or documentation that outlines the process of setting up and integrating PyQGIS with a Django project. This includes installing QGIS, configuring the PyQGIS library, and handling any potential dependencies or issues that may arise during web deployment.</div><div dir="auto"><br></div><div dir="auto">Best Practices for Web Integration: As I plan to deploy QGIS within a web application, I am concerned about potential challenges related to QGIS's reliance on the GUI. It would be incredibly helpful if you could provide insights or best practices on using QGIS in a "headless" mode to ensure smooth web-based functionality while still accessing the complete range of QGIS features.</div><div dir="auto"><br></div><div dir="auto">Recommended QGIS API or Alternatives: While I am familiar with PyQGIS, I am open to exploring other QGIS APIs or methods that might better suit web integration. If there are any alternatives or specific QGIS APIs that are more suitable for web-based applications, I would appreciate your expert recommendations and insights on their usage.</div><div dir="auto"><br></div><div dir="auto">Community Resources: Are there any specific community forums, mailing lists, or documentation repositories where I can connect with other developers who have successfully integrated QGIS with Python and Django in web applications? Being part of a vibrant community of like-minded developers would be invaluable.</div><div dir="auto"><br></div><div dir="auto">I am enthusiastic about harnessing the power of QGIS in a web environment, and I believe that with your guidance, I can achieve a seamless integration that meets the project's requirements.</div><div dir="auto"><br></div><div dir="auto">Thank you for your time and support. I am looking forward to your valuable assistance in this endeavor.</div><div dir="auto"><br></div><div dir="auto">Best regards,</div><div dir="auto"><br></div><div dir="auto">Pinkal Sanoria</div><div dir="auto">Indian</div><div dir="auto">9805637665</div><div dir="auto"><a href="mailto:pinkalsanoria123@gmail.com" target="_blank">pinkalsanoria123@gmail.com</a></div><div dir="auto"><br></div></div>
</blockquote></div>
______________________________<wbr>_________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-user</a><br>
</blockquote></div>