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
How to Make a Beautiful Stacked 3D Plot
2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?
Do square wave exist?
Extracting terms with certain heads in a function
What's the meaning of "fortified infraction restraint"?
Why do we bend a book to keep it straight?
How to tell that you are a giant?
Is it fair for a professor to grade us on the possession of past papers?
Would "destroying" Wurmcoil Engine prevent its tokens from being created?
Can melee weapons be used to deliver Contact Poisons?
How to compare two different files line by line in unix?
Did MS DOS itself ever use blinking text?
Do wooden building fires get hotter than 600°C?
What is the longest distance a player character can jump in one leap?
Do I really need recursive chmod to restrict access to a folder?
Is safe to use va_start macro with this as parameter?
Significance of Cersei's obsession with elephants?
representation of vector and matrix in latex
How to find all the available tools in mac terminal?
Delete nth line from bottom
Closed form of recurrent arithmetic series summation
Fundamental Solution of the Pell Equation
What would be the ideal power source for a cybernetic eye?
Crossing US/Canada Border for less than 24 hours
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 10 hours ago
PolyGeo♦
54k1782246
54k1782246
asked 11 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
11 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
11 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
11 hours ago
yes, indeed it would be easier, it depends if OP wants to share his plugin online or not
– Hicham Zouarhi
11 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
10 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
11 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
11 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
11 hours ago
yes, indeed it would be easier, it depends if OP wants to share his plugin online or not
– Hicham Zouarhi
11 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
10 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
11 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
11 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
11 hours ago
yes, indeed it would be easier, it depends if OP wants to share his plugin online or not
– Hicham Zouarhi
11 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
10 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 11 hours ago
Hicham ZouarhiHicham Zouarhi
2,0091922
2,0091922
Doesn't that (using other library) make it harder to share the plugin ?
– J.R
11 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
11 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
11 hours ago
yes, indeed it would be easier, it depends if OP wants to share his plugin online or not
– Hicham Zouarhi
11 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
10 hours ago
add a comment |
Doesn't that (using other library) make it harder to share the plugin ?
– J.R
11 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
11 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
11 hours ago
yes, indeed it would be easier, it depends if OP wants to share his plugin online or not
– Hicham Zouarhi
11 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
10 hours ago
Doesn't that (using other library) make it harder to share the plugin ?
– J.R
11 hours ago
Doesn't that (using other library) make it harder to share the plugin ?
– J.R
11 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
11 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
11 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
11 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
11 hours ago
yes, indeed it would be easier, it depends if OP wants to share his plugin online or not
– Hicham Zouarhi
11 hours ago
yes, indeed it would be easier, it depends if OP wants to share his plugin online or not
– Hicham Zouarhi
11 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
10 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
10 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
-fiona, pyqgis-3, python, qgis-plugins, shapely