[Qgis-user] Setting scale and center in map composer

2018-03-07 Thread Roberto Herrero
Hi QGIS users, I 'm using PyQGIS to make a map in pdf format with QgsComposerMap, Qpainter and Qprinter. I want to set a scale 1:25000, and center the map view around a point with given coordinates. Can anybody tell me which commands should I use? Thanks, Roberto He

[Qgis-user] getFeatures() and fields()

2018-10-29 Thread Roberto Herrero
ontains fields and features. Any idea? Thank you very much, Roberto Herrero ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] getFeatures() and fields()

2018-10-30 Thread Roberto Herrero
You are right, Nyall. The problem was the path of the vector layer. Thank you, Roberto El lun., 29 oct. 2018 a las 23:54, Nyall Dawson () escribió: > On Tue, 30 Oct 2018 at 06:39, Roberto Herrero > wrote: > > > > getFeatures() and fields() do not seem to work in Qgis3.2

[Qgis-user] Attribute "cat" in grass7

2018-12-19 Thread Roberto Herrero
I've seen that the grass7 algorithms add an extra attribute called "cat". I wonder if the behaviour of the algorithms can be modified not to show that attribute. Thank you, Roberto Herrero ___ Qgis-user mailing list Qgis-user@lists.osge

[Qgis-user] AGGREGATES parameter in qgis:aggregate algorithm

2018-12-20 Thread Roberto Herrero
requires a parameter called AGGREGATES, of the type ParameterAggregates. I have found no documentation about this parameter in the PyQgis cookbook and no example on the net. Any help with this? Thank you, Roberto Herrero ___ Qgis-user mailing list Qgis-

[Qgis-user] Can not change page setting in Printer Composer

2019-01-06 Thread Roberto Herrero
settings are restored to landscape. Same thing happens with any other setting, like page size. ¿Has anybody observed this behavior? I am using 3.4.0 Madeira on Fedora Linux. Thank you very much, Roberto Herrero ___ Qgis-user mailing list Qgis-user

Re: [Qgis-user] Can not change page setting in Printer Composer (Roberto Herrero)

2019-01-06 Thread Roberto Herrero
I'd been trying to modify the settings in the Design-->Page setting menu. Following your recommendations I right-clicked on the page and everything is OK now. I wonder what the purpose of Desing-->Page setting is. Thank you very much for your help, Garth. Roberto Herrero El dom.,