[Qgis-developer] QGIS on android ALPHA3

2012-01-18 Thread Marco Bernasocchi
Hi all, last night i pushed a new "stablish" version of QGIS for android. I've closed some tickets [0] and thanks to an improvement in master (thx Jef), now the fontsize problem could be fixed as well (I tested it on an asus transformer and it looks great). I fixed some widgets as well which are

[Qgis-developer] Transparency from some attribute values, alternative representations

2012-01-18 Thread Mathieu Rajerison
Hi, Do you think this representation where transparency is retrieved from an attribute value is efficient and interesting? http://www.axismaps.com/blog/2008/11/a-new-kind-of-election-map/ There is also this one: http://dsparks.wordpress.com/2011/10/24/isarithmic-maps-of-public-opinion-data/ I j

[Qgis-developer] non contiguous cartograms

2012-01-18 Thread Mathieu Rajerison
Hi, I thought I could resize polygons according to some attribute values but couldn't, via the style > advanced > proportion field. Is the implementation of such a functionnality planned? Don't you think it would be great to represent statistic values this way? Here is an example map: http://i

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Luca Delucchi
2012/1/17 Alessandro Pasotti : > Hi, > > after the latest discussions on this list and on the tracker the > plugin situations has never been so confused. > Yes, from my point of view I can confirm this >From point of a plugin dev could be very useful an how to. I just terminate the creation of ne

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Paolo Cavallini
Il 18/01/2012 12:25, Luca Delucchi ha scritto: That's all of my knowledge, I hope these are all the steps to do for the new qgis infrastructure Hi all. Thanks Luca. Could we write down an howto and put it on http://plugins.qgis.org/ ? All the best. -- Paolo Cavallini - Faunalia www.faunalia.eu

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Paolo Cavallini
Il 17/01/2012 10:34, Martin Dobias ha scritto: plugins.qgis.org should be the canonical list of plugins. The plugins on hub.qgis.org do not have to be in 1:1 relation. I would not waste time trying to keep them in sync. I added a link from http://hub.qgis.org/projects/qgis-user-plugins to htt

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Paolo Cavallini
Il 18/01/2012 13:13, Paolo Cavallini ha scritto: I added a link from http://hub.qgis.org/projects/qgis-user-plugins to http://plugins.qgis.org/ - should be enough. Further suggestions welcome. Why not adding a link from http://qgis.org/ to http://plugins.qgis.org/ ? Also, in http://plugins.qgi

Re: [Qgis-developer] Problem with Postgis 2.0 Views and picking (info-tool)

2012-01-18 Thread Andreas Neumann
Hi Strk, Thanks for the notice about the possible parallel installations. I heard about it but wasn't sure if it really works or creates problems. Thanks for confirming that parallel installations of different Postgis versions should work fine. Andreas On 01/18/2012 12:20 AM, Sandro Santilli wr

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Martin Dobias
On Wed, Jan 18, 2012 at 12:25 PM, Luca Delucchi wrote: > > I try to summarize what I did until now for my plugin, could be useful > for other developers: > - on http://plugins.qgis.org the developer has to create a new plugin > repository (http://plugins.qgis.org/plugins/add/) Correct, except for

Re: [Qgis-developer] non contiguous cartograms

2012-01-18 Thread Anita Graser
Hi Mathieu, Me personally, I don't find non-contiguous cartograms especially useful or easy to interpret. You can create the contiguous kind using cartogram plugin. Another approach I've played with recently, is to use a simple regular grid and "fill" the cells according to an attribute value. An

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Nathan Woodrow
QGIS plugin stash! - Nathan On Wed, Jan 18, 2012 at 10:41 PM, Martin Dobias wrote: > > Correct, except for that you do not create a new *plugin repository*, > you just create a *plugin* in the repository. > > I guess the source of confusion is that we refer to a *repository* in > two different c

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Alessandro Pasotti
2012/1/18 Paolo Cavallini : > Il 18/01/2012 13:13, Paolo Cavallini ha scritto: > > >> I added a link from http://hub.qgis.org/projects/qgis-user-plugins to >> http://plugins.qgis.org/ - should be enough. >> Further suggestions welcome. Whoever needs write access to the welcome page (and any other

Re: [Qgis-developer] QGIS on android ALPHA3

2012-01-18 Thread Tim Sutton
Hi On Wed, Jan 18, 2012 at 11:09 AM, Marco Bernasocchi wrote: > Hi all, last night i pushed a new "stablish" version of QGIS for android. > I've closed some tickets [0] and thanks to an improvement in master (thx > Jef), now the fontsize problem could be fixed as well (I tested it on an > asus tr

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Paolo Cavallini
Il 18/01/2012 12:25, Luca Delucchi ha scritto: I try to summarize what I did until now for my plugin, could be useful for other developers: Notes added to http://plugins.qgis.org/ - please check and improve it if necessary. All the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full con

[Qgis-developer] plugin projects and subprojects

2012-01-18 Thread Paolo Cavallini
Hi all. One plugin: http://hub.qgis.org/projects/atlas is listed as a project, whereas it should be a subproject of User plugins. How can this be changed? And: can we avoid this for the future? All the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc _

Re: [Qgis-developer] plugin projects and subprojects

2012-01-18 Thread Paolo Cavallini
Il 18/01/2012 15:10, Paolo Cavallini ha scritto: http://hub.qgis.org/projects/atlas is listed as a project, whereas it should be a subproject of User plugins. How can this be changed? done, removing: http://hub.qgis.org/projects/atlas from the home page And: can we avoid this for the future?

[Qgis-developer] rm EPSG:900913?

2012-01-18 Thread Paolo Cavallini
Hi all. Can we remove the obsolete 900913 code, and replace it with 3857, both in core and in the plugins? See below for details. All the best, and thanks to Luca Casagrande and Markus Neteler for pointing this out. = http://trac.osgeo.org/openlayers/wiki/SphericalMercator "SphericalMercator

Re: [Qgis-developer] plugin projects and subprojects

2012-01-18 Thread Anne Ghisla
On Wed, 18 Jan 2012 15:14:33 +0100 Paolo Cavallini wrote: > Il 18/01/2012 15:10, Paolo Cavallini ha scritto: > > > http://hub.qgis.org/projects/atlas > > is listed as a project, whereas it should be a subproject of User > > plugins. How can this be changed? > > done, removing: > http://hub.qgis

Re: [Qgis-developer] QGIS on android ALPHA3

2012-01-18 Thread Marco Bernasocchi
*blush* do I get? #ifdef android include mbernasocchi to about->devs #endif :) On 01/18/2012 02:41 PM, Tim Sutton wrote: Hi On Wed, Jan 18, 2012 at 11:09 AM, Marco Bernasocchi wrote: Hi all, last night i pushed a new "stablish" version of QGIS for android. I've closed some tickets [0

Re: [Qgis-developer] Expression builder in field calculator

2012-01-18 Thread Nathan Woodrow
OK pushed the changes to master. Enjoy! - Nathan ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Expression builder in field calculator

2012-01-18 Thread Paolo Cavallini
Il 18/01/2012 16:09, Nathan Woodrow ha scritto: > OK pushed the changes to master. Enjoy! now compiling... thanks a lot! -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc ___ Qgis-developer mailing list Qgis-devel

Re: [Qgis-developer] rm EPSG:900913?

2012-01-18 Thread Luca Delucchi
2012/1/18 Paolo Cavallini : > Hi all. > Can we remove the obsolete 900913 code, and replace it with 3857, both in > core and in > the plugins? In the future release I'll try to remove 900913 code from OGR2Layers plugin -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org ___

Re: [Qgis-developer] rm EPSG:900913?

2012-01-18 Thread Tim Sutton
Hi On Wed, Jan 18, 2012 at 4:36 PM, Paolo Cavallini wrote: > Hi all. > Can we remove the obsolete 900913 code, and replace it with 3857, both in > core and in > the plugins? > See below for details. > All the best, and thanks to Luca Casagrande and Markus Neteler for pointing > this out. >

[Qgis-developer] Re: cannot call QgsVectorDataProvider.changeGeometryValues() from python

2012-01-18 Thread 3nids
Hi all, I suspect there is a bug for the changeGeometryValues() as it should get a dict, similarly to the changeAttributeValues. Btw, when I used changeAttributeValues({ id: {pos : attr} }), if attr was not a QVariant, QGIS crashed (process ended) without giving any error feedback. I have prett

Re: [Qgis-developer] non contiguous cartograms

2012-01-18 Thread Giovanni Manghi
Hi, > Don't you think it would be great to represent statistic values this > way? > > Here is an example map: > http://indiemaps.com/blog/2008/12/noncontiguous-area-cartograms/ seems a nice idea for a plugin, please consider supporting its development if you need it. cheers -- Giovanni -- _

Re: [Qgis-developer] rm EPSG:900913?

2012-01-18 Thread Mayeul Kauffmann
Hi, Hi would vote to keep it for a while, but I dislike it (it's not an official epsg code, and even the name is incorrect "Google Mercator" is not a Mercator projection). As a compromise, could we add "(deprecated)" or even "(deprecated, cf. 3857)" ? It would also be hidden when you check "hide de

[Qgis-developer] About Korean CRS

2012-01-18 Thread Sanghee Shin
Dear all, South Korea made major CRS changes in 2010 and those new CRS were registered to official EPSG code in June, 2010. Those codes are EPSG:5173 ~ 5188. You can see those CRS information at http://www.epsg-registry.org/ by filtering Korea. However we, Korean QGIS users who are mainly usin

[Qgis-developer] Re: cannot call QgsVectorDataProvider.changeGeometryValues() from python

2012-01-18 Thread Bob English
Hi, See https://github.com/EcoGIS/CAPS-Scenario-Builder to download lots of well commented python code. See http://qgis.org/pyqgis-cookbook/index.html This code works for me. I'm using the 1.71API and my app is a desktop app rather than a plugin. feat = QgsFeature() roundPointGeom = None while

Re: [Qgis-developer] Problem with Postgis 2.0 Views and picking (info-tool)

2012-01-18 Thread Andreas Neumann
Meanwhile I tested with the same data on Postgis 1.5.3. Everything works fine with Postgis 1.5.3 So apparently there are issues with Postgis 2.0. I followed Denis' advice and deliberately set the SRID of the_geom in my view to "-1" with SetSRID(the_geom,-1), voila, it works! To me this sounds lik

[Qgis-developer] Re: cannot call QgsVectorDataProvider.changeGeometryValues() from python

2012-01-18 Thread 3nids
Hi, Thanks for your answer, but this is exactly what I am doing (see https://github.com/3nids/Triangulation/blob/master/place_arc.py @ line 184, commented) I am using the development version, and as the postgis provider has apparently recoded, I suspect there is something wrong. If you look at t

[Qgis-developer] Any way to change default colors for vector features?

2012-01-18 Thread Bob English
Hi All, As mentioned in this forum before, I'm developing a PyQGIS desktop app. I'm using API 1.71 and the V2 renderer. see(https://github.com/EcoGIS/CAPS-Scenario-Builder) For a couple of reasons, my client doesn't like some of the colors that QGIS uses by default when loading vector layers. I

Re: [Qgis-developer] Problem with Postgis 2.0 Views and picking (info-tool)

2012-01-18 Thread Sandro Santilli
On Wed, Jan 18, 2012 at 07:34:13PM +0100, Andreas Neumann wrote: > Meanwhile I tested with the same data on Postgis 1.5.3. Everything works > fine with Postgis 1.5.3 > > So apparently there are issues with Postgis 2.0. I followed Denis' > advice and deliberately set the SRID of the_geom in my view

[Qgis-developer] Log messages window start button

2012-01-18 Thread Maxim Dubinin
Hi all, Great work on log messages stuff in trunk. But, are we sure that we want bright exclamation mark always visible in main QGIS window confusing users (did something happen?) and eating up precious space. Moreover this great tool is not really related to everyday work with QGIS

Re: [Qgis-developer] Problem with Postgis 2.0 Views and picking (info-tool)

2012-01-18 Thread Andreas Neumann
Hi, I turned on logging on the Postgres-Server and here is what I got: -- LOG: duration: 0.058 ms statement: BEGIN READ ONLY LOG: duration: 1.164 ms statement: DECLARE qgisf1 BINARY CURSOR FOR SELECT st_asbinary(st_force_2d("the_geom"),'NDR'),"gid","tid"::text,"plz"::t

Re: [Qgis-developer] Problem with Postgis 2.0 Views and picking (info-tool)

2012-01-18 Thread Sandro Santilli
On Wed, Jan 18, 2012 at 08:37:36PM +0100, Andreas Neumann wrote: > so the error is easy to detect: st_makeenvelope() uses an SRID of 0 when > it should use 21781 which I specified when loading the view. > > I hope this problem will be relatively easy to fix? Sounds so. --strk; () Free GIS

Re: [Qgis-developer] Problem with Postgis 2.0 Views and picking (info-tool)

2012-01-18 Thread Sandro Santilli
On Wed, Jan 18, 2012 at 09:11:35PM +0100, Sandro Santilli wrote: > On Wed, Jan 18, 2012 at 08:37:36PM +0100, Andreas Neumann wrote: > > > so the error is easy to detect: st_makeenvelope() uses an SRID of 0 when > > it should use 21781 which I specified when loading the view. > > > > I hope this p

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Luca Delucchi
2012/1/18 Paolo Cavallini : > Il 18/01/2012 13:13, Paolo Cavallini ha scritto: > > >> I added a link from http://hub.qgis.org/projects/qgis-user-plugins to >> http://plugins.qgis.org/ - should be enough. >> Further suggestions welcome. > > > Why not adding a link from http://qgis.org/ to http://plu

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Luca Delucchi
2012/1/18 Paolo Cavallini : > > Notes added to http://plugins.qgis.org/ - please check and improve it if > necessary. > perfect!! thanks > All the best. > -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org ___ Qgis-developer mailing list

Re: [Qgis-developer] Re: addFeatures without knowing new feature's id, bug?

2012-01-18 Thread Jürgen E . Fischer
Hi Denis, On Tue, 17. Jan 2012 at 22:28:21 -0800, 3nids wrote: > Btw, is there a way of knowing the ID of a written feature? 6a8a9d44 should add this - the feature ids of the features passed into addFeatures are updated. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-49

Re: [Qgis-user] Re: [Qgis-developer] QGIS on android ALPHA3

2012-01-18 Thread Richard Duivenvoorde
Hi Marco, just tested installation on Samsung Galaxy Tab 10.1, getting really cool! Had a little hickup during first installation try, but second try revealed a really good looking QGIS on Android!! Font and gui are really looking good now (only dialogs still have big fonts, and tht tickboxes

Re: [Qgis-developer] Re: addFeatures without knowing new feature's id, bug?

2012-01-18 Thread Denis Rouzaud
Hi Jürgen, Thanks for the fix. I tested it, and I have a small problem. It is working perfectly if I give an initial feature id. The id is effectively given backed using ok,feature = provider.addFeatures([f]) But, if I do not fill the ID field before insertion, ok is False, and of course no

[Qgis-developer] Re: addFeatures without knowing new feature's id, bug?

2012-01-18 Thread 3nids
PS: I realized I might have wrongly tested previous fix, and that it was not working. (I did not checked that the feature has been correctly written, only that there was no error message. As I had to know the id I did not go further. I am sorry about that.) -- View this message in context: http:/