Re: [Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]

2009-09-11 Thread Jürgen E . Fischer
Hi Agus,

On Fri, 11. Sep 2009 at 21:38:45 +0200, Agustin Lobo wrote:
> I think the problem is in gdal:
> $ gdalinfo  
> /media/Transcend/MONTSENY2008/Carlos_Montseny/GrassData/GrassData/carlos/A_TOTAL/cellhd/delmetif.blue
> Segmentation fault

Yes.  The gdal grass plugin needed and rebuild after GRASS was updated.
Alan just took care about that.  Another upgrade should fix it. 


> $ apt-cache rdepends libgdal1-1.5.0
> libgdal1-1.5.0
> Reverse Depends:
[...]
>  grass

Which grass is that (apt-cache policy grass)?

That's what triggers the dependency to gdal 1.5. The ubuntugis jaunty grass
depends on libgdal1-1.6.0.  So your grass must be from a different repository.

> $ apt-cache depends qgis-plugin-grass
[...]
> |Depends: 
> |Depends: libgdal1-1.5.0-grass
>  Depends: libgdal1-1.6.0-grass

> it depends on bot libgdal1-1.5.0-grass and libgdal1-1.&.0-grass ?

No, that's an "or".  So any grass gdal plugin will fullfil the dependency.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-20
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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


Re: [Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]

2009-09-11 Thread Agustin Lobo

Jürgen E. Fischer wrote:

On Fri, 11. Sep 2009 at 13:55:42 +0200, Agustin Lobo wrote:
  

In grass
r.in.gdal -o  
input=/media/Transcend/ANYELLA/catuav20090730/tif/SDIM0178.tif  
output=delmetif



That's the wrong direction.You need to access GRASS from GDAL not vice
versa.

gdalinfo $HOME/grass/spearfish60/PERMANENT/cellhd/elevation.10m
  

I think the problem is in gdal:
$ gdalinfo 
/media/Transcend/MONTSENY2008/Carlos_Montseny/GrassData/GrassData/carlos/A_TOTAL/cellhd/delmetif.blue

Segmentation fault

.../...


That's strange.  Try

 apt-cache rdepends libgdal1-1.5.0

to see what depends on libgdal1-1.5.0.  There shouldn't be anything qgis or
grass related except for libgdal1-1.5.0-grass.
  

$ apt-cache rdepends libgdal1-1.5.0
libgdal1-1.5.0
Reverse Depends:
 python-mapscript
 php5-mapscript
 perl-mapscript
 mapserver-bin
 libmapscript-ruby1.9
 libmapscript-ruby1.8
 libmapnik0.5
 cgi-mapserver
 python-mapscript
 python-gdal
 php5-mapscript
 perl-mapscript
 mapserver-bin
 libopenscenegraph7
 libmapscript-ruby1.9
 libmapscript-ruby1.8
 libmapnik0.5
 libgdal1-dev
 libgdal1-1.5.0-grass
 libgdal-ruby1.8
 libgdal-perl
 libgdal-doc
 grass
 gdal-bin
 cgi-mapserver

The weird thing is that according to Synaptic libgdal1-1.5.0-grass is 
not installed

(I removed it with apt-get remove after installing the qgis-grass-plugin)
How can I check with apt if libgdal1-1.5.0-grass is installed or not?

And try

 apt-cache depends qgis-plugin-grass

to see what qgis-plugin-grass depends on.  There should only be the dependency
to one of the libgdal1-*-grass packages - and that should be satisfiable by
installing libgdal1-1.6.0-grass.
  

$ apt-cache depends qgis-plugin-grass
qgis-plugin-grass
 Depends: qgis
 Depends: qgis-plugin-grass-common
 Depends: libc6
 Depends: libgcc1
 Depends: libgdal1-1.6.0
 Depends: libgeos-c1
 Depends: libproj0
 Depends: libqgis1.2.0
 Depends: libqt4-network
 Depends: libqt4-sql
 Depends: libqt4-svg
 Depends: libqt4-xml
 Depends: libqtcore4
 Depends: libqtgui4
 Depends: libstdc++6
|Depends: 
|Depends: libgdal1-1.5.0-grass
 Depends: libgdal1-1.6.0-grass

it depends on bot libgdal1-1.5.0-grass and libgdal1-1.&.0-grass ?

Thanks for your help!

Agus
<>___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]

2009-09-11 Thread Jürgen E . Fischer
Hi Rainer,

On Fri, 11. Sep 2009 at 15:38:11 +0200, Rainer M Krug wrote:
> rk...@ecolmod:~$ gdalinfo --version
> GDAL 1.6.1, released 2009/05/11
> rk...@ecolmod:~$ gdalinfo
> /home/rkrug/grass/spearfish60/PERMANENT/cellhd/elevation.10m
> Segmentation fault
> rk...@ecolmod:~$

Does gdalinfo still crash when you remove libgdal1-1.6.0-grass?  If it doesn't,
then that narrows it down to the gdal grass plugin.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-20
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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


Re: [Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]

2009-09-11 Thread Rainer M Krug
If I might add - I have the same problem under Hardy. Below my tests:

On Fri, Sep 11, 2009 at 2:45 PM, Jürgen E.  wrote:
> On Fri, 11. Sep 2009 at 13:55:42 +0200, Agustin Lobo wrote:
>> In grass
>> r.in.gdal -o
>> input=/media/Transcend/ANYELLA/catuav20090730/tif/SDIM0178.tif
>> output=delmetif
>
> That's the wrong direction.    You need to access GRASS from GDAL not vice
> versa.
>
> gdalinfo $HOME/grass/spearfish60/PERMANENT/cellhd/elevation.10m


rk...@ecolmod:~$ gdalinfo --version
GDAL 1.6.1, released 2009/05/11
rk...@ecolmod:~$ gdalinfo
/home/rkrug/grass/spearfish60/PERMANENT/cellhd/elevation.10m
Segmentation fault
rk...@ecolmod:~$


>
>
>> $ sudo apt-get install qgis-plugin-grass
>> Reading package lists... Done
>> Building dependency tree      Reading state information... Done
>> The following extra packages will be installed:
>>  libgdal1-1.5.0 libgdal1-1.5.0-grass qgis-plugin-grass-common
>> The following NEW packages will be installed:
>>  libgdal1-1.5.0 libgdal1-1.5.0-grass qgis-plugin-grass
>>  qgis-plugin-grass-common
>> 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
>> Need to get 0B/9986kB of archives.
>> After this operation, 19.4MB of additional disk space will be used.
>> Do you want to continue [Y/n]? n
>> Abort.
>
> That's strange.  Try
>
>  apt-cache rdepends libgdal1-1.5.0
>
> to see what depends on libgdal1-1.5.0.  There shouldn't be anything qgis or
> grass related except for libgdal1-1.5.0-grass.
>
> And try
>
>  apt-cache depends qgis-plugin-grass

rk...@ecolmod:~$ apt-cache depends qgis-plugin-grass
qgis-plugin-grass
  Depends: libc6
  Depends: libgcc1
 |Depends: libgdal1-1.4.0-grass
 |Depends: 
  Depends: libgdal1-1.6.0-grass
  Depends: libgdal1-1.6.0
  Depends: libgeos-c1
  Depends: libproj0
  Depends: libqgis1.2.0
  Depends: libqt4-core
  Depends: libqt4-gui
  Depends: libqt4-sql
  Depends: libstdc++6
  Depends: qgis
  Depends: qgis-plugin-grass-common


>
> to see what qgis-plugin-grass depends on.  There should only be the dependency
> to one of the libgdal1-*-grass packages - and that should be satisfiable by
> installing libgdal1-1.6.0-grass.
>
>
> Jürgen
>
>
> --
> Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
> Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
> Software Engineer         D-26506 Norden               http://www.norbit.de
>
> --
> norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
> Rheinstrasse 13, 26506 Norden
> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Fwd: [Qgis-user] Python Batch Processing

2009-09-11 Thread Maurício de Paulo
-- Forwarded message --
From: Maurício de Paulo 
Date: 2009/9/11
Subject: Re: [Qgis-user] Python Batch Processing
To: agustin.l...@ija.csic.es


Ok, the parameter textEdit is a place where you can set parameters just like
a shell command. The %dir: ...% tag is replaced for the filenames from the
folder in each iteration.
So you misplaced the file names there. Try cleaning the parameter box before
inserting the insert Repeat for Directory. (I don't think the gui is user
friendly enough on this use case).
Thanks for the feedback



2009/9/11 Agustin Lobo 

> It worked for gdalinfo and 1 file, but got
> this result when tried a directory (I selected Repeat for Directory and
> selected a directory).
> Will try a gdal_translate later and will let you know.
> Thanks
>
> Agus
>
> Maurício de Paulo wrote:
>
>>
>> http://ufpr.dl.sourceforge.net/project/pybatchproc/ScreenShots/main-gdal.jpg
>> This is just a simple example with gdalinfo
>> I've done a example that shows exactly the problem I'd like to solve with
>> this tool:
>>
>> http://master.dl.sourceforge.net/project/pybatchproc/ScreenShots/gdalwarp_ex.png
>>
>> http://master.dl.sourceforge.net/project/pybatchproc/ScreenShots/gdalwarp_results.png
>>
>> As you can see in the screenshots, the tool is just an interface to run
>> gdalwarp just like in the command line, but I can repeat the command
>> replacing the tags %subdir:/home/vatto...% by every file in that subdirs.
>>
>> I don't know if I did myself clear enough so any questions on usage or
>> sugestions on how to make it more user friendly are welcome.
>> Mauricio de Paulo
>>
>>
>> 2009/9/11 Agustin Lobo > agustin.l...@ija.csic.es>>
>>
>>Thanks Mauricio, installed.
>>You mentioned gdalutilites and FWT,
>>could you provide an example of using
>>a gdal utility (i.e. gdalbioldvrt or gdal_translate)
>>and a FWT utility through your plugin?
>>
>>
>>Agus
>>
>>Maurício de Paulo wrote:
>>
>>Ok, as promised, it now works also as a qgis plugin.
>>I've uploaded it in the contributed repository so everyone could
>>download.
>>I hope you guys enjoy it. :D
>>Maurício de Paulo
>>
>>2009/9/10 Maurício de Paulo > >>>
>>
>>
>>   Ok, I havent started the pyqgis section yet. I was still working
>>   saving parameters to commands.
>>   I'm going to start this right now. It should be finished by
>>the end
>>   of this evening.
>>   At the moment it only works standalone (just call it as a python
>>   program).
>>   Thanks for the interest
>>   Maurício de Paulo
>>
>>   2009/9/10 Agustin Lobo >
>>   >>
>>
>>
>>
>>   Mauricio,
>>   how should we use it?
>>   I've unzipped under .qgis/python/plugins
>>   but the get an error upon qgis start up:
>>
>>   Couldn't load plugin "pybatchproc" from
>>   ['/usr/share/qgis/python',
>>   '/home/alobo/.qgis//python/plugins/symbology_ng',
>>   '/home/alobo/.qgis//python/plugins',
>>   '/usr/share/qgis/python/plugins', '/usr/lib/python2.6',
>>   '/usr/lib/python2.6/plat-linux2',
>>'/usr/lib/python2.6/lib-tk',
>>   '/usr/lib/python2.6/lib-old',
>>'/usr/lib/python2.6/lib-dynload',
>>   '/usr/lib/python2.6/dist-packages',
>>   '/usr/lib/python2.6/dist-packages/Numeric',
>>   '/usr/lib/python2.6/dist-packages/PIL',
>>   '/usr/lib/python2.6/dist-packages/gst-0.10',
>>   '/var/lib/python-support/python2.6',
>>   '/usr/lib/python2.6/dist-packages/gtk-2.0',
>>   '/var/lib/python-support/python2.6/gtk-2.0',
>>   '/usr/local/lib/python2.6/dist-packages',
>>   '/usr/share/qgis/python/plugins/fTools/tools',
>>'~/.qgis/python',
>>   '/usr/share/qgis/python/', '/usr/share/qgis/python/',
>>   '/usr/share/qgis/python']
>>
>>   Traceback (most recent call last):
>>File "", line 2, in
>>   ImportError: No module named pybatchproc
>>
>>   Python version:
>>   2.6.2 (release26-maint, Apr 19 2009, 02:11:59)
>>   [GCC 4.3.3]
>>
>>
>>   Agus
>>
>>   Maurício de Paulo wrote:
>>
>>   Hi list,
>>   As I am a serious user of GDAL Utilities and FWTools,
>>I've
>>   found myself manytimes trying to repeat a ogr2gr or a
>>   gdalwarp for whole directories and writing much bash
>>and bat
>>   code for the task. As a solution the the guys who
>>work with
>> 

Re: [Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]

2009-09-11 Thread Jürgen E . Fischer
On Fri, 11. Sep 2009 at 13:55:42 +0200, Agustin Lobo wrote:
> In grass
> r.in.gdal -o  
> input=/media/Transcend/ANYELLA/catuav20090730/tif/SDIM0178.tif  
> output=delmetif

That's the wrong direction.You need to access GRASS from GDAL not vice
versa.

gdalinfo $HOME/grass/spearfish60/PERMANENT/cellhd/elevation.10m


> $ sudo apt-get install qgis-plugin-grass
> Reading package lists... Done
> Building dependency tree  Reading state information... Done
> The following extra packages will be installed:
>  libgdal1-1.5.0 libgdal1-1.5.0-grass qgis-plugin-grass-common
> The following NEW packages will be installed:
>  libgdal1-1.5.0 libgdal1-1.5.0-grass qgis-plugin-grass
>  qgis-plugin-grass-common
> 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/9986kB of archives.
> After this operation, 19.4MB of additional disk space will be used.
> Do you want to continue [Y/n]? n
> Abort.

That's strange.  Try

 apt-cache rdepends libgdal1-1.5.0

to see what depends on libgdal1-1.5.0.  There shouldn't be anything qgis or
grass related except for libgdal1-1.5.0-grass.

And try

 apt-cache depends qgis-plugin-grass

to see what qgis-plugin-grass depends on.  There should only be the dependency
to one of the libgdal1-*-grass packages - and that should be satisfiable by
installing libgdal1-1.6.0-grass.


Jürgen
 

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-20
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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


Re: [Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]

2009-09-11 Thread Agustin Lobo

This is what I've tried now (not having the qgis grass plugin installed):

sudo apt-get remove libgdal1-1.5.0
sudo apt-get autoremove
sudo apt-get install libgdal1-1.6.0
sudo apt-get install grass
grass -tcltk

and

In grass
r.in.gdal -o 
input=/media/Transcend/ANYELLA/catuav20090730/tif/SDIM0178.tif 
output=delmetif


worked fine. Is this a sufficient test for "Can you use any GRASS layers 
from GDAL? "

If not, tell me which one would be more appropriate.

Now, if I try:
$ sudo apt-get install qgis-plugin-grass
Reading package lists... Done
Building dependency tree  
Reading state information... Done

The following extra packages will be installed:
 libgdal1-1.5.0 libgdal1-1.5.0-grass qgis-plugin-grass-common
The following NEW packages will be installed:
 libgdal1-1.5.0 libgdal1-1.5.0-grass qgis-plugin-grass
 qgis-plugin-grass-common
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/9986kB of archives.
After this operation, 19.4MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

So I do not see the workaround, how can I install qgis-plugin-grass
and not libgdal1-1.5.0-grass ?

The only thing I can do is removing
libgdal1-1.5.0-grass after installing qgis-plugin-grass, but
this does not seem to work...

(how can I list all items related to qgis and grass using apt?)

Agus

Note that using apt-get install qgis I get
Jürgen E. Fischer wrote:

Hi Agus,

On Fri, 11. Sep 2009 at 12:17:04 +0200, Agustin Lobo wrote:
  

Follow up: using
sudo apt-get install qgis-plugin-grass
instead of Synaptic and having  libgdal1-1.6.0  previously
installed (and not having libgdal1-1.5.0),
does not install libgdal1-1.5.0, but QGIS still crashes with the same  
message



Can you use any GRASS layers from GDAL?   The GRASS plugin for GDAL might need
a rebuild.  Perhaps the old plugins don't work with the new GRASS.

As far a QGIS is concerned I don't see a direct dependency to gdal 1.5
anywhere in the packages.

The problem here is that QGIS GRASS plugin justs expects GDAL to have GRASS
plugins, but doesn't directly link with them (which would produce a specific
dependency automatically).

The dependency to libgdal1-*-grass is just there to make sure GDAL has GRASS
plugins, but that assumes that there is only one set of plugins available.  If
the latter is not the case apt might choose to install libgdal1-1.5.0-grass
(and it's dependencies) over libgdal1-1.6.0-grass.

I don't known how to express a dependency that would deal with this
automatically (and would work with all repositories).  Perhaps simply changing
the order is enough.

A workaround is to install libgdal1-1.6.0-grass beforehand - obviously that
doesn't help with the crash if the GRASS plugins for GDAL don't currently work
at all.


Jürgen

  


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


Re: [Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]

2009-09-11 Thread Jürgen E . Fischer
Hi Agus,

On Fri, 11. Sep 2009 at 12:17:04 +0200, Agustin Lobo wrote:
> Follow up: using
> sudo apt-get install qgis-plugin-grass
> instead of Synaptic and having  libgdal1-1.6.0  previously
> installed (and not having libgdal1-1.5.0),
> does not install libgdal1-1.5.0, but QGIS still crashes with the same  
> message

Can you use any GRASS layers from GDAL?   The GRASS plugin for GDAL might need
a rebuild.  Perhaps the old plugins don't work with the new GRASS.

As far a QGIS is concerned I don't see a direct dependency to gdal 1.5
anywhere in the packages.

The problem here is that QGIS GRASS plugin justs expects GDAL to have GRASS
plugins, but doesn't directly link with them (which would produce a specific
dependency automatically).

The dependency to libgdal1-*-grass is just there to make sure GDAL has GRASS
plugins, but that assumes that there is only one set of plugins available.  If
the latter is not the case apt might choose to install libgdal1-1.5.0-grass
(and it's dependencies) over libgdal1-1.6.0-grass.

I don't known how to express a dependency that would deal with this
automatically (and would work with all repositories).  Perhaps simply changing
the order is enough.

A workaround is to install libgdal1-1.6.0-grass beforehand - obviously that
doesn't help with the crash if the GRASS plugins for GDAL don't currently work
at all.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-20
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Aoftware Engineer D-26506 Norden   http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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


Re: [Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]

2009-09-11 Thread Agustin Lobo

I've done:
sudo apt-get remove grass
sudo apt-get remove qgis
sudo apt-get purge
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get install qgis
sudo apt-get purge

Same problem at qgis startup.

Qgis starts if I do:
sudo apt-get remove qgis-plugin-grass

Agus

Lionel Roubeyrie wrote:

Hi Augustin,
make a purge before reinstalling qgis, and all should be ok (sudo 
apt-get purge qgis*)


Agustin Lobo a écrit :

Follow up: using
sudo apt-get install qgis-plugin-grass
instead of Synaptic and having  libgdal1-1.6.0  previously
installed (and not having libgdal1-1.5.0),
does not install libgdal1-1.5.0, but QGIS still crashes with the same 
message


Agus

 Original Message 
Subject: Binary QGIS 1.2.0.2~jaunty + GRASS does not work
Date: Fri, 11 Sep 2009 11:56:33 +0200
From: Agustin Lobo 
Reply-To: agustin.l...@ija.csic.es
To: qgis-user , qgis-developer 





After upgrading to QGIS 1.2.0.2~jaunty, the python grass
plugin still installs libgdal1-1.5.0 (+ grass 6.4.0~rc5-2~jaunty)
and QGIS crashes upon start up with message:
"Uncatched fatal GRASS error. Incompatible library version for module.
You need to rebuild GRASS or untangle multiple installations"

Removing libgdal1-1.6.0  does not solve the problem
Removing libgdal1-1.5.0  (now you can do it without automatic uninstal
of the grass plugin) and installing libgdal1-1.6.0  does not solve 
the problem either.


Grass runs fine independently in all cases.
Qgis runs fine without the grass plugin

Agus


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




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


Re: [Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]

2009-09-11 Thread Lionel Roubeyrie

Hi Augustin,
make a purge before reinstalling qgis, and all should be ok (sudo apt-get purge 
qgis*)


Agustin Lobo a écrit :

Follow up: using
sudo apt-get install qgis-plugin-grass
instead of Synaptic and having  libgdal1-1.6.0  previously
installed (and not having libgdal1-1.5.0),
does not install libgdal1-1.5.0, but QGIS still crashes with the same 
message


Agus

 Original Message 
Subject: Binary QGIS 1.2.0.2~jaunty + GRASS does not work
Date: Fri, 11 Sep 2009 11:56:33 +0200
From: Agustin Lobo 
Reply-To: agustin.l...@ija.csic.es
To: qgis-user , qgis-developer 





After upgrading to QGIS 1.2.0.2~jaunty, the python grass
plugin still installs libgdal1-1.5.0 (+ grass 6.4.0~rc5-2~jaunty)
and QGIS crashes upon start up with message:
"Uncatched fatal GRASS error. Incompatible library version for module.
You need to rebuild GRASS or untangle multiple installations"

Removing libgdal1-1.6.0  does not solve the problem
Removing libgdal1-1.5.0  (now you can do it without automatic uninstal
of the grass plugin) and installing libgdal1-1.6.0  does not solve the 
problem either.


Grass runs fine independently in all cases.
Qgis runs fine without the grass plugin

Agus


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


--
Lionel Roubeyrie - lroubey...@limair.asso.fr
Chargé d'études et de maintenance
LIMAIR - la Surveillance de l'Air en Limousin
http://www.limair.asso.fr



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


[Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]

2009-09-11 Thread Agustin Lobo

Follow up: using
sudo apt-get install qgis-plugin-grass
instead of Synaptic and having  libgdal1-1.6.0  previously
installed (and not having libgdal1-1.5.0),
does not install libgdal1-1.5.0, but QGIS still crashes with the same 
message


Agus

 Original Message 
Subject:Binary QGIS 1.2.0.2~jaunty + GRASS does not work
Date:   Fri, 11 Sep 2009 11:56:33 +0200
From:   Agustin Lobo 
Reply-To:   agustin.l...@ija.csic.es
To: 	qgis-user , qgis-developer 





After upgrading to QGIS 1.2.0.2~jaunty, the python grass
plugin still installs libgdal1-1.5.0 (+ grass 6.4.0~rc5-2~jaunty)
and QGIS crashes upon start up with message:
"Uncatched fatal GRASS error. Incompatible library version for module.
You need to rebuild GRASS or untangle multiple installations"

Removing libgdal1-1.6.0  does not solve the problem
Removing libgdal1-1.5.0  (now you can do it without automatic uninstal
of the grass plugin) and installing libgdal1-1.6.0  does not solve the 
problem either.


Grass runs fine independently in all cases.
Qgis runs fine without the grass plugin

Agus


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


[Qgis-user] Binary QGIS 1.2.0.2~jaunty + GRASS does not work

2009-09-11 Thread Agustin Lobo

After upgrading to QGIS 1.2.0.2~jaunty, the python grass
plugin still installs libgdal1-1.5.0 (+ grass 6.4.0~rc5-2~jaunty)
and QGIS crashes upon start up with message:
"Uncatched fatal GRASS error. Incompatible library version for module.
You need to rebuild GRASS or untangle multiple installations"

Removing libgdal1-1.6.0  does not solve the problem
Removing libgdal1-1.5.0  (now you can do it without automatic uninstal
of the grass plugin) and installing libgdal1-1.6.0  does not solve the 
problem either.


Grass runs fine independently in all cases.
Qgis runs fine without the grass plugin

Agus
<>___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] GPS tools plugin: web page? repository?

2009-09-11 Thread Agustin Lobo

Thanks,
but there is a source of confusions here:

The left menu in the web page mentions "Plugins"
but then

http://www.qgis.org/en/download/plugins.html
or
http://pyqgis.org/repo/contributed

only mention "python plugins", which make the reader
think that there are only python plugins. 
Why are C++ plugins not listed somewhere?

A while ago I proposed reserving the term plugin to the
python plugins and use another term for the C++ plugins,
(i.e., "C complements") in order to avoid this sort
of confusions.

Anyway, how could I reach the author of the
GPS tools (note that I'm using the name that
is used in the Qgis menu) or his/her web page?
Are there no web pages for the C++ plgins? Most
python plugins do have a web page, why not
the C++ plugins?

Agus




Alex Mandel wrote:

Agustin Lobo wrote:
  

I cannot find the GPS tool plugin under
my .qgis/python/plugin directory

Also, it is not listed under
Fetch Python Plugins/Plugins

and cannot find its web page as it's not listed in

http://www.qgis.org/en/download/plugins.html
or
http://pyqgis.org/repo/contributed

any clue?


Agus




If you're referring to the GPS import tool, that is a C++ plugin, the
source code is in the main QGIS repository.

Alex

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

  


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


Re: [Qgis-user] Python Batch Processing

2009-09-11 Thread Agustin Lobo

Thanks Mauricio, installed.
You mentioned gdalutilites and FWT,
could you provide an example of using
a gdal utility (i.e. gdalbioldvrt or gdal_translate)
and a FWT utility through your plugin?

Agus

Maurício de Paulo wrote:

Ok, as promised, it now works also as a qgis plugin.
I've uploaded it in the contributed repository so everyone could download.
I hope you guys enjoy it. :D
Maurício de Paulo

2009/9/10 Maurício de Paulo >


Ok, I havent started the pyqgis section yet. I was still working
saving parameters to commands.
I'm going to start this right now. It should be finished by the end
of this evening.
At the moment it only works standalone (just call it as a python
program).
Thanks for the interest
Maurício de Paulo

2009/9/10 Agustin Lobo mailto:alobolis...@gmail.com>>

Mauricio,
how should we use it?
I've unzipped under .qgis/python/plugins
but the get an error upon qgis start up:

Couldn't load plugin "pybatchproc" from
['/usr/share/qgis/python',
'/home/alobo/.qgis//python/plugins/symbology_ng',
'/home/alobo/.qgis//python/plugins',
'/usr/share/qgis/python/plugins', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/Numeric',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/python2.6/dist-packages/gst-0.10',
'/var/lib/python-support/python2.6',
'/usr/lib/python2.6/dist-packages/gtk-2.0',
'/var/lib/python-support/python2.6/gtk-2.0',
'/usr/local/lib/python2.6/dist-packages',
'/usr/share/qgis/python/plugins/fTools/tools', '~/.qgis/python',
'/usr/share/qgis/python/', '/usr/share/qgis/python/',
'/usr/share/qgis/python']

Traceback (most recent call last):
 File "", line 2, in
ImportError: No module named pybatchproc

Python version:
2.6.2 (release26-maint, Apr 19 2009, 02:11:59)
[GCC 4.3.3]


Agus

Maurício de Paulo wrote:

Hi list,
As I am a serious user of GDAL Utilities and FWTools, I've
found myself manytimes trying to repeat a ogr2gr or a
gdalwarp for whole directories and writing much bash and bat
code for the task. As a solution the the guys who work with
me I've written the PyBatchProc script that is a QT gui to
run command-line tools for series of files in folders or
subfolders.

I'm planning on creating a QGIS plugin script to let the
tool run from inside QGIS too.


https://sourceforge.net/projects/pybatchproc/files/pybatchproc_0_1.zip/download

Any bugs found or sugestions are welcome.
I hope you enjoy.

Maurício de Paulo




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





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


Re: [Qgis-developer] Re: [Qgis-user] ogr2layers plugin

2009-09-11 Thread Borys Jurgiel
I'll convert it to the 1.x api today evening.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] ogr2layers plugin

2009-09-11 Thread Giovanni Manghi
Hi,



> I suppose it was in his plan to adapt it to qgis 1.x but he needs time ;) but 
> he told me that this plugin was a test for him to work on QGIS plugins :)


well, the plugin worked fair enough. Maybe the lack of time of the
developer and the fact it was made as "test", plan in favor of a fork or
at least a collaboration with someone interested helping developing this
nice tool.



> I can contact him if he doesn't answer in this ML as I am working with him on 
> the french GeoRezo portail.


ok thanks!

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


Re: [Qgis-user] ogr2layers plugin

2009-09-11 Thread Jacolin Yves
Le Friday 11 September 2009 10:28:32 Giovanni Manghi, vous avez écrit :
> Hi all,
>
> once there was a site dedicated to a nice qgis python plugin (that
> worked on qgis 0.9/0.10) that made easy produce openlayers snippets to
> add to a web page.
>
> The site no longer works/exist ( http://www.ogr2layers.org ) and every
> attempt to contact the authors (asking to port it on qgis 1.x) had no
> success.
>
> I would be nice to have it back. It was released under GPL 2, so maybe
> someone wants to have a look at the code and make it available for qgis
> again. The code is attached to this e-mail.
>
>
> Cheers
>
> -- Giovanni --

Hello,

The author had a lot of work at the end of june (end of his thesis) and is now 
in Japan for few monthes ;)

I suppose it was in his plan to adapt it to qgis 1.x but he needs time ;) but 
he told me that this plugin was a test for him to work on QGIS plugins :)

I can contact him if he doesn't answer in this ML as I am working with him on 
the french GeoRezo portail.

Regards,

Y.
-- 
Yves Jacolin

Ne demandez pas si vous pouvez contribuer, contribuez ! :)
---
http://softlibre.gloobe.org
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Update attributes of selected features

2009-09-11 Thread Obermaier, Felix
Hello,

is there a way of changing attributes of selected features with one action like 
e.g. mapinfo can do?
I would even use the python console - if I knew how.

Thanks in advance

Felix Obermaier

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