Hi,
What's the best way to set transparent color (alpha channel) to a polygon layer
?
I did some test using code like :
rendererV2.symbol().setColor(QColor(0,128,128,2)), color is ok but layer is not
transparent at all...
Thanks
___
Qgis-user
I'm developping a standalone application (Python, Qt, Qgis) and I would like to
read some settings that I currently use in my Qgis projects : PostGis and
Spatialite connections.
I suppose I can get this values with QSettings, but I'm not sure.
Is it the right way to do this ?
I'm testing with
new questions each
day, and each day, I find answers...
Great job made by all developpment teams and plugins developpers , where I can
find lots of code.
-Message d'origine-
De : Etienne Tourigny [mailto:etourigny@gmail.com]
Envoyé : jeudi 11 octobre 2012 16:13
À : PIERRE Sylvain
Cc
Hello list,
The following code is running perfectly inside Qgis (1.7.2) from the python
console :
from PyQt4 import QtCore, QtGui
uri = QgsDataSourceURI()
uri.setDatabase( C:/APPLI_PDT/CANAL_DEV/bd_canal.sqlite)
uri.setDataSource( , AOT_POINT, GEOMETRY )
layer = QgsVectorLayer( uri.uri(), AOT,
Sylvain
Cc : qgis-user@lists.osgeo.org
Objet : Re: [Qgis-user] code running inside QGis, failing outside
Hi,
looks like you didn't initialize QGIS. See PyQGIS CookBook [0]
[0] http://www.qgis.org/pyqgis-cookbook/intro.html#python-applications
2012/10/19 PIERRE Sylvain sylvain.pie...@cg67.fr:
Hello
I got already the same but with Windows 7 and the message is Not possible to
find procedure entry point ?GEOPROJ4@@3VQString@@B in the qgis_core.dll dynamic
library Your solution fails.
Such kind of problem is realy boring:
I'm triyng to developp QGis uses in my local government, QGis is
Hi everybody,
I’ve installed Qgis-dev yesterday in order to test Oracle connection.
I work in a french local government. 95% of our data are stored into Oracle.
So this new connection looks very interesting for us.
The main things is definitively slowness at scanning DB.
We have more than 20
scanning will have to wait for QGIS 2.0x
or 2.1.
Andreas
On Wed, 26 Jun 2013 09:38:38 +0200, PIERRE Sylvain wrote:
Hi everybody,
I’ve installed Qgis-dev yesterday in order to test Oracle
connection.
I work in a french local government. 95% of our data are stored into
Oracle.
So this new
Hello Régis,
I never put a request for bugtracking, what's the way?
-Message d'origine-
De : qgis-user-boun...@lists.osgeo.org
[mailto:qgis-user-boun...@lists.osgeo.org] De la part de Régis Haubourg
Envoyé : jeudi 27 juin 2013 10:23
À : qgis-user@lists.osgeo.org
Objet : Re:
Done
http://hub.qgis.org/issues/8190
-Message d'origine-
De : HAUBOURG [mailto:regis.haubo...@eau-adour-garonne.fr]
Envoyé : jeudi 27 juin 2013 13:25
À : PIERRE Sylvain; 'qgis-user@lists.osgeo.org'
Objet : RE: [Qgis-user] QGIS and Oracle native connection
Hi,
Just create a osgeo
Hi,
With 2.0 standalone install I do not found ECW support.
I've solved this by copying libecwj2.dll and gdal_ECW_JP2ECW.dll from my
Lisboa install to Dufour.
(It was inspired by http://fr.faunalia.eu/node/438)
But for installing on many computers it does not look really professional...
Should
For enterprise deployment of QGIS 2.0 with Windows 32, it will be bad publicity
for QGIS...
Should I ask to migrate all our computers from 32 to 64 bits ? ;-)
-Message d'origine-
De : qgis-user-boun...@lists.osgeo.org
[mailto:qgis-user-boun...@lists.osgeo.org] De la part de Jürgen E.
May-be you’d better show first the window, load the layer and refresh the
canvas NOT the window
Sylvain
De : qgis-user-boun...@lists.osgeo.org
[mailto:qgis-user-boun...@lists.osgeo.org] De la part de Sylvie Perdriel
Envoyé : jeudi 20 mars 2014 14:24
À : qgis-user@lists.osgeo.org
Objet :
Hello,
Is it possible to label or to apply categorised symbology to a layer field not
with the keys values but with values which are defined in the tool editing
widget in layerfields form ?
I suppose the answer is NO. May be is there a workaround but without dealing
with relation...?
Sylvain
Hello,
With Postgis/QGIS configuration I can manage sequences on primary key when
editing new object (editing forms show a nextval(‘xx’::regclass)
formula in pk field)
With my Oracle/QGIS conf I can’t manage sequences, and editing failed when I
want to save.
Where is the problem?
Is it
sequences
Hi Sylvain,
On Mon, 16. Mar 2015 at 18:01:35 +0100, PIERRE Sylvain wrote:
With Postgis/QGIS configuration I can manage sequences on primary key
when editing new object (editing forms show a
nextval(‘xx’::regclass) formula in pk field) With my
Oracle/QGIS conf I can’t manage
Hello,
I would like to programmatically load a plugin from QGIS official repository
(eg in startup python script)
I've found QgsPluginManagerInterface class but I'm not sure
addPluginMetadatahttp://qgis.org/api/classQgsPluginManagerInterface.html#aeec85580f92725f55047069be6273c97
can do the
Hi,
I'm trying to load oracle table with sql expression like explain here:
http://blog.georepublic.info/2013/joining-tables-with-sql-using-pyqgis/
My python code:
uriOracle = QgsDataSourceURI()
uriOracle.setSrid(EPSG:3948)
uriOracle.setConnection('', 'x','x',
Téléphone: 514.381.5112 Fax: 514.381.4995
www.archeotec.ca<http://www.archeotec.ca>
On Jan 4, 2016 11:19, "PIERRE Sylvain [via OSGeo.org] " <[hidden
email]> wrote:
Hello,
When trying to load a qml file with complex polygon symbols saved with 2.6
into 2.12 I got a small
Hello,
When trying to load a qml file with complex polygon symbols saved with 2.6
into 2.12 I got a small message box with "unknown error" (erreur inconnue in
French)
Layer doesn't display anymore and message still display until I remove the
layer.
Is there anybody here experienced such
Hi,
With QGIS 2.12.1:
Where can I set QGIS processing script repos?
When I want to load R script from toolbox I get a python error like this :
http://hub.qgis.org/issues/12515
Bug seems to be fix, but…
Repos is located here:
https://github.com/qgis/QGIS-Processing/tree/master/rscripts
But I
Hi,
For a standalone Pyqgis App I needed such function, so here it is (implemented
for a QgsMapTool) :
from PyQt4 import QtCore
from PyQt4.QtGui import QPixmap , QApplication
# QGIS bindings for mapping functions
from qgis.gui import QgsMapTool
import tempfile
try:
_fromUtf8 =
Hi List,
I want to remove some class from a QgsPalettedRasterRenderer in a python script.
I got the renderer and classes with :
renderer = myLayer.renderer()
clas = renderer.classes()
I can iterate classes, modify label and so on.
But I don’t find any tips to delete a class as I can do in the ui.
Hello,
Did you add a qgis entry in “Forced Builtins” Python parameters?
[cid:image001.png@01D6C3D4.466FBF60]
→ Sylvain PIERRE
Chef de projet système d’information
Direction des Systèmes d’Information
Service Projets et Applications Numériques
Conseil
Hi,
Did you set these variable in env file in your user .vscode dir ?
De : QGIS-User De la part de LI, Xin
Stephen [MIT] via QGIS-User
Envoyé : lundi 13 mars 2023 07:30
À : qgis-user@lists.osgeo.org
Objet : [Qgis-user] How to set PyQGIS imported in VS Code in Windows for a
Python file?
t;http://www.alsace.eu>
[facebook]<http://www.facebook.com/toutelalsace> [twitter]
<http://www.twitter.com/toutelalsace> [insta]
<http://www.instagram.com/toutelalsace>
De : QGIS-User De la part de PIERRE Sylvain
via QGIS-User
Envoyé : lundi 13 mars 2023 08:56
À : LI,
lt;http://www.instagram.com/toutelalsace>
De : Germán Carrillo
Envoyé : mercredi 19 avril 2023 17:16
À : PIERRE Sylvain
Cc : qgis-user@lists.osgeo.org; qgis-develo...@lists.osgeo.org
Objet : Re: [QGIS-Developer] Pyqgis how to append existing gpkg layer
Soyez vigilant : ce courriel provient d'une
Hi dev and users
I don't understand how to append an existing gpkg layer with pyqgis.
I've tried many QgsVectorFileWriter options
self.options.actionOnExistingFile = QgsVectorFileWriter.CreateOrOverwriteLayer
reset final layer
And
self.options.EditionCapability =
Hi devs and qgis power users,
After investigating I can arg that there's a lack of conflation tools in QGIS
like such existing for Esri :
https://proceedings.esri.com/library/userconf/proc17/tech-workshops/tw_513-105.pdf
Is there some plan or something I miss for doing such task in QGIS ?
29 matches
Mail list logo