Is it possible to add "Input" parameters to "PostgreSQL execute SQL" sql
query, like [buffer] {buffer}?
Thanks
Alexandre Busquets Triola
GIS Software Analyst & Developer
-
Skype: alexandre.busquets
___
Qgis-user mailing list
Q
Hi,
I'm using ubuntu 14.04.3 LTS and qgis-server_2.12.0. The wms service is
working correctly but wfs no, I can't get data.
For testing I install qgis-mapserver, the default package from ubuntu
14.04 and wfs returns data.
Any idea?
Thanks.
___
Qgis-us
I have found this post that explains how to do it
http://gis.stackexchange.com/questions/66878/how-to-programmatically-associate-a-layer-with-a-custom-ui
Thanks.
2015-03-02 15:09 GMT+01:00 Alexandre Busquets :
> Hi,
>
> is possible change the editwidget with pyqgis?
>
>
Thanks for your help.
I post here my solution for everyone:
from __future__ import unicode_literals
,...
for fn in os.listdir(cad_dir):
fitxer = fn.decode('utf-8')
if fitxer.endswith('.dxf'):
vlayer = QgsVectorLayer(fitxer, 'layer_test', 'ogr')
,...
2015-03-03 8:43 GMT
Hi,
How should I load a vector layer with an accented path without error?
This my code sample:
f = "/home/abusquets/aviĆ³/dades.shp"
vlayer = QgsVectorLayer(f, "layer_name_you_like", "ogr")
print vlayer.isValid()
Thanks
___
Qgis-user mailing list
Qgis
Hi,
is possible change the editwidget with pyqgis?
I have made an extension that loads a postgis layer and I want to edit the
date fields with the date widget by default without any change in the
settings of layer ( "layer properties dialog").
Thanks
_
the solution:
fitxer="/tmp/prova.dxf|layername=entities|geometrytype=Point"
layer = QgsVectorLayer(fitxer, 'prova', 'ogr')
QgsMapLayerRegistry.instance().addMapLayer(layer)
2015-02-25 11:03 GMT+01:00 Alexandre Busquets :
> Hi Ricard,
>
> thanks for your h
Hi Ricard,
thanks for your help, but this is not a valid option for me. I need load
the layer directly, without the "Select vector layers to add" dialog.
2015-02-25 10:55 GMT+01:00 Richard Duivenvoorde :
> On 25-02-15 08:05, Alexandre Busquets wrote:
> > Hi,
> >
Hi,
can somebody help me with load a dxf file as a vector layer?
Is QgsDataSourceURI an option? I tried with this code, but I haven't been
lucky.
fitxer="/tmp/prova.dxf"
uri = QgsDataSourceURI()
uri.setDatabase(fitxer)
uri.setDataSource('', 'entities', 'OGR_GEOMETRY', "OGR_GEOMETRY='POINT'",
'
Hi,
in my qgis project I have defined a relation.
When I identify a feature the "features window" shows the relation, but
by default not shows the relation as a table, I have to push the especific
button.
Is it possible, by default, show the relation in table mode?
Thanks.
___
10 matches
Mail list logo