Re: [Qgis-developer] Crashj on startup

2015-03-09 Thread Paolo Cavallini
Il 09/03/2015 12:13, Richard Duivenvoorde ha scritto:

 confirmed (with master too) and created an issue:
 
 http://hub.qgis.org/issues/12340

Thanks Richard.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Crashj on startup

2015-03-09 Thread Richard Duivenvoorde
On 09-03-15 11:40, Paolo Cavallini wrote:
 Hi all.
 If I start from an empty config dir, with --configpath, I get a a Python
 error and a crash. Subsequent startups from the same dir run smoothly.
 QGIS 2.8.1 on Debian Sid.
 Not an issue for me, but it might point to an underlying problem.

confirmed (with master too) and created an issue:

http://hub.qgis.org/issues/12340

Regards,

Richard Duivenvoorde

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Simple sample code for function editor

2015-03-09 Thread Larissa Junek
Hello all,
I'm writing a new chapter about the new function editor for the user
manual 2.8. I'm not confirmed with PYthon programmming.
See
http://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/field_calculator.html#function-editor-tab

Is there somebody who can give a short example of code for beginners?
I look for a code that shows the new possibilities of the function
editor in comparison to the Python console. On Nathan Woodrows blog
it is mentioned that it's a possibility to use full Python Code.

It would be great if the description includes an explanation of the
elements of the code.

Thanks!

Kind regards,
Larissa
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Multiple plugin maintainers

2015-03-09 Thread Alessandro Pasotti
It's the list of user from the user table.

To be there, a user must log in at least once using his/her osgeo credentials.

2015-03-09 13:15 GMT+01:00 Anita Graser anitagra...@gmx.at:


 On Mon, Mar 9, 2015 at 9:10 AM, Alessandro Pasotti apaso...@gmail.com
 wrote:

 Hi Anita
 ,


 you should have access to the control panel and you can add owners from
 there..

 But if you are the plugin maintainer you should also be able to add
 owners from the front-end through the EDIT form (click on EDIT
 button).


 Thanks! I can see the list with potential owner names now. How is this list
 populated? I have the developer's OSGEO account name but don't see it in the
 list.

 Best wishes,
 Anita





-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Loading large raster files (vrt) is slow

2015-03-09 Thread Ziegler Stefan
Hi

I have a VRT with approx. 8000 raster files (each 2000 x 2000 pixel). The very 
first loading into QGIS takes rather long (perhaps 1 minute) on a fast 
machine (SSD, 3.4 GHz). Saving the project file and reopening again is fast. In 
debug mode I saw that some statistics/histogram is calculated the first time. 

But the main problem is when trying to access the layer properties. Even with a 
calculated histogram opening the layer properties dialog takes 1 minute again.

Did I miss some magic settings/options? Or does QGIS really needs to calculate 
some statistics on the first load and on opening the layer properties dialog 
every time?

I'm on master and Ubuntu 14.04 64 bit. Create raster icon is NOT checked :-)

Best regards
Stefan


Freundliche Grüsse 
Stefan Ziegler 
Kantonsgeometer 

Amt für Geoinformation
Amtliche Vermessung 
Rötistrasse 4 
4500 Solothurn 

Telefon +41 32 627 75 96
Telefax +41 32 627 75 98 
stefan.zieg...@bd.so.ch
http://www.so.ch 


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Multiple plugin maintainers

2015-03-09 Thread Anita Graser
Ok thanks Alessandro,
Will try to get that work.

On Mon, Mar 9, 2015 at 1:17 PM, Alessandro Pasotti apaso...@gmail.com
wrote:

 It's the list of user from the user table.

 To be there, a user must log in at least once using his/her osgeo
 credentials.

 2015-03-09 13:15 GMT+01:00 Anita Graser anitagra...@gmx.at:
 
 
  On Mon, Mar 9, 2015 at 9:10 AM, Alessandro Pasotti apaso...@gmail.com
  wrote:
 
  Hi Anita
  ,
 
 
  you should have access to the control panel and you can add owners from
  there..
 
  But if you are the plugin maintainer you should also be able to add
  owners from the front-end through the EDIT form (click on EDIT
  button).
 
 
  Thanks! I can see the list with potential owner names now. How is this
 list
  populated? I have the developer's OSGEO account name but don't see it in
 the
  list.
 
  Best wishes,
  Anita
 
 



 --
 Alessandro Pasotti
 w3:   www.itopen.it

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] crash dumped error

2015-03-09 Thread francescobocca...@libero.it




Hi all,
i'm trying to develop a plugin that change an attribute of the feature added 
using a custom interface.
i'm able to set the value of the attribute according to the value selected  
from my interface using:

self.layer.changeAttributeValue(self.feat_id,index,self.code)

but when i try to rollback or cancel my current editing i receive the below 
error message:


minidump written to 
C:\Users\..\AppData\Local\Temp\qgis-20150309-123503-3376-8448-exported.dmp

I'm using Qgis 2.8
O.S: windows (it append also on Ubuntu but qgis crashed without no messages)

Anyone can help me? 

Thanks


Francesco




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] R: Re: crash dumped error

2015-03-09 Thread francescobocca...@libero.it
Hi Roberto,
i renamed or deleted the folder but if i modify a feature attribute and 
rollback it works. After i try to add a new feature but the same messagge come 
out and close Qgis.
Any suggestion?

Thanks

Francesco




Messaggio originale

Da: geodr...@gmail.com

Data: 09/03/2015 14.08

A: francescobocca...@libero.itfrancescobocca...@libero.it

Cc: qgis-developer@lists.osgeo.orgqgis-developer@lists.osgeo.org

Ogg: Re: [Qgis-developer] crash dumped error



Hi Francesco,


try to rename your.qgis2   folder (for example to .qgis2_ ).

It seems there is a problem with files saved with old versions of QGIS, inside 
that folder.


Regards

Roberto



2015-03-09 13:00 GMT+01:00 francescobocca...@libero.it 
francescobocca...@libero.it:




Hi all,
i'm trying to develop a plugin that change an attribute of the feature added 
using a custom interface.
i'm able to set the value of the attribute according to the value selected  
from my interface using:

self.layer.changeAttributeValue(self.feat_id,index,self.code)

but when i try to rollback or cancel my current editing i receive the below 
error message:


minidump written to 
C:\Users\..\AppData\Local\Temp\qgis-20150309-123503-3376-8448-exported.dmp

I'm using Qgis 2.8
O.S: windows (it append also on Ubuntu but qgis crashed without no messages)

Anyone can help me? 

Thanks


Francesco





___

Qgis-developer mailing list

Qgis-developer@lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/qgis-developer






___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Multiple plugin maintainers

2015-03-09 Thread Anita Graser
On Mon, Mar 9, 2015 at 9:10 AM, Alessandro Pasotti apaso...@gmail.com
wrote:

 Hi Anita
 ​,​


 you should have access to the control panel and you can add owners from
 there..

 But if you are the plugin maintainer you should also be able to add
 owners from the front-end through the EDIT form (click on EDIT
 button).


​Thanks! I can see the list with potential owner names now. How is this
list populated? I have the developer's OSGEO account name but don't see it
in the list.

Best wishes,
Anita
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] QGIS pointer size in identify mode

2015-03-09 Thread Alessandro Pasotti
Hi,

I'm currently using an hidpi screen (about 280 dpi) and the GUI scales
quite well, I just have some problem with tiny cursor pointer when
identifying a vector layer.

Does anybody know if is there any setting for the cursor size or if it
isn't scalable at all.

I feel that with the incresing DPI of the upcoming monitors we have to
make sure that all the parts of the GUI scale well.

-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Simple sample code for function editor

2015-03-09 Thread Barry Rowlingson
On Mon, Mar 9, 2015 at 2:19 PM, Larissa Junek ju...@gbd-consult.de wrote:
 Hello all,
 I'm writing a new chapter about the new function editor for the user
 manual 2.8. I'm not confirmed with PYthon programmming.
 See
 http://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/field_calculator.html#function-editor-tab

 Is there somebody who can give a short example of code for beginners?
 I look for a code that shows the new possibilities of the function
 editor in comparison to the Python console. On Nathan Woodrows blog
 it is mentioned that it's a possibility to use full Python Code.

 It would be great if the description includes an explanation of the
 elements of the code.

Someone recently asked on gis.stackexchange.com how to put the Project
Title into a field in a Map Composer text label. So I wrote an answer:

http://gis.stackexchange.com/questions/137933/how-to-insert-qgis-project-properties-project-title-as-field-or-token-using-an

 That's a fairly minimal example, it just uses one QGIS Python API
call to get the project title. I don't think you can get it into a
label in any other way.

 I'm sure someone can improve it to get rid of the dummy argument. I
should read the documentation...

Barry



 Thanks!

 Kind regards,
 Larissa
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Where are EPSG stored?

2015-03-09 Thread Andre Joost

Am 09.03.2015 um 11:37 schrieb Paolo Cavallini:

Hi all.
I'm opening an old project, which takes a long time; from the console I
get several:

ERROR 6: EPSG PCS/GCS code 102091 not found in EPSG support files.  Is
this a valid EPSG coordinate system?

Howevere, I canot see that code in the project, and I started from a
clean config (--configpath pointing to an empty dir).
All layers appear in EPSG:3003.
So, where does the code come from?


Do the datasources have .qpj files with EPSG codes?

102091 is an ESRI definition (which is now in QGIS 2.8.1, but has no 
+towgs84 parameters), while 3003 is the same in EPSG notation with the 
correct datum shift.


HTH,
André Joost

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Simple sample code for function editor

2015-03-09 Thread Andrew McClure
You may want to include reference to the unregister method when cleaning up.

// For all your user defined functions
 if QgsExpression.isFunctionName($name):
  QgsExpression.unregisterFunction($name)

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Where are EPSG stored?

2015-03-09 Thread Paolo Cavallini
Hi all.
I'm opening an old project, which takes a long time; from the console I
get several:

ERROR 6: EPSG PCS/GCS code 102091 not found in EPSG support files.  Is
this a valid EPSG coordinate system?

Howevere, I canot see that code in the project, and I started from a
clean config (--configpath pointing to an empty dir).
All layers appear in EPSG:3003.
So, where does the code come from?

All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Crashj on startup

2015-03-09 Thread Paolo Cavallini
Hi all.
If I start from an empty config dir, with --configpath, I get a a Python
error and a crash. Subsequent startups from the same dir run smoothly.
QGIS 2.8.1 on Debian Sid.
Not an issue for me, but it might point to an underlying problem.
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Multiple plugin maintainers

2015-03-09 Thread Anita Graser
Thanks Alessandro. Can I add another owner through the website? I couldn't
find that option while checking through the plugin settings.
Best wishes
Anita
On Mar 9, 2015 8:26 AM, Alessandro Pasotti apaso...@gmail.com wrote:

 Hello Anita,

 have a look to owners:


 http://docs.qgis.org/2.2/en/docs/pyqgis_developer_cookbook/releasing.html#permissions



 2015-03-08 22:43 GMT+01:00 Anita Graser anitagra...@gmx.at:
  Hi,
 
  Is it possible to have multiple maintainers for a plugin on
  plugins.qgis.org? I'd like to add a second developer to give her the
  possibility to release without having to wait for me to make time for new
  versions.
 
  Best wishes,
  Anita
 
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer



 --
 Alessandro Pasotti
 w3:   www.itopen.it

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Opening a new print composer takes a long time

2015-03-09 Thread Paolo Cavallini
Il 07/03/2015 09:49, Roy ha scritto:
 Hi Paolo,
 
 i tested on windows  and ubuntu (both QGIS 2.8.1 64bit)
 and it opens as fast as usual so i can not confirm,
 ... maybe you activated some option/feature that i did not

I started afrsh with --configpath, so this should not be the case.
Am I the only one to have this issue?
Thanks.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Multiple plugin maintainers

2015-03-09 Thread Alessandro Pasotti
Hi Anita,


you should have access to the control panel and you can add owners from there..

But if you are the plugin maintainer you should also be able to add
owners from the front-end through the EDIT form (click on EDIT
button).




2015-03-09 9:04 GMT+01:00 Anita Graser anitagra...@gmx.at:
 Thanks Alessandro. Can I add another owner through the website? I couldn't
 find that option while checking through the plugin settings.
 Best wishes
 Anita

 On Mar 9, 2015 8:26 AM, Alessandro Pasotti apaso...@gmail.com wrote:

 Hello Anita,

 have a look to owners:


 http://docs.qgis.org/2.2/en/docs/pyqgis_developer_cookbook/releasing.html#permissions



 2015-03-08 22:43 GMT+01:00 Anita Graser anitagra...@gmx.at:
  Hi,
 
  Is it possible to have multiple maintainers for a plugin on
  plugins.qgis.org? I'd like to add a second developer to give her the
  possibility to release without having to wait for me to make time for
  new
  versions.
 
  Best wishes,
  Anita
 
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer



 --
 Alessandro Pasotti
 w3:   www.itopen.it



-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS and GRASS 7.0.0

2015-03-09 Thread Paolo Cavallini
Il 09/03/2015 00:38, Pedro Venâncio ha scritto:

 It looks really really great!

Awesome, chapeau!
Looking forward to see the crowdfunding.
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Multiple plugin maintainers

2015-03-09 Thread Alessandro Pasotti
Hello Anita,

have a look to owners:

http://docs.qgis.org/2.2/en/docs/pyqgis_developer_cookbook/releasing.html#permissions



2015-03-08 22:43 GMT+01:00 Anita Graser anitagra...@gmx.at:
 Hi,

 Is it possible to have multiple maintainers for a plugin on
 plugins.qgis.org? I'd like to add a second developer to give her the
 possibility to release without having to wait for me to make time for new
 versions.

 Best wishes,
 Anita

 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Opening a new print composer takes a long time

2015-03-09 Thread Nyall Dawson
On 9 March 2015 at 20:03, Paolo Cavallini cavall...@faunalia.it wrote:
 Il 07/03/2015 09:49, Roy ha scritto:
 Hi Paolo,

 i tested on windows  and ubuntu (both QGIS 2.8.1 64bit)
 and it opens as fast as usual so i can not confirm,
 ... maybe you activated some option/feature that i did not

 I started afrsh with --configpath, so this should not be the case.
 Am I the only one to have this issue?

I haven't seen any other reports like this. Can you provide some more
details? Is this only on a certain project? Do you see it with a new,
blank project?

Nyall
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Issue #5606 - defining column data types

2015-03-09 Thread Caroline Alexiou
Hello,
My name is Karolina and would like to work on issue
http://hub.qgis.org/issues/5606
We deal with long numbers at work that are in fact 64 bits, and the default
behaviour casts them to floats when working with csvs, losing some
precision. I am motivated to add an option to force the data type of fields
when loading a layer as delimited text, but I am not sure how I can claim
the issue on hub.qgis.org.

Thanks
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Issue #5606 - defining column data types

2015-03-09 Thread Richard Duivenvoorde
On 09-03-15 10:39, Caroline Alexiou wrote:
 Hello,
 My name is Karolina and would like to work on
 issue http://hub.qgis.org/issues/5606
 We deal with long numbers at work that are in fact 64 bits, and the
 default behaviour casts them to floats when working with csvs, losing
 some precision. I am motivated to add an option to force the data type
 of fields when loading a layer as delimited text, but I am not sure how
 I can claim the issue on hub.qgis.org http://hub.qgis.org.

Hi Karolina,

for what I know, you first have to create a OSGEO account, to be able to
login in at various QGIS sites:

http://www2.qgis.org/en/site/getinvolved/development/index.html#bugs-features-and-issues

with that login you should be able to login at hub.qgis.org, edit the
issue, and then your name should be available in the dropdown (I think).

if not, please report back

Regards,

Richard Duivenvoorde
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Issue #5606 - defining column data types

2015-03-09 Thread Matthias Kuhn
Hi Karolina,

Do you already have an osgeo account?
If no, you need one.
When logged in, you can click Update at the bottom of the issue page
and there's an option Assigned To.
If this does not appear for you (not sure, may be due to permissions),
just drop a message here and somebody can do it for you. Or write an
answer on the issue, that is probably enough already.

Thank you very much for tackling this anyway. If you have further
questions, don't hesitate to ask.

All the best
Matthias

On 03/09/2015 10:39 AM, Caroline Alexiou wrote:
 Hello,
 My name is Karolina and would like to work on
 issue http://hub.qgis.org/issues/5606
 We deal with long numbers at work that are in fact 64 bits, and the
 default behaviour casts them to floats when working with csvs, losing
 some precision. I am motivated to add an option to force the data type
 of fields when loading a layer as delimited text, but I am not sure
 how I can claim the issue on hub.qgis.org http://hub.qgis.org.

 Thanks


 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer