Hi all
I'm tring to upload and share my first plugin at [1] but encountered an
error I don't really understand. It says:
*There were errors reading plugin package (please check also your plugin's
metadata). Cannot find __init__.py or metadata.txt in the compressed
package: this does not seems a
metadata.txt
xxx.py
...
help
...
Try to download a plugin from plugins.qgis.org and check the structure of
the zip file.
I hope this helps you.
Regards,
Zoltan
On Wed, 30 Jul 2014, Junior Delaz wrote:
Hi all
I'm tring to upload and share my first plugin
Hello,
For the first question, I think you have done something like
logFeaturesAdded(Idofmylayer, features) instead of doing
self.logFeaturesAdded(Idofmylayer, features).The function you created has
three args : self, layerId, addfeatures. When using it you should give him
three args. The second
Hi all,
I try to understand the use case of empty tables in print composer and am
still confused.
Create a new print composer and add an attribute table item
set its height enough to show more rows than the maximal values of features
you set.
Add a second frame to this item.
Is this second frame
:20 pm, Junior Delaz del...@gmail.com wrote:
Hi all,
I try to understand the use case of empty tables in print composer and
am still confused.
Create a new print composer and add an attribute table item
set its height enough to show more rows than the maximal values of
features you set
when there is no row
(on real empty tables).
2014-10-09 13:28 GMT+02:00 Nyall Dawson nyall.daw...@gmail.com:
On 9 October 2014 08:53, Junior Delaz del...@gmail.com wrote:
Thanks Nyall. This is what I suspected.
Then, none of the empty tables options should work on the frames in the
example
Hello,
I use OsGeo4W to install both QGIS stable and master releases.
Due to the bug of QGIS 2.6.0-1 that crashes QGIS and ruins some older
project file, I decided to not yet upgrade to 2.6 (and keep 2.4) but still
update nightly builds.
The first time I got 2.7, I choose to keep 2.4. After the
Hi All
Lene,
The height of the expression frame should indeed have a minimum value, to
avoid closing it. But this is not a new behaviour. In QGIS 2.4, you could
already close totally this frame if you drag down enough. I think it's a
bug and you can fill a ticket unless it's an intended
.
...a bit tricky but it should work.
Regards
2015-01-15 14:25 GMT+01:00 Junior Delaz del...@gmail.com:
Thanks Enrico for your reply and for the plugin.
I was aware of RefFunctions and has already used it for relational
questions. And I agree with Jean that such functions (and others
Hi all,
I have two shapefiles : a line one (called section) and a point one
(called station) shapefiles.
The line shapefiles has fields like ID_section, ID_first, ID_last
The point file has an ID_station.
All these define a kind of network where a section begins on a station and
ends up at
source and target features will be returned
Number of feature tested is limited to 10 to avoid time wasting loops
Example
geomnearest('targetLayer','TargetField')
geomnearest('targetLayer','$geometry')
geomnearest('targetLayer','$distance')
2015-01-15 11:19 GMT+01:00 Junior Delaz del
Some users [1] have already encountered this issue and i understood that it
may be related to non correspondance between the number of rows in the .dbf
file and number of geometry (some rows had no geometry). A simple Save
As.. to another shapefile has solved the problem.
[1]
hi,
If your field is recognized by QGIS as a string one, trying to overwrite
its values type will fail as they are intended to be string in THIS field.
This is why when you create a new numeric field and make conversion, it's
ok (this new field expect numeric values, so it'll recognize your
Hi,
Raymond, you can use the row_number function to add a primary key to your
view.
Something like :
CREATE OR REPLACE view myview as
SELECT row_number () over ()::integer as id, fieldA, Field ...
from mytable .
will add an unique integer field _id_ to your view. And this one can be
used in
Hi,
I'm working on a Python plugin for QGIS and need your help to do something.
I'm a beginner in Python and C++ and just used plugin-builder for the
architecture.
My main dialog is a non modal one and does list print composers in the
project. It means that while it's opened, user can delete or
-developer@lists.osgeo.org qgis-developer@lists.osgeo.org
Objet : [Qgis-developer] [Qgis-user] Pyqt4 : which signal is sent when
dialog comes to foreground?
Date : mar., mars 31, 2015 07:56
On Mon, Mar 30, 2015 at 6:12 PM, Junior Delaz del...@gmail.com
del...@gmail.com wrote:
I've read
Ok thank you for the feedbaxk
Envoyé depuis mon HTC
- Reply message -
De : Matthias Kuhn matth...@opengis.ch
Pour : Junior Delaz del...@gmail.com
Cc : qgis-developer qgis-developer@lists.osgeo.org
Objet : [Qgis-developer] Re : [Qgis-user] Pyqt4 : which signal is sent when
dialog comes
that with this connection style you will receive the signal
after deletion and are able to continue using your current update method.
Best
Matthias
On 03/31/2015 02:04 PM, Junior Delaz wrote:
Matthias,
Thanks. I just give it a try it and all goes well with composerAdded.
But not really well
12:33 AM, Junior Delaz wrote:
Hi,
I do understand nothing.
After I read your message, Matthias, I told myself that using QT.
QueuedConnection should be the easiest way. Then i wrote
self.iface.composerWillBeRemoved.connect(self.refreshList,
Qt.QueuedConnection)
But each time i delete
seems unstable.
Matthias
On 04/06/2015 12:33 AM, Junior Delaz wrote:
Hi,
I do understand nothing.
After I read your message, Matthias, I told myself that using QT.
QueuedConnection should be the easiest way. Then i wrote
self.iface.composerWillBeRemoved.connect(self.refreshList
...
On 04/07/2015 11:51 PM, Junior Delaz wrote:
But why does composerRemoved not work? You can find it in the code on
github repo but not on QGIS API website...
2015-04-07 23:35 GMT+02:00 Matthias Kuhn matth...@opengis.ch:
Oops,
That should have been composerWillBeRemoved
Sorry
21 matches
Mail list logo