Re: [Qgis-developer] [Qgis-user] Installing QGIS Server on RedHat EL 6.5

2014-03-21 Thread Olivier Dalang
Hah !! That did the trick 

Thanks a lot !!

Olivier



2014-03-22 0:39 GMT+01:00 Matthias Kuhn :

> Hmmm... This looks more like a problem with connecting to the repo than
> a package problem.
> Maybe the following helps?
>
> yum clean all
> yum update qgis
>
> if not, are you able to communicate with the server:
>
> ping fedora.vitu.ch
>
>
> On 22.03.2014 00:34, Olivier Dalang wrote:
> > Hi,
> >
> > I just tried, but still the same :
> > "Error Downloading Packages:
> >   qgis-2.0.1-1.el6.x86_64: failure: qgis-2.0.1-1.el6.x86_64.rpm from
> > qgis: [Errno 256] No more mirrors to try."
> >
> > :(
> >
> >
> >
> >
> > 2014-03-22 0:00 GMT+01:00 Matthias Kuhn  > >:
> >
> > 2.2 is not that easy because it requires qt>=4.7 and rhel comes with
> > qt-4.6.2.
> > So without reverting some commits or compiling new qt packages (which
> > likely have additional dependencies) this won't be an option.
> > Instead there are now new packages (qgis-2.0.1-2) available which are
> > based on the latest release-2_0 patches (f802808)
> >
> > I tested here in a docker container and was able to install (didn't
> do
> > any more tests actually):
> >
> > docker pull centos
> > docker run -i -t centos /bin/bash
> > 
> > rpm -Uvh
> >
> http://mirror.karneval.cz/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
> > rpm -Uvh
> http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm
> > wget fedora.vitu.ch/EL/qgis.repo
> >  -P /etc/yum.repos.d/
> > rpm --import http://fedora.vitu.ch/Fedora/RPM-GPG-Key-vitu
> > yum update
> > yum install qgis
> >
> > Hope this helps
> > Matthias
> >
> > On Fre 21 Mär 2014 18:19:38 CET, Olivier Dalang wrote:
> > > Great !! Many thanks :)
> > >
> > > Do you have an estimate of when you could be done ? (hours / days /
> > > weeks ?)
> > >
> >
> >
>
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Add Attributes, Features and Geometries to QgsVectorFileWriter

2014-03-21 Thread Josua Stähli
Hello
My goal is to write some features and geometries to a JSON file. I searched for 
examples however in QGIS 2 (I am using 2.2) something seems to have changed so 
it does not work. Here is a very simple example of what I want to do:

fields = 
QgsFields()fields.append(QgsField("name"))fields.append(QgsField("description"))writer
 = QgsVectorFileWriter("/path/to/file.geojson", "utf-8", fields, QGis.WKBPoint, 
None, "GeoJSON")feature = 
QgsFeature(fields)feature.setGeometry(QgsGeometry.fromPoint(QgsPoint(1, 
2)))feature.setAttributes(["name", "xyz"])writer.addFeature(newFeature)del 
writer

The result is a JSON file with the following content:

{"type": "FeatureCollection",   
 "features": [{ "type": "Feature", "properties": { 
}, "geometry": null }]}

So the feature is added but attributes and geometry are ignored. Do you have 
any idea what I am doing wrong? I also tried to create a memory layer:

layer = QgsVectorLayer("Point", "temp", "memory")provider = 
layer.dataProvider()layer.startEditing()provider.addAttributes([QgsField("name"),
 QgsField("description")])feature = 
QgsFeature(fields)feature.setGeometry(QgsGeometry.fromPoint(QgsPoint(1, 
2)))feature.setAttributes(["namex", 
"xyz"])provider.addFeatures([feature])layer.updateFields()QgsVectorFileWriter.writeAsVectorFormat(layer,
 "/path/to/file.geojson", "utf-8", None, "GeoJSON")

The result looks a little bit better:

{"type": "FeatureCollection","crs": { "type": "name", "properties": { "name": 
"urn:ogc:def:crs:EPSG::21781" } },  
  "features": [{ "type": "Feature", 
"properties": { }, "geometry": { "type": "Point", "coordinates": [ 1.0, 2.0 ] } 
}]}

But the attributes are still missing. Does anybody know how this is done 
correctly? Thank you very much!
Josua ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] [Qgis-user] Installing QGIS Server on RedHat EL 6.5

2014-03-21 Thread Matthias Kuhn
Hmmm... This looks more like a problem with connecting to the repo than
a package problem.
Maybe the following helps?

yum clean all
yum update qgis

if not, are you able to communicate with the server:

ping fedora.vitu.ch


On 22.03.2014 00:34, Olivier Dalang wrote:
> Hi,
>
> I just tried, but still the same :
> "Error Downloading Packages:
>   qgis-2.0.1-1.el6.x86_64: failure: qgis-2.0.1-1.el6.x86_64.rpm from
> qgis: [Errno 256] No more mirrors to try."
>
> :(
>
>
>
>
> 2014-03-22 0:00 GMT+01:00 Matthias Kuhn  >:
>
> 2.2 is not that easy because it requires qt>=4.7 and rhel comes with
> qt-4.6.2.
> So without reverting some commits or compiling new qt packages (which
> likely have additional dependencies) this won't be an option.
> Instead there are now new packages (qgis-2.0.1-2) available which are
> based on the latest release-2_0 patches (f802808)
>
> I tested here in a docker container and was able to install (didn't do
> any more tests actually):
>
> docker pull centos
> docker run -i -t centos /bin/bash
> 
> rpm -Uvh
> 
> http://mirror.karneval.cz/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
> rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm
> wget fedora.vitu.ch/EL/qgis.repo
>  -P /etc/yum.repos.d/
> rpm --import http://fedora.vitu.ch/Fedora/RPM-GPG-Key-vitu
> yum update
> yum install qgis
>
> Hope this helps
> Matthias
>
> On Fre 21 Mär 2014 18:19:38 CET, Olivier Dalang wrote:
> > Great !! Many thanks :)
> >
> > Do you have an estimate of when you could be done ? (hours / days /
> > weeks ?)
> >
>
>

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

Re: [Qgis-developer] [Qgis-user] Installing QGIS Server on RedHat EL 6.5

2014-03-21 Thread Olivier Dalang
Hi,

I just tried, but still the same :
"Error Downloading Packages:
  qgis-2.0.1-1.el6.x86_64: failure: qgis-2.0.1-1.el6.x86_64.rpm from qgis:
[Errno 256] No more mirrors to try."

:(




2014-03-22 0:00 GMT+01:00 Matthias Kuhn :

> 2.2 is not that easy because it requires qt>=4.7 and rhel comes with
> qt-4.6.2.
> So without reverting some commits or compiling new qt packages (which
> likely have additional dependencies) this won't be an option.
> Instead there are now new packages (qgis-2.0.1-2) available which are
> based on the latest release-2_0 patches (f802808)
>
> I tested here in a docker container and was able to install (didn't do
> any more tests actually):
>
> docker pull centos
> docker run -i -t centos /bin/bash
> 
> rpm -Uvh
>
> http://mirror.karneval.cz/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
> rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm
> wget fedora.vitu.ch/EL/qgis.repo -P /etc/yum.repos.d/
> rpm --import http://fedora.vitu.ch/Fedora/RPM-GPG-Key-vitu
> yum update
> yum install qgis
>
> Hope this helps
> Matthias
>
> On Fre 21 Mär 2014 18:19:38 CET, Olivier Dalang wrote:
> > Great !! Many thanks :)
> >
> > Do you have an estimate of when you could be done ? (hours / days /
> > weeks ?)
> >
>
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] [Qgis-user] Installing QGIS Server on RedHat EL 6.5

2014-03-21 Thread Matthias Kuhn
2.2 is not that easy because it requires qt>=4.7 and rhel comes with 
qt-4.6.2.
So without reverting some commits or compiling new qt packages (which 
likely have additional dependencies) this won't be an option.
Instead there are now new packages (qgis-2.0.1-2) available which are 
based on the latest release-2_0 patches (f802808)

I tested here in a docker container and was able to install (didn't do 
any more tests actually):

docker pull centos
docker run -i -t centos /bin/bash

rpm -Uvh 
http://mirror.karneval.cz/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm
wget fedora.vitu.ch/EL/qgis.repo -P /etc/yum.repos.d/
rpm --import http://fedora.vitu.ch/Fedora/RPM-GPG-Key-vitu
yum update
yum install qgis

Hope this helps
Matthias

On Fre 21 Mär 2014 18:19:38 CET, Olivier Dalang wrote:
> Great !! Many thanks :)
>
> Do you have an estimate of when you could be done ? (hours / days /
> weeks ?)
>

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

Re: [Qgis-developer] [Qgis-user] Installing QGIS Server on RedHat EL 6.5

2014-03-21 Thread Olivier Dalang
Great !! Many thanks :)

Do you have an estimate of when you could be done ? (hours / days / weeks ?)





2014-03-21 18:04 GMT+01:00 Matthias Kuhn :

> I have created the packages on the repository in use.
> I am currently trying to rebuild (Updating to 2.2 at the same time) but
> right now running into some troubles...
>
> I'll let you know when I succeed.
>
> Best
> Matthias
>
>
> On Fre 21 Mär 2014 18:01:06 CET, Alex Mandel wrote:
> > e...@lists.osgeo.org
> >
> > That's who maintains it. At this point though you might need to compile
> > it yourself.
> >
> > Thanks,
> > Alex
> >
> > On 03/21/2014 04:08 AM, Olivier Dalang wrote:
> >> Hi,
> >>
> >> I'm moving this discussion to the developers list.
> >>
> >> It seems the repo for QGIS on RHEL is broken. Is there any chance to
> see it
> >> fixed soon ? Do you know who's maintaining it ?
> >>
> >> Thanks !
> >>
> >> Olivier
> >>
> >>
> >>
> >> 2014-03-20 2:38 GMT+01:00 Olivier Dalang :
> >>
> >>> Great that helped !
> >>>
> >>> With those two commands :
> >>>
> >>> rpm -Uvh
> >>>
> http://mirror.centos.org/centos/6/os/x86_64/Packages/qwt-5.1.1-4.1.el6.x86_64.rpm
> >>> yum install qwt
> >>>
> >>>
> >>> The package resolving went further... but only to give another error :
> >>>
> >>> Error Downloading Packages:
> >>>   qgis-2.0.1-1.el6.x86_64: failure: qgis-2.0.1-1.el6.x86_64.rpm from
> qgis:
> >>> [Errno 256] No more mirrors to try.
> >>>
> >>> I saw your second reply afterwards, but I don't seem to find how to
> >>> activate the optional channel.
> >>> Following [1], I tried
> >>>
> >>> rhn-channel --add --channel=rhel-x86_64-server-optional-6
> >>>
> >>>
> >>> But I get prompted for an user name/password...
> >>>
> >>> One more hint ?
> >>>
> >>>
> >>>  [1]
> >>>
> https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/1/html/Client_Tools_Installation_Guide/Installing_Using_the_Red_Hat_Enterprise_Linux_Optional_Channel.html
> >>>
> >>>
> >>>
> >>> 2014-03-20 2:20 GMT+01:00 Alex Mandel :
> >>>
> >>> On 03/19/2014 06:00 PM, Olivier Dalang wrote:
> > Dear List,
> >
> > I'm trying to install QGIS server on Red Hat Enterprise Linux Server
> > release 6.5 (Santiago) by following the instructions provided on
>  QGIS.org.
> > Unfortunately, it doesn't work so far.
> >
> > Here's what I did :
> >
> > 1. Add the ELGIS repository (as said here
> > http://qgis.org/en/site/forusers/alldownloads.html#qgis-1-8 ).
> >
> > sudo rpm -Uvh
>  http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm
> >
> >
> >
> > 2. Run these (as said here
> > http://qgis.org/en/site/forusers/alldownloads.html#id6 , only I
> removed
> > qgis-grass which I don't need )
> >
> > sudo wget fedora.vitu.ch/EL/qgis.repo -P /etc/yum.repos.d/
> > sudo rpm --import http://fedora.vitu.ch/Fedora/RPM-GPG-Key-vitu
> > sudo yum update
> > sudo yum install qgis qgis-python qgis-mapserver
> >
> >
> >
> > But I get two errors and the installation does not complete :
> >
> > Error: Package: qwtpolar-0.1.0-5.el6.x86_64 (epel)
> >Requires: libqwt.so.5()(64bit)
> > Error: Package: qgis-2.0.1-1.el6.x86_64 (qgis)
> >Requires: libqwt.so.5()(64bit)
> >
> >
> >
> > Being no linux guru, I'm a bit lost about what to do... Any help
> would
>  be
> > much appreciated !
> >
> > Thanks,
> >
> > Olivier
> >
> 
>  My guess:
>  sudo yum install qwt
> 
>  Might need to find a repo for it, I don't know what the best place to
>  get it is, here's some info:
> 
> http://pkgs.org/centos-6/centos-x86_64/qwt-5.1.1-4.1.el6.x86_64.rpm.html
>  That package supplies the libqwt.so.5 library
> 
>  Enjoy,
>  Alex
> 
> 
> >>>
> >>
> >>
> >>
> >> ___
> >> 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
>
>
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] [Qgis-user] Installing QGIS Server on RedHat EL 6.5

2014-03-21 Thread Matthias Kuhn
I have created the packages on the repository in use.
I am currently trying to rebuild (Updating to 2.2 at the same time) but 
right now running into some troubles...

I'll let you know when I succeed.

Best
Matthias


On Fre 21 Mär 2014 18:01:06 CET, Alex Mandel wrote:
> e...@lists.osgeo.org
>
> That's who maintains it. At this point though you might need to compile
> it yourself.
>
> Thanks,
> Alex
>
> On 03/21/2014 04:08 AM, Olivier Dalang wrote:
>> Hi,
>>
>> I'm moving this discussion to the developers list.
>>
>> It seems the repo for QGIS on RHEL is broken. Is there any chance to see it
>> fixed soon ? Do you know who's maintaining it ?
>>
>> Thanks !
>>
>> Olivier
>>
>>
>>
>> 2014-03-20 2:38 GMT+01:00 Olivier Dalang :
>>
>>> Great that helped !
>>>
>>> With those two commands :
>>>
>>> rpm -Uvh
>>> http://mirror.centos.org/centos/6/os/x86_64/Packages/qwt-5.1.1-4.1.el6.x86_64.rpm
>>> yum install qwt
>>>
>>>
>>> The package resolving went further... but only to give another error :
>>>
>>> Error Downloading Packages:
>>>   qgis-2.0.1-1.el6.x86_64: failure: qgis-2.0.1-1.el6.x86_64.rpm from qgis:
>>> [Errno 256] No more mirrors to try.
>>>
>>> I saw your second reply afterwards, but I don't seem to find how to
>>> activate the optional channel.
>>> Following [1], I tried
>>>
>>> rhn-channel --add --channel=rhel-x86_64-server-optional-6
>>>
>>>
>>> But I get prompted for an user name/password...
>>>
>>> One more hint ?
>>>
>>>
>>>  [1]
>>> https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/1/html/Client_Tools_Installation_Guide/Installing_Using_the_Red_Hat_Enterprise_Linux_Optional_Channel.html
>>>
>>>
>>>
>>> 2014-03-20 2:20 GMT+01:00 Alex Mandel :
>>>
>>> On 03/19/2014 06:00 PM, Olivier Dalang wrote:
> Dear List,
>
> I'm trying to install QGIS server on Red Hat Enterprise Linux Server
> release 6.5 (Santiago) by following the instructions provided on
 QGIS.org.
> Unfortunately, it doesn't work so far.
>
> Here's what I did :
>
> 1. Add the ELGIS repository (as said here
> http://qgis.org/en/site/forusers/alldownloads.html#qgis-1-8 ).
>
> sudo rpm -Uvh
 http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm
>
>
>
> 2. Run these (as said here
> http://qgis.org/en/site/forusers/alldownloads.html#id6 , only I removed
> qgis-grass which I don't need )
>
> sudo wget fedora.vitu.ch/EL/qgis.repo -P /etc/yum.repos.d/
> sudo rpm --import http://fedora.vitu.ch/Fedora/RPM-GPG-Key-vitu
> sudo yum update
> sudo yum install qgis qgis-python qgis-mapserver
>
>
>
> But I get two errors and the installation does not complete :
>
> Error: Package: qwtpolar-0.1.0-5.el6.x86_64 (epel)
>Requires: libqwt.so.5()(64bit)
> Error: Package: qgis-2.0.1-1.el6.x86_64 (qgis)
>Requires: libqwt.so.5()(64bit)
>
>
>
> Being no linux guru, I'm a bit lost about what to do... Any help would
 be
> much appreciated !
>
> Thanks,
>
> Olivier
>

 My guess:
 sudo yum install qwt

 Might need to find a repo for it, I don't know what the best place to
 get it is, here's some info:
 http://pkgs.org/centos-6/centos-x86_64/qwt-5.1.1-4.1.el6.x86_64.rpm.html
 That package supplies the libqwt.so.5 library

 Enjoy,
 Alex


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


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

Re: [Qgis-developer] [Qgis-user] Installing QGIS Server on RedHat EL 6.5

2014-03-21 Thread Alex Mandel
e...@lists.osgeo.org

That's who maintains it. At this point though you might need to compile
it yourself.

Thanks,
Alex

On 03/21/2014 04:08 AM, Olivier Dalang wrote:
> Hi,
> 
> I'm moving this discussion to the developers list.
> 
> It seems the repo for QGIS on RHEL is broken. Is there any chance to see it
> fixed soon ? Do you know who's maintaining it ?
> 
> Thanks !
> 
> Olivier
> 
> 
> 
> 2014-03-20 2:38 GMT+01:00 Olivier Dalang :
> 
>> Great that helped !
>>
>> With those two commands :
>>
>> rpm -Uvh
>> http://mirror.centos.org/centos/6/os/x86_64/Packages/qwt-5.1.1-4.1.el6.x86_64.rpm
>> yum install qwt
>>
>>
>> The package resolving went further... but only to give another error :
>>
>> Error Downloading Packages:
>>   qgis-2.0.1-1.el6.x86_64: failure: qgis-2.0.1-1.el6.x86_64.rpm from qgis:
>> [Errno 256] No more mirrors to try.
>>
>> I saw your second reply afterwards, but I don't seem to find how to
>> activate the optional channel.
>> Following [1], I tried
>>
>> rhn-channel --add --channel=rhel-x86_64-server-optional-6
>>
>>
>> But I get prompted for an user name/password...
>>
>> One more hint ?
>>
>>
>>  [1]
>> https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/1/html/Client_Tools_Installation_Guide/Installing_Using_the_Red_Hat_Enterprise_Linux_Optional_Channel.html
>>
>>
>>
>> 2014-03-20 2:20 GMT+01:00 Alex Mandel :
>>
>> On 03/19/2014 06:00 PM, Olivier Dalang wrote:
 Dear List,

 I'm trying to install QGIS server on Red Hat Enterprise Linux Server
 release 6.5 (Santiago) by following the instructions provided on
>>> QGIS.org.
 Unfortunately, it doesn't work so far.

 Here's what I did :

 1. Add the ELGIS repository (as said here
 http://qgis.org/en/site/forusers/alldownloads.html#qgis-1-8 ).

 sudo rpm -Uvh
>>> http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm



 2. Run these (as said here
 http://qgis.org/en/site/forusers/alldownloads.html#id6 , only I removed
 qgis-grass which I don't need )

 sudo wget fedora.vitu.ch/EL/qgis.repo -P /etc/yum.repos.d/
 sudo rpm --import http://fedora.vitu.ch/Fedora/RPM-GPG-Key-vitu
 sudo yum update
 sudo yum install qgis qgis-python qgis-mapserver



 But I get two errors and the installation does not complete :

 Error: Package: qwtpolar-0.1.0-5.el6.x86_64 (epel)
Requires: libqwt.so.5()(64bit)
 Error: Package: qgis-2.0.1-1.el6.x86_64 (qgis)
Requires: libqwt.so.5()(64bit)



 Being no linux guru, I'm a bit lost about what to do... Any help would
>>> be
 much appreciated !

 Thanks,

 Olivier

>>>
>>> My guess:
>>> sudo yum install qwt
>>>
>>> Might need to find a repo for it, I don't know what the best place to
>>> get it is, here's some info:
>>> http://pkgs.org/centos-6/centos-x86_64/qwt-5.1.1-4.1.el6.x86_64.rpm.html
>>> That package supplies the libqwt.so.5 library
>>>
>>> Enjoy,
>>> Alex
>>>
>>>
>>
> 
> 
> 
> ___
> 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


[Qgis-developer] Label position colliding

2014-03-21 Thread AntonioLocandro
Hi devs,

Is there a way to prevent labels to collide features, see sample 
 
apparently the feature only works over the layer labelled. I would like the
labels to try alternate positions to not obscure lines. This can be done in
other COTS by using feature weight to assign importance

Also can we try to keep label withing BBOX of the print composer frame?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Label-position-colliding-tp5130393.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] Possible bug when turning edit mode off and on "too often"

2014-03-21 Thread Matthias Kuhn
Hi Zoltan,

Please have a look at the following likely related issue:
http://hub.qgis.org/issues/9229

Try to start QGIS with --noplugins and see if that helps. If yes, 
upgrade your plugins and if this doesn't help you can use the issue 
linked above to find the affected plugin and file a bug for it.

Regards,
Matthias

On Fre 21 Mär 2014 16:27:55 CET, Zoltan Szecsei wrote:
> Hi Devers,
> Using 2.2 on Win 7 64 - but this was also evident in 2.01 on the same
> platform.
>
> I'm dealing with a number of shapefiles (2 point layers, 9 line layers
> and 18 area shape file layers) - the total number of geometry elements
> is not high (probably less <1000),  but there are still a reasonable
> number of vertices in the mapset.
>
> I find that after toggling edit mode a few times (may even less than
> 10), the time to save the layer edits increases to "minutes", and so
> does the time taken to toggle edit mode.
>
> Last year November I was running around on a field trip with a laptop
> running QGIS 2.0.1 in the car all day, and occasionally it hung, so we
> rebooted and redid our most recent edits. I'll bet that that was the
> same issue as below.
>
> Last week, now using v2.2 on my desktop I found that the above slowing
> down scenario started, and I just left the PC supposedly with a
> "hanging " QGIS. I came back much later and QGIS was responsive again
> until I touched the toggle edit button, or saved my edits.
> I timed it and it took an hour and 5 minutes to be responsive again.
>
> The same thing is happening right now, but it is currently only going
> dizzy for about 3-4 minutes.
>
> I'm going to try restarting QGIS to see if that helps, if not then
> I'll re-boot and if it still does not help then that would suggest
> that the issue is with the data structure and not necessarily
> somewhere else.
>
> But for now, has anyone else had these "slowing down" issues?
>
> Regards & chat soon,
> Zoltan
>
>
>
>


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

[Qgis-developer] Possible bug when turning edit mode off and on "too often"

2014-03-21 Thread Zoltan Szecsei

Hi Devers,
Using 2.2 on Win 7 64 - but this was also evident in 2.01 on the same 
platform.


I'm dealing with a number of shapefiles (2 point layers, 9 line layers 
and 18 area shape file layers) - the total number of geometry elements 
is not high (probably less <1000),  but there are still a reasonable 
number of vertices in the mapset.


I find that after toggling edit mode a few times (may even less than 
10), the time to save the layer edits increases to "minutes", and so 
does the time taken to toggle edit mode.


Last year November I was running around on a field trip with a laptop 
running QGIS 2.0.1 in the car all day, and occasionally it hung, so we 
rebooted and redid our most recent edits. I'll bet that that was the 
same issue as below.


Last week, now using v2.2 on my desktop I found that the above slowing 
down scenario started, and I just left the PC supposedly with a "hanging 
" QGIS. I came back much later and QGIS was responsive again until I 
touched the toggle edit button, or saved my edits.

I timed it and it took an hour and 5 minutes to be responsive again.

The same thing is happening right now, but it is currently only going 
dizzy for about 3-4 minutes.


I'm going to try restarting QGIS to see if that helps, if not then I'll 
re-boot and if it still does not help then that would suggest that the 
issue is with the data structure and not necessarily somewhere else.


But for now, has anyone else had these "slowing down" issues?

Regards & chat soon,
Zoltan




--

===
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028
Fax:+27-86-6115323 www.geograph.co.za
===

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


Re: [Qgis-developer] New plugin QuickExport

2014-03-21 Thread kimaidou
Hi again,

I just released a new version wich correct hopefully all the bug related to
the Windows platform.

Changelog:
  Version 1.1
  * Debug QGIS 1.8 export when no feature is selected
  * Print - open the printer configuration dialog
  * Debug date formatting in Windows - bug #2
  * Use CSS internally to avoid webkit bugs
  * Handle file deletion exception on Windows - bug #1


2014-03-21 8:32 GMT+01:00 Rémi Bovard :

> Hi Michaël,
>
> Thanks for the plugin, I just tested it right now.
>
> I had some issues, so I reported it via GitHub [1]. Tell if you need more
> details about it.
>
> Best regards.
>
> Rémi
>
> [1] https://github.com/3liz/QgisQuickExportPlugin/issues
>
>
> 2014-03-20 18:54 GMT+01:00 kimaidou :
>
>> Hi all,
>>
>> 3liz has just released the first version of the plugin "Quick Export",
>> funded by the "Conseil Général des Pyrénées-Atlantiques" (France). It aims
>> to let the user export the active vector layer to CSV ( I must say TSV :
>> tab separated values), HTML, PDF and to the default printer, in one click.
>>
>> Any feedback and contributions welcome !
>> Version 1.0 is tagged as experimental, waiting for users feedbacks
>>
>> Full description here :
>> https://github.com/3liz/QgisQuickExportPlugin/blob/master/README.md
>>
>> Best wishes
>>
>> Michael
>>
>> ___
>> 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
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Setting symbol levels

2014-03-21 Thread Jorge Gil

  
  
Hi,

I'm developing a plug-in in which I would like to edit the symbol
levels for controlling rendering order of the vector layer
symbology.

With this code I can switch the symbol levels feature on and off,
and the GUI confirms it:
>>> renderer = qgis.utils.iface.activeLayer().rendererV2()

>>> renderer.setUsingSymbolLevels(True)
>>> renderer.usingSymbolLevels()
True
>>> renderer.setUsingSymbolLevels(False)
>>> renderer.usingSymbolLevels()
False

However, I haven't figured out how to set the value of the
individual levels... The QgsFeatureRendererV2 class doesn't seem to
have appropriate methods.

There's also this class:
QgsSymbolV2LevelItem (QgsSymbolV2 *symbol, int layer)
But I'm not sure if it relates to the above levels or to symbol
layers (something different).

Any help greatly appreciated.

Thanks,
Jorge

  

  
  
Jorge
Gil
  
Research Associate
  
Bartlett School of Graduate
  Studies
  


  

The Bartlett School of
  Graduate Studies
  
  
UCL
  Faculty of the Built Environment
  


  

  
jorge@ucl.ac.uk
  
+4420
  3108 9031 (Internal x89031)
  


  
Central
  House,
  
14
  Upper Woburn Place,
  
London
  WC1H 0NN

  

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

Re: [Qgis-developer] PyQGIS: how to set "Enable snapping on intersection" option?

2014-03-21 Thread Gino Pirelli
I solved adding the same peace of code of the C++ apply method

in my case the code is

project = QgsProject.instance()
layerSnappingList = [layer1Id, later2Id]
layerSnappingEnabledList = ["enabled", "enabled"]
layerSnappingToleranceUnitList = ["0", "0"]
layerSnapToList = ["to_vertex", "to_vertex"]
layerSnappingToleranceList = ["0.30", "0.30"]
project.writeEntry("Digitizing", "/IntersectionSnapping",
Qt.Checked)
project.writeEntry("Digitizing", "/LayerSnappingList",
layerSnappingList)
project.writeEntry("Digitizing", "/LayerSnappingEnabledList",
layerSnappingEnabledList)
project.writeEntry("Digitizing", "/LayerSnappingToleranceUnitList",
layerSnappingToleranceUnitList)
project.writeEntry("Digitizing", "/LayerSnapToList",
layerSnapToList)
project.writeEntry("Digitizing", "/LayerSnappingToleranceList",
layerSnappingToleranceList)



On 21 March 2014 10:39, Gino Pirelli  wrote:

> thanks Jacob
>
> seems it works setting all QgsProject parameters as in:
>
> void QgsSnappingDialog::apply()
>
>
> My doubt is that probably should be useful to add a default option on 
> snapping/digitinzing as "snap on intersection background" getting all layer 
> in background by default.
>
>
> I'll try to propose this new config option in Vienna next week... the main 
> reason to have a default behavior is that if you add a new layer I expect 
> snapping should work also with the new layer, but It doesn't work if no one 
> set list of snapping layer in the QgsProject (doing apply in SnappingOptions)
>
>
> thank you
>
>
>
> Luigi Pirelli (luigi.pire...@faunalia.it - lui...@gmail.com)
>
>
>
>
> On 21 March 2014 10:16, Jakob Lanstorp  wrote:
>
>> Looks like this setting is not exposed in the API of QgsSnapper or
>> QSettings:
>>
>>
>> http://qgis.org/api/2.2/classQgsSnapper.html#addd2b16ecac193e56f7bdedd6b78ac59
>> <
>> http://qgis.org/api/2.2/classQgsSnapper.html#addd2b16ecac193e56f7bdedd6b78ac59
>> >
>>
>> and
>>
>> from PyQt4.QtCore import QSettings
>> print QSettings().allKeys()
>>
>>
>>
>>
>> -
>> Jakob Lanstorp
>> --
>> View this message in context:
>> http://osgeo-org.1560.x6.nabble.com/PyQGIS-how-to-set-Enable-snapping-on-intersection-option-tp5130203p5130271.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
>>
>
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] master slow reading rasters?

2014-03-21 Thread Gino Pirelli
On 21 March 2014 12:42, Martin Dobias  wrote:

> Yes this is a side effect of MTR. I have removed the downloading
> progress from status bar, because the situation is more complex now -
> there could be more such requests at the same time and the existing
> mechanism wasn't flexible enough to reflect that. I am thinking about
> having some better progress reporting, maybe something to discuss at
> the hackfest.
>

I don't know the progress on refactoring LegendInterface by Hugo, but it
could be the place
where to show progress bar for each layer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] master slow reading rasters?

2014-03-21 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 21/03/2014 12:42, Martin Dobias ha scritto:

> What happens is that first the previously rendered image is shown
> zoomed in, then in next map update (by default 250ms) it shows the
> newly rendered map. If it takes longer to render the layer, it may
> happen that empty map is shown. I guess this can be solved by keeping
> the preview from previous rendering for each layer until there is
> sufficient amount of new data to show.

agreed, this would probably give a better user experience

> Yes this is a side effect of MTR. I have removed the downloading
> progress from status bar, because the situation is more complex now -
> there could be more such requests at the same time and the existing
> mechanism wasn't flexible enough to reflect that. I am thinking about
> having some better progress reporting, maybe something to discuss at
> the hackfest.

ok, ready. giving no feedback at all can be really bad, especially in case of 
slow
connection, or server issues.

all the best.
- -- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMsJuEACgkQ/NedwLUzIr4h6ACeP7yT9xvsHxynW5lRn+JJpRBL
vqcAniFlcl5aS4d16ufMCkDp7KYygr5d
=ch4E
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] master slow reading rasters?

2014-03-21 Thread Martin Dobias
Hi Paolo!

On Wed, Mar 19, 2014 at 6:03 PM, Paolo Cavallini  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Il 19/03/2014 17:54, Paolo Cavallini ha scritto:
>
>> One unpleasant effect is: when zooming in, it first loads a preview, then 
>> the image
>> disappears, then it shows at full resolution.

What happens is that first the previously rendered image is shown
zoomed in, then in next map update (by default 250ms) it shows the
newly rendered map. If it takes longer to render the layer, it may
happen that empty map is shown. I guess this can be solved by keeping
the preview from previous rendering for each layer until there is
sufficient amount of new data to show.


> another issue, probably also a side effect: WMS downloading progress is no 
> longer
> shown on the status bar; I personally miss it.

Yes this is a side effect of MTR. I have removed the downloading
progress from status bar, because the situation is more complex now -
there could be more such requests at the same time and the existing
mechanism wasn't flexible enough to reflect that. I am thinking about
having some better progress reporting, maybe something to discuss at
the hackfest.

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


Re: [Qgis-developer] [Qgis-user] Installing QGIS Server on RedHat EL 6.5

2014-03-21 Thread Olivier Dalang
Hi,

I'm moving this discussion to the developers list.

It seems the repo for QGIS on RHEL is broken. Is there any chance to see it
fixed soon ? Do you know who's maintaining it ?

Thanks !

Olivier



2014-03-20 2:38 GMT+01:00 Olivier Dalang :

> Great that helped !
>
> With those two commands :
>
> rpm -Uvh
> http://mirror.centos.org/centos/6/os/x86_64/Packages/qwt-5.1.1-4.1.el6.x86_64.rpm
> yum install qwt
>
>
> The package resolving went further... but only to give another error :
>
> Error Downloading Packages:
>   qgis-2.0.1-1.el6.x86_64: failure: qgis-2.0.1-1.el6.x86_64.rpm from qgis:
> [Errno 256] No more mirrors to try.
>
> I saw your second reply afterwards, but I don't seem to find how to
> activate the optional channel.
> Following [1], I tried
>
> rhn-channel --add --channel=rhel-x86_64-server-optional-6
>
>
> But I get prompted for an user name/password...
>
> One more hint ?
>
>
>  [1]
> https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/1/html/Client_Tools_Installation_Guide/Installing_Using_the_Red_Hat_Enterprise_Linux_Optional_Channel.html
>
>
>
> 2014-03-20 2:20 GMT+01:00 Alex Mandel :
>
> On 03/19/2014 06:00 PM, Olivier Dalang wrote:
>> > Dear List,
>> >
>> > I'm trying to install QGIS server on Red Hat Enterprise Linux Server
>> > release 6.5 (Santiago) by following the instructions provided on
>> QGIS.org.
>> > Unfortunately, it doesn't work so far.
>> >
>> > Here's what I did :
>> >
>> > 1. Add the ELGIS repository (as said here
>> > http://qgis.org/en/site/forusers/alldownloads.html#qgis-1-8 ).
>> >
>> > sudo rpm -Uvh
>> http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm
>> >
>> >
>> >
>> > 2. Run these (as said here
>> > http://qgis.org/en/site/forusers/alldownloads.html#id6 , only I removed
>> > qgis-grass which I don't need )
>> >
>> > sudo wget fedora.vitu.ch/EL/qgis.repo -P /etc/yum.repos.d/
>> > sudo rpm --import http://fedora.vitu.ch/Fedora/RPM-GPG-Key-vitu
>> > sudo yum update
>> > sudo yum install qgis qgis-python qgis-mapserver
>> >
>> >
>> >
>> > But I get two errors and the installation does not complete :
>> >
>> > Error: Package: qwtpolar-0.1.0-5.el6.x86_64 (epel)
>> >Requires: libqwt.so.5()(64bit)
>> > Error: Package: qgis-2.0.1-1.el6.x86_64 (qgis)
>> >Requires: libqwt.so.5()(64bit)
>> >
>> >
>> >
>> > Being no linux guru, I'm a bit lost about what to do... Any help would
>> be
>> > much appreciated !
>> >
>> > Thanks,
>> >
>> > Olivier
>> >
>>
>> My guess:
>> sudo yum install qwt
>>
>> Might need to find a repo for it, I don't know what the best place to
>> get it is, here's some info:
>> http://pkgs.org/centos-6/centos-x86_64/qwt-5.1.1-4.1.el6.x86_64.rpm.html
>> That package supplies the libqwt.so.5 library
>>
>> Enjoy,
>> Alex
>>
>>
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] iface missing 'removeToolBar'

2014-03-21 Thread Richard Duivenvoorde
On 21-03-14 09:33, Denis Rouzaud wrote:
> Hi,
> 
> You already asked ;)
> http://www.mail-archive.com/qgis-developer%40lists.osgeo.org/msg20206.html

duh, ah yes. That was it...

sorry for the noise

R

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


Re: [Qgis-developer] qgis server: png8 broken?

2014-03-21 Thread Ivan Mincik
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/21/2014 09:22 AM, Paolo Cavallini wrote:
> Il 21/03/2014 09:02, Marco Hugentobler ha scritto:
> 
>> No problem, I think reliability is more important for a server software
>> than a small performance improvement.
> 
> Wouldn't be appropriate to backport this also to 2.2 branch? All the best,
> and thanks.

Marco, please backport it to 2.2.

- -- 
Ivan Minčík
ivan.min...@gmail.com   GPG: 0x79529A1E  http://imincik.github.io/0x79529A1E.key
ivan.min...@gista.skGPG: 0xD714B02C  http://imincik.github.io/0xD714B02C.key
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTLA0lAAoJEPfdLsR5UpoegxwH/0SWTRd5nwv9EUnFEm5KFDXl
8ih39JC3eco3r7wMlyEUj/056LcAsF2yKlgfIiXoDW4YSx6OXEIpeq05EZeBncm6
YB15aLlcHOWk7tvOEM+v/rmzXIcb5n1jTgJ+iVkSstFxjq5OrMEYek2gV8Ma7MIo
Jw9iu2ocvTCDaFIaQKu4Ni56NONyAknAD9u5X0rDeVhVB9IPF3lBhxFKMfOMDhw/
6UlvJp1K0aNplFHtwXGI46JqtjwgnMK36do7DddjQgt4jOcChryOG5PJVe+mIWU7
mSEFzGqqD2lPl3HTdD8f2+ykGM3/xWGB4v0Z6BXVXuQYSZS80eUC+7vn3qbfC64=
=MH0v
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] PyQGIS: how to set "Enable snapping on intersection" option?

2014-03-21 Thread Gino Pirelli
thanks Jacob

seems it works setting all QgsProject parameters as in:

void QgsSnappingDialog::apply()


My doubt is that probably should be useful to add a default option on
snapping/digitinzing as "snap on intersection background" getting all
layer in background by default.


I'll try to propose this new config option in Vienna next week... the
main reason to have a default behavior is that if you add a new layer
I expect snapping should work also with the new layer, but It doesn't
work if no one set list of snapping layer in the QgsProject (doing
apply in SnappingOptions)


thank you


Luigi Pirelli (luigi.pire...@faunalia.it - lui...@gmail.com)




On 21 March 2014 10:16, Jakob Lanstorp  wrote:

> Looks like this setting is not exposed in the API of QgsSnapper or
> QSettings:
>
>
> http://qgis.org/api/2.2/classQgsSnapper.html#addd2b16ecac193e56f7bdedd6b78ac59
> <
> http://qgis.org/api/2.2/classQgsSnapper.html#addd2b16ecac193e56f7bdedd6b78ac59
> >
>
> and
>
> from PyQt4.QtCore import QSettings
> print QSettings().allKeys()
>
>
>
>
> -
> Jakob Lanstorp
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/PyQGIS-how-to-set-Enable-snapping-on-intersection-option-tp5130203p5130271.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
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] PyQGIS: how to set "Enable snapping on intersection" option?

2014-03-21 Thread Jakob Lanstorp
Looks like this setting is not exposed in the API of QgsSnapper or QSettings:

http://qgis.org/api/2.2/classQgsSnapper.html#addd2b16ecac193e56f7bdedd6b78ac59

  

and

from PyQt4.QtCore import QSettings
print QSettings().allKeys()




-
Jakob Lanstorp
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/PyQGIS-how-to-set-Enable-snapping-on-intersection-option-tp5130203p5130271.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] PyQGIS: how to set "Enable snapping on intersection" option?

2014-03-21 Thread Gino Pirelli
checking the code I can find that ticking "Enable snapping on intersection"
checkbox activate this callback

void QgsSnappingDialog::on_cbxEnableIntersectionSnappingCheckBox_stateChanged(
int state )

{

  QgsProject::instance()->writeEntry( "Digitizing",
"/IntersectionSnapping", state == Qt::Checked );

}


writing the option in the project...


there's is a reason why it is not set in QSettings


Luigi Pirelli (luigi.pire...@faunalia.it - lui...@gmail.com)



On 20 March 2014 20:46, Gino Pirelli  wrote:

> Hi,
>
> I'm looking how to programmatically set on or off the snapping option:
>
> "Enable snapping on intersection"
>
> I can't find how! It seems not set in QGIS2.conf
>
> without setting this option the QgsSnapper.snapToBackgroundLayers(...)
> method doesn't return snap points.
>
> thank you,
>
> Luigi Pirelli (luigi.pire...@faunalia.it - lui...@gmail.com)
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] QuickWKT and Zoom to Layer Extent

2014-03-21 Thread CABO
I have some issues with QuickWKT and Zoom to Layer Extent.

Example WKT: POLYGON ((518036.41 6264805.47,518056.41 6264805.47,518056.41 
6264825.47,518036.41 6264825.47,518036.41 6264805.47))

When I right click the layer and select Zoom to Layer Extent, it zooms very far 
out even though I can manually zoom in to the coordinates and see the rectangle.

This is using QGIS 2.2.0 - can anyone confirm this?

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

Re: [Qgis-developer] QGIS server: clickable area too small

2014-03-21 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 21/03/2014 09:55, rldhont ha scritto:
> I'm verifying the code source of GetFeatureInfo and my code is still there.
> With which client have you tested and found the problem ? WHich version ?

LizMap 2.9.1. Sample here:
http://lizmap.faunalia.eu/index.php/view/map/?repository=faunalia&project=faunalia_map_it_test
Merci.
- -- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMr/2AACgkQ/NedwLUzIr5NZACbBsKOTxq5lRmlLk1K+yVO4YAc
3XQAoK+K4iHKuLZn+38kF71ebMjEFzIF
=BXy+
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS server: clickable area too small

2014-03-21 Thread rldhont

Hi Paolo,

I'm verifying the code source of GetFeatureInfo and my code is still there.
With which client have you tested and found the problem ? WHich version ?

Regards,
René-Luc D'Hont
3Liz

Le 21/03/2014 08:09, Paolo Cavallini a écrit :


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.
The area in which an user can click around a point to trigger a popup is very 
small,
and it is quite difficult to hit it. René-Luc from 3Liz had somewhat fixed this
months ago, but now the issue it seems to be back.
In any case, I think the area should be substantially larger, possibly 
configurable
(or it could take the setting from the Search radius option).
Opinions?
All the best.
- -- 
Paolo Cavallini - www.faunalia.eu

Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMr5Y0ACgkQ/NedwLUzIr7BAQCfQJnSJsZUKWDA4Ws6Jw11ZToM
D8UAn10esmeXXV3cfZAso0IHbLINpSZ9
=xW7Z
-END PGP SIGNATURE-
___
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] Updating qgis2threejs

2014-03-21 Thread Enzo Cocca
Hi,
I find very interesting your project and I would like to contribute.

I would have two ideas:

1 - the possibility to load files. Obj and / or. Ply

2 - to integrate a system like the plug-in html image map written by
Richard Duivenvoorde in order to create a mini webgis

In this way we could have a 2D map queryable together a 3D map displayed

Do you think it might be a good idea?

ciao

enzo



2014-03-21 3:52 GMT+01:00 Minoru Akagi :

> Hi Anita and all,
>
> 2014-03-16 16:58 GMT+09:00 Anita Graser :
> > Does the data-defined size feature for vector features work for you?
> > I tried to create spheres with data-defined radius but they were always
> > gigantic - no matter which factor I tried to use as a multiplier.
>
> It works for me. Unit of the value (attribute value * multiplier)
> should be that of project CRS. If the problem becomes clearer, please
> report issue to GitHub repository of the plugin.
>
> Thanks for your suggestions.
>
> Minoru
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Enzo Cocca (PhD Candidate)
Research Fellow
Università di Napoli "L'Orientale"
mail: enzo@gmail.com
cell: +393495087014
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] iface missing 'removeToolBar'

2014-03-21 Thread Denis Rouzaud

Hi,

You already asked ;)
http://www.mail-archive.com/qgis-developer%40lists.osgeo.org/msg20206.html

Cheers,

Denis

On 21. 03. 14 09:26, Richard Duivenvoorde wrote:

Hi Devs,

pythin iface has a slot 'addToolBar' to add a toolbar to the gui.

but it seems that there is no way to remove it? At least I cannot find a
'removeToolBar' slot on:

http://qgis.org/api/classQgisInterface.html

(and my plugin is throwing an exception when I try to remove the toolbar
in my unload of my plugin, using the 'reload plugin')

am I missing something?

worth an issue?

Regards,

Richard Duivenvoorde
___
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] iface missing 'removeToolBar'

2014-03-21 Thread p0cisk
Hello Rochard
Use del statement to remove toolbars:

#add toolbar
tb = iface.addtoolBar("My Toolbar)
#remove toolbar
del tb

Regards
Piotr



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/iface-missing-removeToolBar-tp5130257p5130258.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] master slow reading rasters?

2014-03-21 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 20/03/2014 18:28, Giovanni Manghi ha scritto:

>> yes, apparently it depends on the size of the raster (I'm trying with pretty 
>> large ones)
> 
> how much large? I'm testing with 9gb rasters and it is lighting fast
> (just fast wothout overviews).

<3Gb
Perhaps this has something to do with colour table?

- -- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMr+IsACgkQ/NedwLUzIr7SQwCeIghnSuiLMtNInJv1lZ62h8w6
KscAoKRHNpAaxkldKqxMd/hKmT5pp3Aj
=Nxoj
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] iface missing 'removeToolBar'

2014-03-21 Thread Richard Duivenvoorde
Hi Devs,

pythin iface has a slot 'addToolBar' to add a toolbar to the gui.

but it seems that there is no way to remove it? At least I cannot find a
'removeToolBar' slot on:

http://qgis.org/api/classQgisInterface.html

(and my plugin is throwing an exception when I try to remove the toolbar
in my unload of my plugin, using the 'reload plugin')

am I missing something?

worth an issue?

Regards,

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


Re: [Qgis-developer] qgis server: png8 broken?

2014-03-21 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 21/03/2014 09:02, Marco Hugentobler ha scritto:

> No problem, I think reliability is more important for a server software than 
> a small
> performance improvement.

Wouldn't be appropriate to backport this also to 2.2 branch?
All the best, and thanks.
- -- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMr9rUACgkQ/NedwLUzIr6F/wCbBBemuGDHlpP5/VUTzCeIHKPh
PioAn2gkF1P1xxC6MuJh8hugmKVq8ZsX
=0aCW
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Plugin [242] PDOK services plugin approval notification.

2014-03-21 Thread noreply

Plugin PDOK services plugin approval by rduivenvoorde.
The plugin version "[242] PDOK services plugin 0.6" is now approved
Link: http://plugins.qgis.org/plugins/pdokservicesplugin/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] qgis server: png8 broken?

2014-03-21 Thread Marco Hugentobler

Hi Paolo

No problem, I think reliability is more important for a server software 
than a small performance improvement.


Regards,
Marco

On 21.03.2014 07:37, Paolo Cavallini wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 20/03/2014 21:34, Andreas Neumann ha scritto:

Hi Marco,

Thanks - maybe keep the code around - maybe we can retry with later
versions.

Hi Marco.
It's a pity to miss a performance improvement (and I do not want to be blamed
responsible for it ;) ).
Perhaps we can try to debug it during next week? I have a sever where I can 
easily
reproduce the issue.
All the best.

- -- 
Paolo Cavallini - www.faunalia.eu

Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMr3hkACgkQ/NedwLUzIr7DigCfYA3epUU9jkZc0gO9Ap9PiHVZ
k5UAoKQxN2onG8aIlhAxwigyjLjUss9g
=oD4w
-END PGP SIGNATURE-
___
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
Weberstrasse 5, CH-8004 Zürich, 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


Re: [Qgis-developer] New plugin QuickExport

2014-03-21 Thread Rémi Bovard
Hi Michaël,

Thanks for the plugin, I just tested it right now.

I had some issues, so I reported it via GitHub [1]. Tell if you need more
details about it.

Best regards.

Rémi

[1] https://github.com/3liz/QgisQuickExportPlugin/issues


2014-03-20 18:54 GMT+01:00 kimaidou :

> Hi all,
>
> 3liz has just released the first version of the plugin "Quick Export",
> funded by the "Conseil Général des Pyrénées-Atlantiques" (France). It aims
> to let the user export the active vector layer to CSV ( I must say TSV :
> tab separated values), HTML, PDF and to the default printer, in one click.
>
> Any feedback and contributions welcome !
> Version 1.0 is tagged as experimental, waiting for users feedbacks
>
> Full description here :
> https://github.com/3liz/QgisQuickExportPlugin/blob/master/README.md
>
> Best wishes
>
> Michael
>
> ___
> 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

[Qgis-developer] QGIS server: clickable area too small

2014-03-21 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.
The area in which an user can click around a point to trigger a popup is very 
small,
and it is quite difficult to hit it. René-Luc from 3Liz had somewhat fixed this
months ago, but now the issue it seems to be back.
In any case, I think the area should be substantially larger, possibly 
configurable
(or it could take the setting from the Search radius option).
Opinions?
All the best.
- -- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMr5Y0ACgkQ/NedwLUzIr7BAQCfQJnSJsZUKWDA4Ws6Jw11ZToM
D8UAn10esmeXXV3cfZAso0IHbLINpSZ9
=xW7Z
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer