[Qgis-developer] Re: GSoC ideas

2012-02-24 Thread haubourg
Hi,
+1 for Alister ideas too!
I just finished a topological reference dataset for hydrology, and both
functionnalities would be have been wonderful . I had to switch a lot 
between GRASS, FME  and  postgis to build some geometries by hand (copy
obecjt in qgis, paste wkt in pgadmin, finish work using postgis functions,
updating in postgis.. ). 

Visualising topology errors could be generic, as we have two models for
topology: grass and postgis 2.0.. Or shouldn't we just focus on postgis as
the reference topology model for qgis , and let GRASS visualisation as it is
in GRASS UI. Is topology in Postgis a OGC standard?  
IMHO we should keep sticking to standards.. 

Regis




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/GSoC-ideas-tp4491887p4501905.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Get composer item's size and position

2012-02-24 Thread Alexander Bruy
Hi Marco,

thanks for your help. Tried to get composer legend width using
rect().width() and always get 4.0 for different legends. In same
time seems that height is reported correctly. For tests I use
several layers with categorized legend and different number of
classes (from 2 to 40) and next code from Python console

r = qgis.utils.iface.mapCanvas().mapRenderer()
c = QgsComposition( r )
c.setPlotStyle( QgsComposition.Print )
l = QgsComposerLegend( c )
l.model().setLayerSet( r.layerSet() )
print l.rect().width(), l.rect.height()

Any ideas what's wrong?

2012/2/23 Marco Hugentobler marco.hugentob...@sourcepole.ch:
 Hi Alex

 The methods to get width and height are defined in the parent class
 QGraphicsRectItem. Just use QgsGraphicsItem::rect().width() and
 QGraphicsRectItem::height().
 To set width and height, you may use QgsComposerItem::setItemPosition()

 Regards,
 Marco

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


Re: [Qgis-developer] GSoC ideas

2012-02-24 Thread Marco Bernasocchi

Are there students around this year?
I'd love to but I'm not allowed any more...
ciao
Marco
On 02/24/2012 06:34 PM, Marco Hugentobler wrote:

I fully agree. Porting the analysis code of fTools to the analysis lib
would be a great gsoc project.

Regards,
Marco

On 24.02.2012 08:55, Nathan Woodrow wrote:

I'm a +1 to Alisters ideas. I think it would be good to have a full
suite of tools for manipulating vector objects and layers. These tools
should be ports of fTools to C++ and live in the analysis lib so that
they can be used in C++, Python and UI (Carson and I have talked about
this before).

I think this project would be good as it is tightly scoped and would
be easy to mange in chunks. Merging would also be easy, even merging
as the project moves along as each tool is independent.

Would should be careful not to start a GSoC project that is too large,
has wide scope, vague goals, or is to hard to mange in a summer.

- Nathan


On Fri, Feb 24, 2012 at 10:15 AM, Alister Hood
alister.h...@synergine.com mailto:alister.h...@synergine.com wrote:

Something that has been mentioned by a few people, and would
probably be very popular, I described like this:

Vector editing/geoprocessing tools or whatever they are called,
like the ones found in the Mapinfo 'Object' menu - i.e. similar to
ftools, but taking sets of selected features as inputs, instead of
whole layers.

http://woostuff.wordpress.com/2011/05/17/the-things-i-would-like-to-see-in-qgis-what-are-yours/
http://lists.osgeo.org/pipermail/qgis-user/2011-May/012041.html

Later in that second thread someone also mentioned the following;
I think other people have also made similar requests/suggestions:

I guess implementing topology rules and visualizing the existing
errors would be a way to identify and correct problems like
polygon overlapping. It might already exist some code.

This second idea would probably require more research and thinking
about exactly what to do.

I think both these ideas are complementary, and could perhaps be
done in a single project. But I guess they are also features that
might be able to attract other sponsors - you might think it is
better to use Google money to do something which is unlikely to
get sponsorship otherwise.

Regards,
Alister


Somebody started working on a plugin similar to this (early last
year I think), but it didn't get very far.

 Date: Thu, 23 Feb 2012 15:31:02 +0100
 From: jr.morre...@enoreth.net mailto:jr.morre...@enoreth.net
 Subject: Re: [Qgis-developer] GSoC ideas
 To: qgis-developer@lists.osgeo.org
mailto:qgis-developer@lists.osgeo.org
 Message-ID: ee204f37fdb370744d28a4c105369...@enoreth.net
mailto:ee204f37fdb370744d28a4c105369...@enoreth.net
 Content-Type: text/plain; charset=UTF-8; format=flowed

 On Tue, 21 Feb 2012 17:03:15 +0200, Alexander Bruy wrote:
  Hi all,
 
  Google Summer of Code 2012 is announced few weeks ago and as
far as
  I know OSGeo will participate. Hope QGIS will participate too. I
  started
  wiki page for collecting ideas [0]
 
  Maybe we should announce also to the user list asking for
ideas too
 
  [0]
http://hub.qgis.org/wiki/quantum-gis/Google_Summer_of_Code_2012

 Hi,

 how about these projects :

 1. Update and merge the multithread branch

 2. QGIS, Valgrind  Co

 Both would get the student to put its hand in all the dark
corners of
 QGIS and both would produce a positive and visible impact.

 Regards,
 Jean-Roc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto: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



--
Dr. Marco Hugentobler
Sourcepole -  Linux  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentob...@sourcepole.ch  http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee



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



--
Marco Bernasocchi
www.opengis.ch
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] failed tests

2012-02-24 Thread Paolo Cavallini

Hi all.
Some of the tests fail during build, see below.
All the best.
===
Test project /home/paolo/build/qgis/Quantum-GIS/debian/build
  Start  1: qgis_applicationtest
 1/17 Test  #1: qgis_applicationtest .   Passed3.81 sec
  Start  2: qgis_expressiontest
 2/17 Test  #2: qgis_expressiontest ..   Passed0.75 sec
  Start  3: qgis_filewritertest
 3/17 Test  #3: qgis_filewritertest ..   Passed1.58 sec
  Start  4: qgis_regression992
 4/17 Test  #4: qgis_regression992 ...***Failed3.95 sec
  Start  5: qgis_regression1141
 5/17 Test  #5: qgis_regression1141 ..   Passed2.21 sec
  Start  6: qgis_rasterlayertest
 6/17 Test  #6: qgis_rasterlayertest .***Failed2.52 sec
  Start  7: qgis_contrastenhancementtest
 7/17 Test  #7: qgis_contrastenhancementtest .   Passed0.64 sec
  Start  8: qgis_maplayertest
 8/17 Test  #8: qgis_maplayertest    Passed1.69 sec
  Start  9: qgis_rendererstest
 9/17 Test  #9: qgis_rendererstest ...***Failed2.90 sec
  Start 10: qgis_maprenderertest
...
  Start 12: qgis_coordinatereferencesystemtest
12/17 Test #12: qgis_coordinatereferencesystemtest ...***Failed1.94 sec

--
Paolo Cavallini
See: http://www.faunalia.it/pc

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