[QGIS-Developer] Python27 still main version in Osgeo4W Shell? (QGIS 2.99)

2017-12-01 Thread KOHLMANN Hannes
Hi folks! I have a question regarding the Python version in QGIS 3. I installed the latest nightly build of Qgis 2.99 on Windows 64bit and wanted to start porting self-written QGIS 2 plugins to be QGIS 3 compatible! My approach would have been to redo the conversion steps with pyuic5 and pyrcc5

Re: [QGIS-Developer] Fwd: My PostgreSQL/PostGIS function to create all missing spatial indexes

2017-12-01 Thread Salvatore Larosa
Thank you very much! -- Sent from my mobile phone Il 01 Dic 2017 12:01 PM, "kimaidou" ha scritto: > Hi users and devs, > > I just created a very simple function [1] to create all the missing > spatial indexes on your table geometry columns. > > It is the 1st version, has no

Re: [QGIS-Developer] Fwd: My PostgreSQL/PostGIS function to create all missing spatial indexes

2017-12-01 Thread kimaidou
I have improved my function. Now it returns a table containing the schema, table name and column name. You need to use it with SELECT * FROM create_missing_spatial_indexes(); If you would like to only get the informations about missing indexes, there is a new "simulate" parameter. SELECT * FROM

[QGIS-Developer] Fwd: My PostgreSQL/PostGIS function to create all missing spatial indexes

2017-12-01 Thread kimaidou
Hi users and devs, I just created a very simple function [1] to create all the missing spatial indexes on your table geometry columns. It is the 1st version, has no fancy parameter to choose tables or schemas, nor return anything usefull (only notices). Use it with a simple SELECT

Re: [QGIS-Developer] Python error in processing on 2.99 startup

2017-12-01 Thread Gary Sherman
Is this part of the same issue (latest Master build 19b062c): 2017-12-01T06:25:26 CRITICALCould not open GRASS GIS 7 algorithm: /Users/gsherman/apps/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/grass7/description/r.sim.sediment.txt

[QGIS-Developer] Python and ExpressionContext question

2017-12-01 Thread Andreas Neumann
Hi, I am trying to evaluate an expression on a selected feature in my Python code. Here is my code: - selFeature = selectedFeatures[0] context = QgsExpressionContext() scope = QgsExpressionContextScope() scope.setFeature(selFeature) context.appendScope(scope) exp =

Re: [QGIS-Developer] Python error in processing on 2.99 startup

2017-12-01 Thread Tim Sutton
Hi > On 01 Dec 2017, at 17:30, Gary Sherman wrote: > > Is this part of the same issue (latest Master build 19b062c): > > 2017-12-01T06:25:26 CRITICALCould not open GRASS GIS 7 algorithm: >