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;
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
add a comment |
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
add a comment |
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
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
python qgis-plugins shapely pyqgis-3 fiona
edited 6 hours ago
PolyGeo♦
54k1782246
54k1782246
asked 7 hours ago
EliteElite
353
353
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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