Re: [QGIS-Developer] C++ Plugin plugin_builder.py

2019-04-01 Thread Siki Zoltan
Dear Susann, you have to install plugin builder plugin frm QGIS 3.4 Go to Plugins/Manage and Install Plugins in the menu and search for Plugin builder. There are sources how to upgrade plugins: https://gisforthought.com/updating-a-plugin-from-qgis-2-to-qgis-3/

Re: [QGIS-Developer] Find unmaintained plugins

2019-02-03 Thread Siki Zoltan
Hi All, there should be some mechanism to overtake a plugin. For example the qgsaffine plugin [1], the last commit was in 2015 on github and there is a pull request [2] (more than one month old) which upgrades plugin to qgis 3.4. Deadlock... Zoltan [1] https://github.com/eriktim/qgsAffine

Re: [QGIS-Developer] [Qgis-tr] Missing translated strings in localized master

2018-09-20 Thread Siki Zoltan
Thanks Jürgen, in 3.2.3-Bonn the missing HUngarian translations in the menu came back. Zoltan On Thu, 20 Sep 2018, DelazJ wrote: Transifex Webtranslation page for QGIS is on https://www.transifex.com/qgis/___ QGIS-Developer mailing list

Re: [QGIS-Developer] [Qgis-tr] Missing translated strings in localized master

2018-09-19 Thread Siki Zoltan
Hi, it is the same for the Hungarian translation. In QGIS 3.2.x some menu options are shown in English, but those are translated from the very beginnig (version 0.9). Regards, Zoltan On Wed, 19 Sep 2018, DelazJ wrote: Transifex Webtranslation page for QGIS is on

Re: [QGIS-Developer] Please help! - QGIS expressions don't evaluate as expected

2018-08-13 Thread Siki Zoltan
Dear Evan, try to send your question to the https://gis.stackexchange.com/, it is for GIS questions. Zoltan On Sun, 12 Aug 2018, Evan Kanter wrote: Hi Devs, I˙˙m sending you a link to my post on Stack Overlow, requesting assistance!

Re: [QGIS-Developer] PyQGIS: Check if layer is already loaded?

2017-06-04 Thread Siki Zoltan
Dear Magnus. you can iterate through the layers: for lay in QgsMapLayerRegistry.instance().mapLayers().values(): if lay.name() == your_layer_name: your layer is loaded Regards, Zoltan On Sun, 4 Jun 2017, Magnus Homann wrote: I'm writing a plugin that adds feature to a SHP-layer,

[QGIS-Developer] Python expression function

2017-05-18 Thread Siki Zoltan
Dear Developers, I found some strange behaviour of Python expression functions if variable length parameter list is given (e.g args=-1). If there is a NULL value among the parameters the function is not called. See the discussion on

Re: [Qgis-developer] qgis 2.18

2017-02-15 Thread Siki Zoltan
Dear Dan, QGIS uses Qt and pyQt (in python plugins). You should install Qt4, pyQt4 and Python 2 for QGIS 2.x. The next 3.x QGIS release will use Qt5 and Python 3. Regards Zoltan On Wed, 15 Feb 2017, Smith, Dan [US] (MS) wrote: Is it possible to run a python gui using tkinter from the qgis

Re: [Qgis-developer] DXF/DWG import requirements document

2015-06-23 Thread Siki Zoltan
Dear Andreas, beside Import of layer names as attributes I would prefer 1. setting layer filter in the import dialog (e.g. as a regexp or a selection list from the available CAD layers), unselected layers are skipped in input. It is not clear for me if the layer name rules can be used

Re: [Qgis-developer] FOSS4G Europe 2015: Deadline for submissions is approaching! ( February 25, 2015 )

2015-02-13 Thread Siki Zoltan
Hi René, there was no workshop submission from the QGIS community sofar. It would be nice if we had a QGIS releated workshop in Como. Zoltan Workshop track chair On Fri, 13 Feb 2015, René-Luc Dhont wrote: Hi devs, Did someone has already submitted workshops or tracks about QGIS or QGIS

[Qgis-developer] GdalTools plug-in clipper

2015-01-09 Thread Siki Zoltan
Hi List, I found a bug in GdalTools/Clipper, when a mask layer is used with a filter expression, the generated gdalwarp command is is not valid. The generated command looks like this: gdalwarp -q -cutline poly.shp|layerid=0|subset=\Nev\ = 'Heves' -crop_to_cutline input.tif output.tif the

Re: [Qgis-developer] GdalTools plug-in clipper

2015-01-09 Thread Siki Zoltan
Hi Paolo, Bug report #11972 created. Zoltan On Fri, 9 Jan 2015, Paolo Cavallini wrote: Il 09/01/2015 17:58, Siki Zoltan ha scritto: I found a bug in GdalTools/Clipper, when a mask layer is used with a filter expression, the generated gdalwarp command is is not valid. The generated command

[Qgis-developer] attribute index

2014-12-02 Thread Siki Zoltan
Dear List Members, is there any chance to go through the features using an attribute index? I would like to traverse sequentially the features in an order defined by an attribute (int). Thanks, Zoltan ___ Qgis-developer mailing list

Re: [Qgis-developer] set attributes of a new feature

2014-11-16 Thread Siki Zoltan
Dear List Members, i found the solution to my problem in the QGIS API. An internal Python vaiable must be created: fields = lay.dataProvider().fields() feat.setFields(fields, True) Zoltan On Sat, 15 Nov 2014, Siki Zoltan wrote: Dear List Members, i've got in trouble creating new point

[Qgis-developer] set attributes of a new feature

2014-11-15 Thread Siki Zoltan
Dear List Members, i've got in trouble creating new point feature in a shape file using python (QGIS 2.2 on Fedora): feat = QgsFeature() feat.setFields(lay.dataProvider().fields(), True) feat.setAttribute(feat.fieldNameIndex('point_id'), xxx) The fieldNameIndex call makes QGIS crash QGIS

Re: [Qgis-developer] Invisible shapefile

2014-10-18 Thread Siki Zoltan
Dear Paolo, recently I have something similar. I compared the bad and the good shapes with diff (octal dumps). If you send me the bad shape I can try to find the cause of the problem. Regards, Zoltan On Sat, 18 Oct 2014, Paolo Cavallini wrote: Hi all. I am creating shapefiles with SAGA

Re: [Qgis-developer] layer encoding

2014-09-06 Thread Siki Zoltan
Thanks Salvatore, Zoltan On Fri, 5 Sep 2014, Salvatore Larosa wrote: Hi, Il 05/Set/2014 19:48 Siki Zoltan s...@agt.bme.hu ha scritto: Dear List, I can't find a way to get the encoding of a vector layer from python. Can someone give me a tipp? from python console: layer

[Qgis-developer] layer encoding

2014-09-05 Thread Siki Zoltan
Dear List, I can't find a way to get the encoding of a vector layer from python. Can someone give me a tipp? Thanks, Zoltan ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Python plugins mandatory metadata

2014-08-27 Thread Siki Zoltan
Hi all, +1 I suppose the plugin approver should check if all the sources are available in the source (if no code repository is available), e.g. ui files. It would be important for those who would make a fork of a (already not supported) plugin. A minimal documentation in the source may be

Re: [Qgis-developer] Geospackage Slow in QGIS

2014-08-18 Thread Siki Zoltan
Dear Andrea, what about using DB Manager's SQL window? There you can input an SQL select. To remove a column in SQLite you can create a new table without the column to delete and then use INSERT INTO new_table SELECT ... Regards, Zoltan On Mon, 18 Aug 2014, Andrea Peri wrote: Just to

Re: [Qgis-developer] Regarding linear transformation in Georeferencer

2014-08-14 Thread Siki Zoltan
On Wed, Aug 13, 2014 at 3:30 PM, Siki Zoltan s...@agt.bme.hu wrote: Dear Sajid, linear transformation (from my practice) use three unknowns offset (Easting, Northing) and scale. No rotational angle. The linear is not a good name for it. E' = Eoffset + scale * E N' = Noffset + scale * N Zoltan

Re: [Qgis-developer] Regarding linear transformation in Georeferencer

2014-08-13 Thread Siki Zoltan
Dear Sajid, linear transformation (from my practice) use three unknowns offset (Easting, Northing) and scale. No rotational angle. The linear is not a good name for it. E' = Eoffset + scale * E N' = Noffset + scale * N Zoltan On Wed, 13 Aug 2014, sajid pareeth wrote: Hi, Can anyone give me

Re: [Qgis-developer] Fwd: how to use gdal in custom plugin to convert png to geotiff with corner coordinates

2014-08-12 Thread Siki Zoltan
Dear Aamir, you can uste gdal python bindings, see: http://pcjericks.github.io/py-gdalogr-cookbook/ or you can start gdal_tranlate in the background to do the job see: http://www.gdal.org/gdal_utilities.html Zoltan On Tue, 12 Aug 2014, Aamir Ali wrote: Dear All n I am developing a plugin

Re: [Qgis-developer] [Qgis-user] Impossible to upload and share a plugin on QGIS plugin repository

2014-07-30 Thread Siki Zoltan
Dear Junior, in the zip file you have to use the same directory structure as in the .qgis2/python/plugins directory. If the name of your plugin is xxx then in the zip there sould be a xxx directory which contains the __init__.py and metadata.txt and the main python file xxx.py, you can use

[Qgis-developer] joinning tables

2014-01-25 Thread Siki Zoltan
Dear List, I got into trouble joining tables in QGIS. When I try to join shape to a csv, ods or xlsx file using columns with textual data, it doesn't work. I get only NULL values in the joint columns. Using integer values the join works. Is it a feature or an error? Regards, Zoltan

Re: [Qgis-developer] Ideas/proposal for Attribute Table

2014-01-07 Thread Siki Zoltan
Hi, I would like to have spatial aggregation (which can not be done with the usual report generators). For example aggregated statistics on point features inside polygons. Regards, Zoltan On Tue, 7 Jan 2014, Nathan Woodrow wrote: On Tue, Jan 7, 2014 at 9:06 PM, Andreas Neumann

Re: [Qgis-developer] conversion between latitude, longitude and x, y coordinate

2013-12-14 Thread Siki Zoltan
Dear Siva, try proj.4 api http://trac.osgeo.org/proj/wiki/ProjAPI Regards, Zoltan On Sat, 14 Dec 2013, SIVA RAMA KRISHNA wrote: Hello, I have a query related to conversion between lat long to map x map y I have a *lat ,lon *point with projection system and I wanted to know the* map x map

Re: [Qgis-developer] Excel export

2013-10-22 Thread Siki Zoltan
Dear Victor, save your data into a shape file and open the dbf table with excel or calc and save as xls. Regards, Zoltan On Tue, 22 Oct 2013, Victor Gonzalez wrote: Hi all, I need to export some attribute tables from QGIS in .xls format. As far as I know, the XYTools plugin [1] does what

Re: [Qgis-developer] implement Open/Save File option into QGIS plugins

2013-03-23 Thread Siki Zoltan
Hi Fegyi, it is a qt or pyqt question, see http://hohohuhu.blogspot.hu/2011/04/pyqt-open-file-dialog.html Regards, Zoltan On Sat, 23 Mar 2013, fegyi001 wrote: Dear Developers! I'm writing a new plugin in which I'd like to implement some ways to enable the user to open and save some

Re: [Qgis-developer] join table [SOLVED]

2013-01-03 Thread Siki Zoltan
of dataProvider.attributeIndexes() use layer.pendingFieldList() instead of dataProvider.fields() use layer.featureAtId(...) instead of dataProvider.featureAtId(...) The answer was found in qgisvectorfilewriter.cpp. Best regards On Tue, 1 Jan 2013, Siki Zoltan wrote: Dear QGIS DEvelopoers, I'm writing a python