Re: [Qgis-user] polylines to single lines

2012-05-07 Thread Piotr Pachół
Yes, I mean exploding polylines to line segments only with starting and 
ending point.

Piotr

W dniu 2012-05-08 01:03, Victor Olaya pisze:

you mean to segments with just an end point and a starting point?

That should be easy to do and a good addition to SEXTANTE :-)

Regards

2012/5/8 Piotr Pachół:

Hello,
Is it possible in Qgis or in Sextante plugin to convert line layer with
polylines to simple single lines ?
It should work as cad command "explode".
If not may be it would be usefull to add new option (checkbox) in command
"Multipart to singlepart".

Regards,
Piotr

___
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] Sextante: setting the output folder

2012-05-07 Thread Paulo van Breugel
This is the only one I encountered so far. But I will test a bit more.
Where is that folder location definition stored? Maybe I can change it
there?
 On May 7, 2012 9:21 PM, "Victor Olaya"  wrote:

> I cannot replicate the bug...it seems to work for me. Does it happens
> with other parameters or just with this one?
>
> Regards
>
>
>
> 2012/5/7 Victor Olaya :
> > That looks like a bug. I will have a look at it. Do the other settings
> > remain between different sessions, or they are lost as well?
> >
> > Thanks
> >
> > Victor
> >
> >
> > 2012/5/7 Paulo van Breugel :
> >> Hi,
> >>
> >> I am trying to change the sextante folder location by changing the
> path/name
> >> of the Output folder in the Sextante options. However, after closing and
> >> opening QGIS, the Output folder is set back to the default (sextante
> folder
> >> in the home folder). Anyway to do this differently?
> >>
> >> Rgds,
> >>
> >> 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-user] polylines to single lines

2012-05-07 Thread Victor Olaya
you mean to segments with just an end point and a starting point?

That should be easy to do and a good addition to SEXTANTE :-)

Regards

2012/5/8 Piotr Pachół :
> Hello,
> Is it possible in Qgis or in Sextante plugin to convert line layer with
> polylines to simple single lines ?
> It should work as cad command "explode".
> If not may be it would be usefull to add new option (checkbox) in command
> "Multipart to singlepart".
>
> Regards,
> Piotr
>
> ___
> 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


[Qgis-user] polylines to single lines

2012-05-07 Thread Piotr Pachół

Hello,
Is it possible in Qgis or in Sextante plugin to convert line layer with 
polylines to simple single lines ?

It should work as cad command "explode".
If not may be it would be usefull to add new option (checkbox) in 
command "Multipart to singlepart".


Regards,
Piotr

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


Re: [Qgis-user] Sextante plugin works except with GRASS

2012-05-07 Thread Salvatore Larosa
Il giorno lun, 07/05/2012 alle 14.50 -0700, Luca Casagrande ha scritto:
> Hello folks,
> I have some troubles running GRASS command using Sextante plugin on Ubuntu
> 12.04; basically it complains that it can't find the output file.
> This is the text from the log:

Hi Luca,
in r170 works fine (v.voronoi alg).
Which version(revision) are you using?

-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt

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


[Qgis-user] Sextante plugin works except with GRASS

2012-05-07 Thread Luca Casagrande
Hello folks,
I have some troubles running GRASS command using Sextante plugin on Ubuntu
12.04; basically it complains that it can't find the output file.
This is the text from the log:

ALGORITHM|lun mag 07 2012
23:40:58|Sextante.runalg("grass:v.voronoi","/home/luca/prova_editing.shp",True,True,None)
INFO|lun mag 07 2012 23:40:58|GRASS execution commands|g.region
n=4785940.92509 s=4751550.93215 e=809189.765459 w=766364.491229
res=1|v.voronoi input=1336426858.083 -l -t output=output
--overwrite|v.out.ogr -e input=output dsn="/home/luca/sextante/tempdata"
format=ESRI_Shapefile olayer=1336426858.041.shp type=auto
INFO|lun mag 07 2012 23:40:58|GRASS execution console output|Cleaning up
temporary files ...|Starting GRASS ...|Executing
'/home/luca/sextante/grass_batch_job.sh' ...|Welcome to GRASS 6.4.2 (2012)
|ERROR: Vector map <1336426858.083> not found|ERROR: Vector map  not
found|Closing monitors ...|Cleaning up temporary files ...|Batch job
'/home/luca/sextante/grass_batch_job.sh' (defined in GRASS_BATCH_JOB
variable) was executed.|Goodbye from GRASS GIS

Saga, mmqgis and gdal are ok!

Thanks!
L.

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Sextante-plugin-works-except-with-GRASS-tp4958903.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Sextante: setting the output folder

2012-05-07 Thread Victor Olaya
I cannot replicate the bug...it seems to work for me. Does it happens
with other parameters or just with this one?

Regards



2012/5/7 Victor Olaya :
> That looks like a bug. I will have a look at it. Do the other settings
> remain between different sessions, or they are lost as well?
>
> Thanks
>
> Victor
>
>
> 2012/5/7 Paulo van Breugel :
>> Hi,
>>
>> I am trying to change the sextante folder location by changing the path/name
>> of the Output folder in the Sextante options. However, after closing and
>> opening QGIS, the Output folder is set back to the default (sextante folder
>> in the home folder). Anyway to do this differently?
>>
>> Rgds,
>>
>> 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] PostGIS Manager compatibility issue with PostGIS 2.0

2012-05-07 Thread G. Allegri
Thanks Martin.
I've already moved to DB Manager. This was just a note for PG Manager,
being still available through repositories ;)

giovanni

2012/5/7 Martin Dobias 

> On Mon, May 7, 2012 at 3:25 PM, G. Allegri  wrote:
> > DB Manager works fine.
> > The plugins overlap, but they are contributed plugins, so it's up to the
> > user choosing wether to use DB Manager or the others.
> > My note was directed to the PG Manager mantainer...
>
> As a maintainer of PostGIS Manager I would suggest you to move to DB
> Manager since I do not intend to maintain PG Manager and remove it
> completely in future. DB Manager is a viable replacement.
>
> Martin
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Clipping 60 shape layers

2012-05-07 Thread David J. Bakeman




I do this a lot.  If both the input and the output arguments to ogr2ogr
are directories then it will clip all of the shapes in the source
directory and write them to the output directory.  In my case I let it
create the output directory but it mi9ght work to write to an existing
directory.  I use linux by the way so I don't know if it works this way
on Windows or Mac.

So: ogr2ogr -clipsrc mask.shp output source 

Shapefiles are the default so you don't even need the -f "ESRI
Shapefile".

Koos Hagg wrote:
Hi All,
have been searching around for the answer to this question, and found
an old thread on this list.
  
I have a folder which contains about 30 shapefiles, old (but still
useful) vmap0 data, but it is 500mb in size. I'd like to clip each
shapefile to just the region I need.
I understand about ogr2ogr, and I could do it one by one, 
  
but I would like to figure out how to write a batch file to do it all
at once. However- I have been trying this and that for a while, not
making any progress.
  
any help is appreciated!
  
  
Koos
  
  
  
Date: Thu, 15 Mar 2012 19:59:44 +0200
From: Zirneklitis 
Subject: Re: [Qgis-user] Clipping
  60 shape layers
To: qgis-user@lists.osgeo.org
  
Use ogr2ogr:
  
ogr2ogr -f "ESRI Shapefile" -clipsrc mask.shp output.shp input.shp
  
Karlis
  
Bis Nulama wrote:
> ..
> I have 60 shape layers and I would like to cut them on a poligon shape
> (region boundary).
> Is there a way to do this selecting all the 60
  layers at once (and not
> repeating the clip command 60 times)?
> ..
  

___
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] PostGIS Manager compatibility issue with PostGIS 2.0

2012-05-07 Thread Martin Dobias
On Mon, May 7, 2012 at 3:25 PM, G. Allegri  wrote:
> DB Manager works fine.
> The plugins overlap, but they are contributed plugins, so it's up to the
> user choosing wether to use DB Manager or the others.
> My note was directed to the PG Manager mantainer...

As a maintainer of PostGIS Manager I would suggest you to move to DB
Manager since I do not intend to maintain PG Manager and remove it
completely in future. DB Manager is a viable replacement.

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


Re: [Qgis-user] Sextante: setting the output folder

2012-05-07 Thread Victor Olaya
That looks like a bug. I will have a look at it. Do the other settings
remain between different sessions, or they are lost as well?

Thanks

Victor


2012/5/7 Paulo van Breugel :
> Hi,
>
> I am trying to change the sextante folder location by changing the path/name
> of the Output folder in the Sextante options. However, after closing and
> opening QGIS, the Output folder is set back to the default (sextante folder
> in the home folder). Anyway to do this differently?
>
> Rgds,
>
> 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


[Qgis-user] Unusual application of QGIS

2012-05-07 Thread Gerhardus Geldenhuis
Hi
I was wondering if QGIS could be used in a slightly different way.

I do EMPA ( Electron probe micro-analyzer ) of microscope slides. When it
is in the device I can note down x,y,z co-ordinates when taking a photo or
doing a sample analysis. The problem is when you remove the slide and put
it back in again these previous x,y and z components are now meaningless
because the device that holds the slide is not accurate enough to achieve
the same positioning again. I was thinking that if I had known reference
points on the slide I could "geo-reference" all pictures and scans I did
for a specific session and then when I have follow up photos and point
analysis data, taken in a separate session, I could "geo-reference these
and use QGIS to map out all the photos and pin point analysis as different
layers making it very easy to correlate data. As long as I have the
co-ordinates I should then be able to add any other microscope ( eg.
petrographic images ) data as a separate layer and match it up.

If I could get it working I could also write a plugin that could tell me
co-ordinates of a point on the "map" based on the new x,y co-ordinates when
I re-insert the microscope slide.
Just in case it is not clear let me explain:
When I insert a slide into the EMPA machine a certain spot will have
co-ordinates of 255,234,40. When I re-insert the slide it might now have
co-ordinates of 100,2000,80. However it is still the same point but because
I am measuring in nano meters small changes can make big differences.

My question is thus, does this sound possible and have anyone else done
something similar? The area being mapped is actually flat and I am not sure
if that would make a difference.

Regards

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


Re: [Qgis-user] Clipping 60 shape layers

2012-05-07 Thread Etienne Tourigny
better yet something like

for f in *.shp; do
  ogr2ogr -f "ESRI Shapefile" -clipsrc mask.shp `basename $f .shp`_clip.shp $f;
done;

On Mon, May 7, 2012 at 10:51 AM, Salvatore Larosa  wrote:
> Il giorno lun, 07/05/2012 alle 19.56 +0700, Koos Hagg ha scritto:
>> Hi All,
>> have been searching around for the answer to this question, and found
>> an old thread on this list.
>>
>> I have a folder which contains about 30 shapefiles, old (but still
>> useful) vmap0 data, but it is 500mb in size. I'd like to clip each
>> shapefile to just the region I need.
>> I understand about ogr2ogr, and I could do it one by one,
>>
>> but I would like to figure out how to write a batch file to do it all
>> at once. However- I have been trying this and that for a while, not
>> making any progress.
>>
>> any help is appreciated!
>>
> Hi Koos,
> I didn't test it!
>
> #!/bin/bash
> i=1;
> for f in *.shp; do
> ogr2ogr -f "ESRI Shapefile" -clipsrc mask.shp `basename
> $f .shp`_out_[$i].shp $f;
> i=$((i+1));
> done;
>>
> Hope this helps!
>
> Regards,
>
> -SL
>
>
> --
> Salvatore Larosa
> linkedIn: http://linkedin.com/in/larosasalvatore
> twitter: @lrssvt
> skype: s.larosa
> IRC: lrssvt
>
> ___
> 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] Clipping 60 shape layers

2012-05-07 Thread Salvatore Larosa
Il giorno lun, 07/05/2012 alle 19.56 +0700, Koos Hagg ha scritto:
> Hi All,
> have been searching around for the answer to this question, and found
> an old thread on this list.
> 
> I have a folder which contains about 30 shapefiles, old (but still
> useful) vmap0 data, but it is 500mb in size. I'd like to clip each
> shapefile to just the region I need.
> I understand about ogr2ogr, and I could do it one by one, 
> 
> but I would like to figure out how to write a batch file to do it all
> at once. However- I have been trying this and that for a while, not
> making any progress.
> 
> any help is appreciated!
> 
Hi Koos,
I didn't test it!

#!/bin/bash
i=1;
for f in *.shp; do 
ogr2ogr -f "ESRI Shapefile" -clipsrc mask.shp `basename
$f .shp`_out_[$i].shp $f;
i=$((i+1));
done;
> 
Hope this helps!

Regards,

-SL


-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt

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


[Qgis-user] Sextante: setting the output folder

2012-05-07 Thread Paulo van Breugel

Hi,

I am trying to change the sextante folder location by changing the 
path/name of the Output folder in the Sextante options. However, after 
closing and opening QGIS, the Output folder is set back to the default 
(sextante folder in the home folder). Anyway to do this differently?


Rgds,

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


Re: [Qgis-user] PostGIS Manager compatibility issue with PostGIS 2.0

2012-05-07 Thread G. Allegri
DB Manager works fine.
The plugins overlap, but they are contributed plugins, so it's up to the
user choosing wether to use DB Manager or the others.
My note was directed to the PG Manager mantainer...

giovanni

2012/5/7 Salvatore Larosa 

> Il giorno lun, 07/05/2012 alle 10.58 +0200, G. Allegri ha scritto:
> > When attempting to use the PM with a PostGIS 2.0 db I obtain the same
> > error as in  http://hub.qgis.org/issues/5201, caused by the deprecated
> > postgis_user_stats() call.
> > The plugin manager doesn't suggest updates to the PM.
> > I haven't found the tracker for the plugin. Where is it located?
> >
>
> Hi Giovanni,
> I can not even find it!
>
> However, taking advantage of your mail, I noticed a similarity
> (duplicates) between plugins PostGIS Manager, Spatialite Manager and
> RT_SQL Layer. IMO they should be removed. DBManager already does all of
> that!
>
> Am I wrong?
>
> All the Best,
>
> -SL
>
> --
> Salvatore Larosa
> linkedIn: http://linkedin.com/in/larosasalvatore
> twitter: @lrssvt
> skype: s.larosa
> IRC: lrssvt
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] PostGIS Manager compatibility issue with PostGIS 2.0

2012-05-07 Thread Salvatore Larosa
Il giorno lun, 07/05/2012 alle 10.58 +0200, G. Allegri ha scritto:
> When attempting to use the PM with a PostGIS 2.0 db I obtain the same
> error as in  http://hub.qgis.org/issues/5201, caused by the deprecated
> postgis_user_stats() call.
> The plugin manager doesn't suggest updates to the PM.
> I haven't found the tracker for the plugin. Where is it located?
> 

Hi Giovanni,
I can not even find it!

However, taking advantage of your mail, I noticed a similarity
(duplicates) between plugins PostGIS Manager, Spatialite Manager and
RT_SQL Layer. IMO they should be removed. DBManager already does all of
that!

Am I wrong?

All the Best,

-SL

-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt

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


Re: [Qgis-user] Clipping 60 shape layers

2012-05-07 Thread Koos Hagg
Hi All,
have been searching around for the answer to this question, and found an
old thread on this list.

I have a folder which contains about 30 shapefiles, old (but still useful)
vmap0 data, but it is 500mb in size. I'd like to clip each shapefile to
just the region I need.
I understand about ogr2ogr, and I could do it one by one,

but I would like to figure out how to write a batch file to do it all at
once. However- I have been trying this and that for a while, not making any
progress.

any help is appreciated!


Koos



Date: Thu, 15 Mar 2012 19:59:44 +0200
From: Zirneklitis 
Subject: Re: [Qgis-user] Clipping 60 shape layers
To: qgis-user@lists.osgeo.org

Use ogr2ogr:

ogr2ogr -f "ESRI Shapefile" -clipsrc mask.shp output.shp input.shp

Karlis

Bis Nulama wrote:
> ..
> I have 60 shape layers and I would like to cut them on a poligon shape
> (region boundary).
> Is there a way to do this selecting all the 60 layers at once (and not
> repeating the clip command 60 times)?
> ..
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Installing postgresql 9.1.3

2012-05-07 Thread Latchman Anand
Good evening to all my friends
 
 
Just download postresql 9.1.3 and installing it on my computer . Its requires a 
password . How can I obtain a password for my Programmer that i am installing 
now .
 
N.B. Please enter the correct password for the postgres windows user accoutn.
 
Thank you ___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] R example scripts in QGIS Sextante Toolbox: complains about SAGA

2012-05-07 Thread Robert Nuske
Hi Victor

> Regarding R, SEXTANTE makes a very easy test to see if it is
> installed, just trying to execute it with the "CMD BATCH" argument
> without a batch file and checking the output it gets. It shoud be
> something like "no input file". Could you try that on your command
> line and tell me what you get?

Executing "R CMD BATCH" in the shell produces nothing on my system (ubuntu 
with R including its development packages). Asking for the exit code of the 
command with "echo $?" I get "1" meaning failure.

Do I need to have SAGA to run R-Scripts via SEXTANTE?


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


Re: [Qgis-user] R example scripts in QGIS Sextante Toolbox: complains about SAGA

2012-05-07 Thread Victor Olaya
>
> Executing "R CMD BATCH" in the shell produces nothing on my system (ubuntu
> with R including its development packages). Asking for the exit code of the
> command with "echo $?" I get "1" meaning failure.

I guess that this trick was not a good one to test if R is intalled,
since I expected the output to be the same in linux and windows (my
fault for not checking it). Maybe R --version is a best one.
>
> Do I need to have SAGA to run R-Scripts via SEXTANTE?

No, they are independent (although you can combine them in SEXTANTE,
which is one of the most interesting things about it :-)) )

>
> cheers,
>  robert

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


Re: [Qgis-user] R example scripts in QGIS Sextante Toolbox: complains about SAGA

2012-05-07 Thread Paolo Cavallini
Il 07/05/2012 13:17, Agustin Lobo ha scritto:
> Therefore, I'm concerned any time important improvements or fixes are
> relegated "to svn", as this is out
> of the reach of the regular user. Users do not even know what svn is.
> If Sextante is going to become an important part of the geoprocessing
> with qgis, keeping the traditional
> simplicity and immediateness of installing fixes of qgis plugins
> should be an important goal.
>
no worries, Agus. sextante will be included in qgis, no additional
install necessary.
you'r watching at a very early preview, just added (it became part of
the qgis family in the recent Lyon hackfest), so for now you have the
choice of waiting, or learning how do deal with development tools
(extremely simple, BTW).
All the best.

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

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


Re: [Qgis-user] R example scripts in QGIS Sextante Toolbox: complains about SAGA

2012-05-07 Thread Agustin Lobo
One of the main and nicest characteristics of QGIS is that
the core keeps a relatively small (although not that small any more)
number of functions that are stable
and then the plugins provide a cloud of many (ever growing) tools that
are being continuously developed. This
could have been a nightmare for users but it's actually close to
heaven because upgrading these tools
is so fast and easy that actually makes QGIS and excellent arena for
the interaction of developers and users.
No other GIS software provides such an environment.

Therefore, I'm concerned any time important improvements or fixes are
relegated "to svn", as this is out
of the reach of the regular user. Users do not even know what svn is.
If Sextante is going to become an important part of the geoprocessing
with qgis, keeping the traditional
simplicity and immediateness of installing fixes of qgis plugins
should be an important goal.

If no other alternative is possible (I hope this is not the case) ,
maybe all users should learn few svn commands, but in such a case
those commands should be in the User's Manual.

Many thanks for the new version that you announce.

Agus

2012/5/7 Victor Olaya :
> Agustin,
>
> They are inmediatly available in the SVN version, but not in a new
> release, at least not until I manually create one and upload it. This
> task could be automated, but currently it is not. I will try to have a
> new version today, since there are already a few interesting changes
>
> Regarding R, SEXTANTE makes a very easy test to see if it is
> installed, just trying to execute it with the "CMD BATCH" argument
> without a batch file and checking the output it gets. It shoud be
> something like "no input file". Could you try that on your command
> line and tell me what you get?
>
> Thanks!
>
>
>
> 2012/5/7 Paolo Cavallini :
>> Il 07/05/2012 11:31, Agustin Lobo ha scritto:
>>> Victor,
>>> yes, I'm using ubuntu 10.04 as mentioned. And R works.
>>> What do regular users have to do in order to get the SVN version? compiling?
>>> If this is a python plugin (SEXTANTE Geoprocessing platform for QGIS),
>>> should not the bug fixes be immediately available to users by
>>> installing the new version of the plugin?
>>>
>>
>> svn up is your friend here ;)
>>
>> --
>> Paolo Cavallini
>> See: http://www.faunalia.it/pc
>>
>> ___
>> 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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Errors with Qgis

2012-05-07 Thread Latchman Anand
Hi all
 
Errors with quantum when starting quantum.
 
Couldn't load plugin FastSqlLayer due an error when calling its initGui() method

Traceback (most recent call last):
  File "C:/PROGRA~1/Quantum GIS Wroclaw/apps/qgis/./python\qgis\utils.py", line 
147, in startPlugin
    plugins[packageName].initGui()
  File "C:/qgis/python/plugins\FastSqlLayer\postgislayer.py", line 60, in 
initGui
    actions = conn.getAvailableConnections()
  File "C:qgis/python/plugins\FastSqlLayer\DbConnection.py", line 48, in 
getAvailableConnections
    connection = self.getConnection( c )
  File "C:qgis/python/plugins\FastSqlLayer\DbConnection.py", line 32, in 
getConnection
    exec( "from connectors import %s as connector" % conntype)
  File "", line 1, in 
  File "C:/PROGRA~1/Quantum GIS Wroclaw/apps/qgis/./python\qgis\utils.py", line 
283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/qgis/python/plugins\FastSqlLayer\connectors\spatialite.py", line 18, 
in 
    from pyspatialite import dbapi2 as sqlite
  File "C:/PROGRA~1/Quantum GIS Wroclaw/apps/qgis/./python\qgis\utils.py", line 
283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/PROGRA~1/Quantum GIS 
Wroclaw/apps/qgis/./python\pyspatialite\dbapi2.py", line 27, in 
    from pyspatialite._spatialite import *
  File "C:/PROGRA~1/Quantum GIS Wroclaw/apps/qgis/./python\qgis\utils.py", line 
283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: DLL load failed: %1 is not a valid Win32 application.

Python version:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]

QGIS version:
1.7.4-Wroclaw Wroclaw, 411aff6
Python path: ['C:\\qgis\\python\\plugins\\elevation', 
'C:/PROGRA~1/Quantum GIS Wroclaw/apps/qgis/./python', '
C:\\PROGRA~1\\Quantum GIS Wroclaw\\bin\\python27.zip', '
C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\DLLs', 
'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib', '
C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\plat-win', '
C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\lib-tk', '
C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\qgis\\bin', '
C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27', '
C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages', 
'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\PIL', 
'C:\\PROGRA~1\\Quantum GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\win32', 
'C:\\PROGRA~1\\Quantum GIS 
Wroclaw\\apps\\Python27\\lib\\site-packages\\win32\\lib', 
'C:\\PROGRA~1\\Quantum GIS 
Wroclaw\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~1\\Quantum 
GIS Wroclaw\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', '
C:\qgis\\python\\plugins\\cataloginpecreate\\logic', 
C:qgis\\python\\plugins\\cataloginpecreate\\gui', '
C:\\qgis\\python\\plugins\\cataloginpequicklookorder\\logic',
C:\\qgis\\python\\plugins\\cataloginpequicklookorder\\gui', '.']
how can i solve this problem . and how do i reinstalled this websit .___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] R example scripts in QGIS Sextante Toolbox: complains about SAGA

2012-05-07 Thread Victor Olaya
Agustin,

They are inmediatly available in the SVN version, but not in a new
release, at least not until I manually create one and upload it. This
task could be automated, but currently it is not. I will try to have a
new version today, since there are already a few interesting changes

Regarding R, SEXTANTE makes a very easy test to see if it is
installed, just trying to execute it with the "CMD BATCH" argument
without a batch file and checking the output it gets. It shoud be
something like "no input file". Could you try that on your command
line and tell me what you get?

Thanks!



2012/5/7 Paolo Cavallini :
> Il 07/05/2012 11:31, Agustin Lobo ha scritto:
>> Victor,
>> yes, I'm using ubuntu 10.04 as mentioned. And R works.
>> What do regular users have to do in order to get the SVN version? compiling?
>> If this is a python plugin (SEXTANTE Geoprocessing platform for QGIS),
>> should not the bug fixes be immediately available to users by
>> installing the new version of the plugin?
>>
>
> svn up is your friend here ;)
>
> --
> Paolo Cavallini
> See: http://www.faunalia.it/pc
>
> ___
> 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] fTools ans mmqgis in SAGA Toolbox

2012-05-07 Thread Victor Olaya
Also, note that tools can be deactivated in the SEXTANTE config
dialog. And if they come from another GIS plugin, that plugin can also
be deactivated. So you have the same as in the toolbar, but vertical
and, (what is a really great advantage, as Paolo said) with filtering

Regards

Victor


2012/5/7 Paolo Cavallini :
> Il 07/05/2012 11:40, Agustin Lobo ha scritto:
>> It's ok as far as people are told about it.
>> A better structure is always welcome, but note that putting too many of
>> the tools currently organized as menu bars within 1 single vertical
>> menu will also
>> become uncomfortable. By now it's fine, as there are relatively few
>> main subsections
>> within the Sextante Toolbox.
>>
>>
> IMHO filtering by name and description is the only option when you have
>> 100 tools
>
> --
> Paolo Cavallini
> See: http://www.faunalia.it/pc
>
> ___
> 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] fTools ans mmqgis in SAGA Toolbox

2012-05-07 Thread Paolo Cavallini
Il 07/05/2012 11:40, Agustin Lobo ha scritto:
> It's ok as far as people are told about it.
> A better structure is always welcome, but note that putting too many of
> the tools currently organized as menu bars within 1 single vertical
> menu will also
> become uncomfortable. By now it's fine, as there are relatively few
> main subsections
> within the Sextante Toolbox.
>
>
IMHO filtering by name and description is the only option when you have
> 100 tools

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

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


Re: [Qgis-user] fTools ans mmqgis in SAGA Toolbox

2012-05-07 Thread Agustin Lobo
It's ok as far as people are told about it.
A better structure is always welcome, but note that putting too many of
the tools currently organized as menu bars within 1 single vertical
menu will also
become uncomfortable. By now it's fine, as there are relatively few
main subsections
within the Sextante Toolbox.

Agus

2012/5/7 Victor Olaya :
> They are just alternative versions, as you said. We are trying to
> incorporate all tools into SEXTANTE, consuming algorithms from
> external apps, but these might contain algorithms already included in
> other apps also linked from SEXTANTE (there are, for instance, many
> common elements between GRASS and SAGA)
>
> I hope this does not confuse the user, but all opinions are welcome
>
> Regards
>
> victor
>
> 2012/5/7 Agustin Lobo :
>> Hi!
>>
>> What's the purpose of having some of the tools provided by mmqgis and
>> fTools within
>> the SAGA Toolbox? Are those alternative, faster implementations or
>> just another way of
>> structuring the menu?
>>
>> Thanks
>>
>> 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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] R example scripts in QGIS Sextante Toolbox: complains about SAGA

2012-05-07 Thread Paolo Cavallini
Il 07/05/2012 11:31, Agustin Lobo ha scritto:
> Victor,
> yes, I'm using ubuntu 10.04 as mentioned. And R works.
> What do regular users have to do in order to get the SVN version? compiling?
> If this is a python plugin (SEXTANTE Geoprocessing platform for QGIS),
> should not the bug fixes be immediately available to users by
> installing the new version of the plugin?
>

svn up is your friend here ;)

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

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


Re: [Qgis-user] R example scripts in QGIS Sextante Toolbox: complains about SAGA

2012-05-07 Thread Agustin Lobo
Victor,
yes, I'm using ubuntu 10.04 as mentioned. And R works.
What do regular users have to do in order to get the SVN version? compiling?
If this is a python plugin (SEXTANTE Geoprocessing platform for QGIS),
should not the bug fixes be immediately available to users by
installing the new version of the plugin?
Thanks
Agus
2012/5/7 Victor Olaya :
> Agustin
>
> That is a typo that is already corrected in the SVN version. It really
> means that R is not installed (or at least, SEXTANTE cannot find it).
> You should make sure that R is available (opening a console and typing
> "r" should work, with no need of additional settings)
>
> i assume that you are using linux, right?
>
> Regards
>
> Victor
>
>
>
> 2012/5/7 Agustin Lobo :
>> Whenever I try to use one of the R scripts included as example scripts
>> in the SEXTANTE
>> version of QGIS, I get:
>> It seems that SAGA is not correctly installed in your system.
>> Please install it before running SAGA algorithms.
>>
>> Do I really need SAGA for these scripts or is this an error of the checking?
>> In any case, I do have SAGA 2.0.7
>>
>> Using SEXTANTE v1.0.4 for QGIS 1.7.4 on Ubuntu 10.04
>>
>> Thanks,
>>
>> 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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] fTools ans mmqgis in SAGA Toolbox

2012-05-07 Thread Paolo Cavallini
Il 07/05/2012 11:20, Victor Olaya ha scritto:
> They are just alternative versions, as you said. We are trying to
> incorporate all tools into SEXTANTE, consuming algorithms from
> external apps, but these might contain algorithms already included in
> other apps also linked from SEXTANTE (there are, for instance, many
> common elements between GRASS and SAGA)
>
> I hope this does not confuse the user, but all opinions are welcome
+1 for me. Main advantages I see:
- one place to find all
- coherent interface
- the developers can stop thinking to the interface, and concentrate on
algorithms
- commands can be chained, and workflows easily build.
Thanks.

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

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


Re: [Qgis-user] fTools ans mmqgis in SAGA Toolbox

2012-05-07 Thread Victor Olaya
They are just alternative versions, as you said. We are trying to
incorporate all tools into SEXTANTE, consuming algorithms from
external apps, but these might contain algorithms already included in
other apps also linked from SEXTANTE (there are, for instance, many
common elements between GRASS and SAGA)

I hope this does not confuse the user, but all opinions are welcome

Regards

victor

2012/5/7 Agustin Lobo :
> Hi!
>
> What's the purpose of having some of the tools provided by mmqgis and
> fTools within
> the SAGA Toolbox? Are those alternative, faster implementations or
> just another way of
> structuring the menu?
>
> Thanks
>
> 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] R example scripts in QGIS Sextante Toolbox: complains about SAGA

2012-05-07 Thread Victor Olaya
Agustin

That is a typo that is already corrected in the SVN version. It really
means that R is not installed (or at least, SEXTANTE cannot find it).
You should make sure that R is available (opening a console and typing
"r" should work, with no need of additional settings)

i assume that you are using linux, right?

Regards

Victor



2012/5/7 Agustin Lobo :
> Whenever I try to use one of the R scripts included as example scripts
> in the SEXTANTE
> version of QGIS, I get:
> It seems that SAGA is not correctly installed in your system.
> Please install it before running SAGA algorithms.
>
> Do I really need SAGA for these scripts or is this an error of the checking?
> In any case, I do have SAGA 2.0.7
>
> Using SEXTANTE v1.0.4 for QGIS 1.7.4 on Ubuntu 10.04
>
> Thanks,
>
> 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


[Qgis-user] fTools ans mmqgis in SAGA Toolbox

2012-05-07 Thread Agustin Lobo
Hi!

What's the purpose of having some of the tools provided by mmqgis and
fTools within
the SAGA Toolbox? Are those alternative, faster implementations or
just another way of
structuring the menu?

Thanks

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


[Qgis-user] R example scripts in QGIS Sextante Toolbox: complains about SAGA

2012-05-07 Thread Agustin Lobo
Whenever I try to use one of the R scripts included as example scripts
in the SEXTANTE
version of QGIS, I get:
It seems that SAGA is not correctly installed in your system.
Please install it before running SAGA algorithms.

Do I really need SAGA for these scripts or is this an error of the checking?
In any case, I do have SAGA 2.0.7

Using SEXTANTE v1.0.4 for QGIS 1.7.4 on Ubuntu 10.04

Thanks,

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


[Qgis-user] PostGIS Manager compatibility issue with PostGIS 2.0

2012-05-07 Thread G. Allegri
When attempting to use the PM with a PostGIS 2.0 db I obtain the same error
as in  http://hub.qgis.org/issues/5201, caused by the deprecated
postgis_user_stats() call.
The plugin manager doesn't suggest updates to the PM.
I haven't found the tracker for the plugin. Where is it located?

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