Re: [Qgis-developer] Approximate reprojection for vectors

2011-10-05 Thread Marco Hugentobler
Hi Martin >In any case we should look into the performance in a more coordinated way: >1. choose a dataset for testing - ideally just 1-3 layers of real data >with lots of features (e.g. 1+) for each feature type - points, >polylines, polygons. Any ideas for a free dataset? >2. write a benchma

[Qgis-developer] Custom raster transparency in Python?

2011-10-05 Thread Bob and Deb
Hello list, Is there a way set the transparancy based on certain raster values? I know that it can be done by setting the rasters Custom transparency options, but I would like to do it in Python. Thanks in advance! Bob ___ Qgis-developer mailing list

Re: [Qgis-developer] Approximate reprojection for vectors

2011-10-05 Thread Giovanni Manghi
Hi, On Wed, 2011-10-05 at 13:57 +0300, Alexander Bruy wrote: > Hi, > > 2011/10/4 Martin Dobias : > > In any case we should look into the performance in a more coordinated way: > > 1. choose a dataset for testing - ideally just 1-3 layers of real data > > with lots of features (e.g. 1+) for ea

Re: [Qgis-developer] How should work the placement "over" on adv-label

2011-10-05 Thread aperi2007
> Hi Andrea > > I assume you are using old labeling system (Labels tab in layer > properties) - this one does not handle collisions at all. Try new > labeling instead (menu Layer> Labeling -or- look for the icon in > toolbar) and use "horizontal" or "free" placement - it should do what > you need

Re: [Qgis-developer] accessing project properties

2011-10-05 Thread Martin Dobias
On Tue, Oct 4, 2011 at 11:43 AM, wrote: > Hi all, > > I got stuck... From within a Python plugin I want to know the current > project's selection color. I guess I need the corresponding QgsPropertyKeys' > values. > Any hints? Hi Bernhard you want want to use something like this: prj = QgsProje

Re: [Qgis-developer] How should work the placement "over" on adv-label

2011-10-05 Thread Martin Dobias
On Mon, Oct 3, 2011 at 5:38 PM, Andrea Peri wrote: > Hi, > > I have a situation of polygon like this: > >   - >   | A  | >   |    | >   |   | >   |  |  B |    | >   |  |    |    | >   |  |    |    | >   |  |    |    | >   |  |   

Re: [Qgis-developer] More compilation errors

2011-10-05 Thread Jürgen E . Fischer
Hi Paolo, On Wed, 05. Oct 2011 at 13:14:47 +0200, Paolo Cavallini wrote: > On Wed, 5 Oct 2011 12:16:47 +0200, Luca Delucchi > I mean: anyone confirms it's not working on *squeeze*? I know it works on > testing and unstable. The latest nightly build[1] worked on squeeze. Jürgen [1] http://qgi

Re: [Qgis-developer] More compilation errors

2011-10-05 Thread Paolo Cavallini
On Wed, 5 Oct 2011 12:16:47 +0200, Luca Delucchi wrote: > no for me it's working, I just compile qgis on ubuntu 10.04 and I have > not problem I mean: anyone confirms it's not working on *squeeze*? I know it works on testing and unstable. Thanks a lot. -- http://faunalia.it/pc _

[Qgis-developer] Duplicate tickets

2011-10-05 Thread Paolo Cavallini
Hi all. Everybody is welcomed and encouraged to help us improving qgis, also by opening tickets. Please however check carefully that the issue you report is really new, and not a duplicate. Failing to do so creates unnecessary noise, and makes life of developers and ticket maintainers more difficul

Re: [Qgis-developer] Approximate reprojection for vectors

2011-10-05 Thread Alexander Bruy
Hi, 2011/10/4 Martin Dobias : > In any case we should look into the performance in a more coordinated way: > 1. choose a dataset for testing - ideally just 1-3 layers of real data > with lots of features (e.g. 1+) for each feature type - points, > polylines, polygons. Any ideas for a free data

Re: [Qgis-developer] load shapefile by code

2011-10-05 Thread Tim Sutton
Hi On Wed, Oct 5, 2011 at 9:52 AM, Mohammed Rashad wrote: > How to use QGIS to load a shapefile? > I need some lines of code > http://blog.qgis.org/node/10 should work still. Or look in the source under src/core/testqgsvectorlayer.cpp Regards Tim > -- > Regards, >    Mohammed Rashad K M >  

Re: [Qgis-developer] More compilation errors

2011-10-05 Thread Luca Delucchi
2011/10/5 Paolo Cavallini : > Still on squeeze, current trunk: > > CMakeFiles/qgis.dir/gps/qwtpolar-0.1/moc_qwt_polar_panner.cxx.o:(.rodata._ZTI14QwtPolarPanner[typeinfo > for QwtPolarPanner]+0x8): undefined reference to `typeinfo for > QwtPanner' > collect2: ld returned 1 exit status > make[3]: **

[Qgis-developer] More compilation errors

2011-10-05 Thread Paolo Cavallini
Still on squeeze, current trunk: CMakeFiles/qgis.dir/gps/qwtpolar-0.1/moc_qwt_polar_panner.cxx.o:(.rodata._ZTI14QwtPolarPanner[typeinfo for QwtPolarPanner]+0x8): undefined reference to `typeinfo for QwtPanner' collect2: ld returned 1 exit status make[3]: *** [output/bin/qgis] Error 1 make[3]: Leav

[Qgis-developer] Packaging debs for Squeeze

2011-10-05 Thread Paolo Cavallini
Hi all. After a long time, I'm trying to package qgis for Debian Squeeze, for a course. We're getting errors: dpkg-checkbuilddeps: warning: can't parse dependency libobasis34-en_us-math dpkg-checkbuilddeps: warning: can't parse dependency libobasis34-en_us-base dpkg-checkbuilddeps: warning: can't

Re: [Qgis-developer] New plugins web application

2011-10-05 Thread Borys Jurgiel
Dnia wtorek, 4 października 2011 o 23:31:52 Tim Sutton napisał(a): > Hi Alessandro > > On Tue, Oct 4, 2011 at 3:31 PM, Werner Macho wrote: > > Hi Alessandro, > > > > As a not very good programmer I am probably not that helpful but if I > > can help in any way just tell me what to do and I will s

AW: [Qgis-developer] Approximate reprojection for vectors

2011-10-05 Thread Möri Cedric
Hi Martin > In any case we should look into the performance in a more coordinated way: > 1. choose a dataset for testing - ideally just 1-3 layers of real data > with lots of features (e.g. 1+) for each feature type - points, > polylines, polygons. Any ideas for a free dataset? > Martin Feel

[Qgis-developer] load shapefile by code

2011-10-05 Thread Mohammed Rashad
How to use QGIS to load a shapefile? I need some lines of code -- Regards, Mohammed Rashad K M M.S. (By Research) student Lab for Spatial Informatics Department of CSE International Institute of Information Technology Hyderabad, India