Using libraries other than PyQGIS to develop plugin for QGIS? Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Getting started with QGIS plugin development?Changing attribute data types using PyQGISQGIS Plugin WindowsInstall shapely for QGIS on MacPython3 libraries for GIS analysisInstalling Lecos plugin for QGis 2.0.1 on linux fedora 20Dissolving polygons based on attributes with Python (shapely, fiona)?Using external IDE eclipse to develop python plugin for QGIS?geopandas read_file breaks in fiona open()Python - Extract raster values at point locations

Why do the resolve message appear first?

Is there a kind of relay only consumes power when switching?

What do you call the main part of a joke?

Can a party unilaterally change candidates in preparation for a General election?

How to compare two different files line by line in unix?

How come Sam didn't become Lord of Horn Hill?

Is it fair for a professor to grade us on the possession of past papers?

Generate an RGB colour grid

What is the escape velocity of a neutron particle (not neutron star)

Is "Reachable Object" really an NP-complete problem?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

How do I stop a creek from eroding my steep embankment?

Is it a good idea to use CNN to classify 1D signal?

What is the longest distance a player character can jump in one leap?

Why didn't Eitri join the fight?

Do I really need to have a message in a novel to appeal to readers?

Would "destroying" Wurmcoil Engine prevent its tokens from being created?

How do I find out the mythology and history of my Fortress?

Is the Standard Deduction better than Itemized when both are the same amount?

Apollo command module space walk?

Why do we bend a book to keep it straight?

Do I really need recursive chmod to restrict access to a folder?

How to down pick a chord with skipped strings?

Novel: non-telepath helps overthrow rule by telepaths



Using libraries other than PyQGIS to develop plugin for QGIS?



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Getting started with QGIS plugin development?Changing attribute data types using PyQGISQGIS Plugin WindowsInstall shapely for QGIS on MacPython3 libraries for GIS analysisInstalling Lecos plugin for QGis 2.0.1 on linux fedora 20Dissolving polygons based on attributes with Python (shapely, fiona)?Using external IDE eclipse to develop python plugin for QGIS?geopandas read_file breaks in fiona open()Python - Extract raster values at point locations



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















I develop a plugin for QGIS. Before to integreted it in the QGIS I developped it with GIS library (Fiona, shapely, geopandas, ...) and it work well. Now I try to build it with plugin_builder of QGIS. The problem is I try to use my functions that I created with the previous libraries, but it seems like PyQGIS (QGIS) didn't recongnize them.



Is it possible to work with the GIS libraries to open, write a vector and make some processes in QGIS environment?










share|improve this question






























    3















    I develop a plugin for QGIS. Before to integreted it in the QGIS I developped it with GIS library (Fiona, shapely, geopandas, ...) and it work well. Now I try to build it with plugin_builder of QGIS. The problem is I try to use my functions that I created with the previous libraries, but it seems like PyQGIS (QGIS) didn't recongnize them.



    Is it possible to work with the GIS libraries to open, write a vector and make some processes in QGIS environment?










    share|improve this question


























      3












      3








      3








      I develop a plugin for QGIS. Before to integreted it in the QGIS I developped it with GIS library (Fiona, shapely, geopandas, ...) and it work well. Now I try to build it with plugin_builder of QGIS. The problem is I try to use my functions that I created with the previous libraries, but it seems like PyQGIS (QGIS) didn't recongnize them.



      Is it possible to work with the GIS libraries to open, write a vector and make some processes in QGIS environment?










      share|improve this question
















      I develop a plugin for QGIS. Before to integreted it in the QGIS I developped it with GIS library (Fiona, shapely, geopandas, ...) and it work well. Now I try to build it with plugin_builder of QGIS. The problem is I try to use my functions that I created with the previous libraries, but it seems like PyQGIS (QGIS) didn't recongnize them.



      Is it possible to work with the GIS libraries to open, write a vector and make some processes in QGIS environment?







      python qgis-plugins shapely pyqgis-3 fiona






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 6 hours ago









      PolyGeo

      54k1782246




      54k1782246










      asked 7 hours ago









      EliteElite

      353




      353




















          1 Answer
          1






          active

          oldest

          votes


















          3














          Yes, you can use those librairies in a qgis plugin as long as you install them on the folder sites-packages of the python called by qgis.



          use OsGeo4W Shell to install them ( I use pip for that )
          then you can call them from your plugin, also make sure that PYTHONHOME and PYTHONPATH environment variables are well set.






          share|improve this answer























          • Doesn't that (using other library) make it harder to share the plugin ?

            – J.R
            7 hours ago











          • @J.R I don't see the problem if the dependencies of the plugin are present in a requirements.txt file

            – Hicham Zouarhi
            7 hours ago











          • If it's possible to use only PyQGIS then other don't have to install other library to use the plugin, not a big deal but easier for novice

            – J.R
            7 hours ago











          • yes, indeed it would be easier, it depends if OP wants to share his plugin online or not

            – Hicham Zouarhi
            7 hours ago











          • Thanks @HichamZouarhi for your answers. Yeah, J.R you are right, using only PyQGIS will make easier to install use the plugin, but for the moment i already finished it and i have use other libraries, and also i think Fiona and shapely are more easialy to use than PyQGIS. This is my opinion ;)

            – Elite
            7 hours ago











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "79"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f319111%2fusing-libraries-other-than-pyqgis-to-develop-plugin-for-qgis%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          Yes, you can use those librairies in a qgis plugin as long as you install them on the folder sites-packages of the python called by qgis.



          use OsGeo4W Shell to install them ( I use pip for that )
          then you can call them from your plugin, also make sure that PYTHONHOME and PYTHONPATH environment variables are well set.






          share|improve this answer























          • Doesn't that (using other library) make it harder to share the plugin ?

            – J.R
            7 hours ago











          • @J.R I don't see the problem if the dependencies of the plugin are present in a requirements.txt file

            – Hicham Zouarhi
            7 hours ago











          • If it's possible to use only PyQGIS then other don't have to install other library to use the plugin, not a big deal but easier for novice

            – J.R
            7 hours ago











          • yes, indeed it would be easier, it depends if OP wants to share his plugin online or not

            – Hicham Zouarhi
            7 hours ago











          • Thanks @HichamZouarhi for your answers. Yeah, J.R you are right, using only PyQGIS will make easier to install use the plugin, but for the moment i already finished it and i have use other libraries, and also i think Fiona and shapely are more easialy to use than PyQGIS. This is my opinion ;)

            – Elite
            7 hours ago















          3














          Yes, you can use those librairies in a qgis plugin as long as you install them on the folder sites-packages of the python called by qgis.



          use OsGeo4W Shell to install them ( I use pip for that )
          then you can call them from your plugin, also make sure that PYTHONHOME and PYTHONPATH environment variables are well set.






          share|improve this answer























          • Doesn't that (using other library) make it harder to share the plugin ?

            – J.R
            7 hours ago











          • @J.R I don't see the problem if the dependencies of the plugin are present in a requirements.txt file

            – Hicham Zouarhi
            7 hours ago











          • If it's possible to use only PyQGIS then other don't have to install other library to use the plugin, not a big deal but easier for novice

            – J.R
            7 hours ago











          • yes, indeed it would be easier, it depends if OP wants to share his plugin online or not

            – Hicham Zouarhi
            7 hours ago











          • Thanks @HichamZouarhi for your answers. Yeah, J.R you are right, using only PyQGIS will make easier to install use the plugin, but for the moment i already finished it and i have use other libraries, and also i think Fiona and shapely are more easialy to use than PyQGIS. This is my opinion ;)

            – Elite
            7 hours ago













          3












          3








          3







          Yes, you can use those librairies in a qgis plugin as long as you install them on the folder sites-packages of the python called by qgis.



          use OsGeo4W Shell to install them ( I use pip for that )
          then you can call them from your plugin, also make sure that PYTHONHOME and PYTHONPATH environment variables are well set.






          share|improve this answer













          Yes, you can use those librairies in a qgis plugin as long as you install them on the folder sites-packages of the python called by qgis.



          use OsGeo4W Shell to install them ( I use pip for that )
          then you can call them from your plugin, also make sure that PYTHONHOME and PYTHONPATH environment variables are well set.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 7 hours ago









          Hicham ZouarhiHicham Zouarhi

          2,0091922




          2,0091922












          • Doesn't that (using other library) make it harder to share the plugin ?

            – J.R
            7 hours ago











          • @J.R I don't see the problem if the dependencies of the plugin are present in a requirements.txt file

            – Hicham Zouarhi
            7 hours ago











          • If it's possible to use only PyQGIS then other don't have to install other library to use the plugin, not a big deal but easier for novice

            – J.R
            7 hours ago











          • yes, indeed it would be easier, it depends if OP wants to share his plugin online or not

            – Hicham Zouarhi
            7 hours ago











          • Thanks @HichamZouarhi for your answers. Yeah, J.R you are right, using only PyQGIS will make easier to install use the plugin, but for the moment i already finished it and i have use other libraries, and also i think Fiona and shapely are more easialy to use than PyQGIS. This is my opinion ;)

            – Elite
            7 hours ago

















          • Doesn't that (using other library) make it harder to share the plugin ?

            – J.R
            7 hours ago











          • @J.R I don't see the problem if the dependencies of the plugin are present in a requirements.txt file

            – Hicham Zouarhi
            7 hours ago











          • If it's possible to use only PyQGIS then other don't have to install other library to use the plugin, not a big deal but easier for novice

            – J.R
            7 hours ago











          • yes, indeed it would be easier, it depends if OP wants to share his plugin online or not

            – Hicham Zouarhi
            7 hours ago











          • Thanks @HichamZouarhi for your answers. Yeah, J.R you are right, using only PyQGIS will make easier to install use the plugin, but for the moment i already finished it and i have use other libraries, and also i think Fiona and shapely are more easialy to use than PyQGIS. This is my opinion ;)

            – Elite
            7 hours ago
















          Doesn't that (using other library) make it harder to share the plugin ?

          – J.R
          7 hours ago





          Doesn't that (using other library) make it harder to share the plugin ?

          – J.R
          7 hours ago













          @J.R I don't see the problem if the dependencies of the plugin are present in a requirements.txt file

          – Hicham Zouarhi
          7 hours ago





          @J.R I don't see the problem if the dependencies of the plugin are present in a requirements.txt file

          – Hicham Zouarhi
          7 hours ago













          If it's possible to use only PyQGIS then other don't have to install other library to use the plugin, not a big deal but easier for novice

          – J.R
          7 hours ago





          If it's possible to use only PyQGIS then other don't have to install other library to use the plugin, not a big deal but easier for novice

          – J.R
          7 hours ago













          yes, indeed it would be easier, it depends if OP wants to share his plugin online or not

          – Hicham Zouarhi
          7 hours ago





          yes, indeed it would be easier, it depends if OP wants to share his plugin online or not

          – Hicham Zouarhi
          7 hours ago













          Thanks @HichamZouarhi for your answers. Yeah, J.R you are right, using only PyQGIS will make easier to install use the plugin, but for the moment i already finished it and i have use other libraries, and also i think Fiona and shapely are more easialy to use than PyQGIS. This is my opinion ;)

          – Elite
          7 hours ago





          Thanks @HichamZouarhi for your answers. Yeah, J.R you are right, using only PyQGIS will make easier to install use the plugin, but for the moment i already finished it and i have use other libraries, and also i think Fiona and shapely are more easialy to use than PyQGIS. This is my opinion ;)

          – Elite
          7 hours ago

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f319111%2fusing-libraries-other-than-pyqgis-to-develop-plugin-for-qgis%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to create a command for the “strange m” symbol in latex? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How do you make your own symbol when Detexify fails?Writing bold small caps with mathpazo packageplus-minus symbol with parenthesis around the minus signGreek character in Beamer document titleHow to create dashed right arrow over symbol?Currency symbol: Turkish LiraDouble prec as a single symbol?Plus Sign Too Big; How to Call adfbullet?Is there a TeX macro for three-legged pi?How do I get my integral-like symbol to align like the integral?How to selectively substitute a letter with another symbol representing the same letterHow do I generate a less than symbol and vertical bar that are the same height?

          The Calvary Singular or Plural The 2019 Stack Overflow Developer Survey Results Are InAre collective nouns always plural, or are certain ones singular?Is “audience” singular or plural?“Wasn't” vs. “weren't” in a vernacular sentence“My last couple of years” — singular or plural?Is 'rest' singular or plural?Is “all but one” singular or plural?Whether to use the singular or plural form of basis?Singular and Plural for numbersIs there a plural form of teeth?performance: plural vs singular?singular or plural nouns?Singular and Plural

          Category:Tremithousa Media in category "Tremithousa"Navigation menuUpload media34° 49′ 02.7″ N, 32° 26′ 37.32″ EOpenStreetMapGoogle EarthProximityramaReasonatorScholiaStatisticsWikiShootMe