Skip to content

Commit

Permalink
identified the most useful plugin making tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
DOSull committed Dec 8, 2020
1 parent b899c16 commit ea0e337
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions roadmap.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### Tasks for getting this plugin operational

1. Plugin offers a Hello, World GUI window
1. See, as just one example: https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/communicating.html#communicating-with-the-user
1. See, as just one example: https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/communicating.html#communicating-with-the-user
1. Test plugin server workflow by releasing v0.01 and a minorly modified v.0.02
1. Plugin loads a vector layer from QGIS into plugin code using `pyqgis`
1. See https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/vector.html and https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/vector.html#creating-vector-layers
Expand All @@ -12,23 +12,26 @@
1. UI implementation
1. Write projstring and WKT parsers (limited implementations of just our subset of WKT projections, not all possible WKT projections, of course! likewise, just handle our projstrings.)
1. Overview of parsing in Python: https://tomassetti.me/parsing-in-python/
1. Also perhaps of use: https://www.dabeaz.com/ply/ply.html#ply_nn0
1. Also perhaps of use: https://www.dabeaz.com/ply/ply.html#ply_nn0


### QGIS Plugin tutorials
* https://www.e-education.psu.edu/geog489/l4_p9.html
* https://www.qgistutorials.com/en/docs/3/building_a_python_plugin.html
A bunch of these. This one seems the most useful:
* https://www.qgistutorials.com/en/docs/3/building_a_python_plugin.html

These may also be helpful:
* https://www.e-education.psu.edu/geog489/l4_p9.html
* https://digital-geography.com/build-qgis-plugin/
* https://subscription.packtpub.com/book/application_development/9781783984985/1/ch01lvl1sec16/creating-a-qgis-plugin
* https://gis-ops.com/qgis-3-plugin-tutorial-plugin-development-explained-part-1/
* https://subscription.packtpub.com/book/application_development/9781783984985/1/ch01lvl1sec16/creating-a-qgis-plugin
* https://gis-ops.com/qgis-3-plugin-tutorial-plugin-development-explained-part-1/

### Managing dependencies:
* Packaging them by including wheels:
* https://gis.stackexchange.com/a/349502
* https://realpython.com/python-wheels/#python-packaging-made-better-an-intro-to-python-wheels
* https://gis.stackexchange.com/a/349502
* https://realpython.com/python-wheels/#python-packaging-made-better-an-intro-to-python-wheels
* One might want to set the minimum QGIS version for the plugin to be that point at which linux, macos, and windows versions were all bundling `scipy` and `numpy`, which we will need to determine.
* `3.4.5 MacOS` does not allow `import scipy` from the Python console.
* `3.4.5 MacOS` does not allow `import scipy` from the Python console.
* For people whose installations still don't have those dependencies and/or for people who want to try to get the plugin to work for earlier versions (for which they'd also have to manually modify a configuration file in the plugin, I assume?), we may want to eventually develop some pointers as to how to get `scipy` etc. installed on various platforms in a way that is visible to QGISes on those platforms, as some past instructions exist. See: https://gis.stackexchange.com/questions/366848/scp-plugin-for-qgis-3-10-on-mac

### Adding submodule
* https://github.blog/2016-02-01-working-with-submodules/
* https://github.blog/2016-02-01-working-with-submodules/

0 comments on commit ea0e337

Please sign in to comment.