[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] 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:

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Luca Delucchi
2012/1/17 Alessandro Pasotti apaso...@gmail.com: 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

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 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

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

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Martin Dobias
On Wed, Jan 18, 2012 at 12:25 PM, Luca Delucchi lucadel...@gmail.com 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/)

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 wonder...@gmail.com 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

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Alessandro Pasotti
2012/1/18 Paolo Cavallini cavall...@faunalia.it: 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

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 ma...@bernawebdesign.ch 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

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

[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

[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 cavall...@faunalia.it 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:

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 ma...@bernawebdesign.ch wrote: Hi all, last night i pushed a new stablish version of QGIS for android. I've

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

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

2012-01-18 Thread Luca Delucchi
2012/1/18 Paolo Cavallini cavall...@faunalia.it: 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/

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

2012-01-18 Thread Tim Sutton
Hi On Wed, Jan 18, 2012 at 4:36 PM, Paolo Cavallini cavall...@faunalia.it 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

[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

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

[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

[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

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 like

[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

[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.

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 to

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

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 problem

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Luca Delucchi
2012/1/18 Paolo Cavallini cavall...@faunalia.it: 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

Re: [Qgis-developer] Complicate the plugin situation

2012-01-18 Thread Luca Delucchi
2012/1/18 Paolo Cavallini cavall...@faunalia.it: 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 ___

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.

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

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: