Spatial Galaxy

Posts

  • Jan 2, 2019

    We've released version 3.1 of the Plugin Builder for QGIS 3.x. This version contains a number of bug fixes and performance enhancements.

    Here are some of the changes included since version 3.0.3:

    • Fix issue with reload on generated plugins
    • Move dialog creation to run method to improve startup performance
    • Move help file generation files to proper method
    • Include missing tags file
    • Attempt to compile resources.qrc when plugin is generated (requires pyrcc5 in path)
    • Set deployment directory in Makefile based on user OS (pb_tool is recommended over make)
    • Check for valid URL format for tracker and repository
    Read More
  • Mar 12, 2018

    There's been several posts to GIS StackExchange along the lines of:

    Where's my .qgis3 folder?

    Prior to QGIS 3, the .qgis/.qgis2 folder was found under your home directory. At version 3, the folder has moved to a more standard profile location for your operating system.

    Read More
  • Feb 13, 2018

    Getting started with Python and QGIS 3 can be a bit overwhelming. In this post we give you a quick start to get you up and running and maybe make your PyQGIS life a little easier.

    There are likely many ways to setup a working PyQGIS development environment---this one works pretty well.

    Read More
  • Mar 13, 2015

    QGIS data providers are written in C++, however it is possible to simulate a data provider in Python using a memory layer and some code to interface with your data.

    Why would you want to do this? Typically you should use the QGIS data providers, but here are some reasons why you may want to give it a go:

    • There is no QGIS data provider
    • The generic access available through OGR doesn't provide all the features you need
    • You have no desire to write a provider in C++
    • No one will write a C++ provider for you, for any amount of money

    If you go this route you are essentially creating a bridge that connects QGIS and your data store, be it flat file, database, or some other binary format. If Python can "talk" to your data store, you can write a pseudo-provider.

    To illustrate the concept, we'll create a provider for CSV files that allows you to create a layer and have full editing capabilities using QGIS and the Python csv module.

    Read More
  • Feb 23, 2015

    This minor update to the Plugin Builder allows you to choose where your plugin menu will be located.

    Read More

Previous Page: 1 of 20