[Qgis-user] QGIS server and fcgi with ubuntu 12.04

2013-06-10 Thread Ziegler Stefan
Hi 

I have some problems running QGIS server as fcgi with Ubuntu 12.04. apachectl 
-t -D DUMP_MODULES shows that the fcgid module ist loaded. But I only get 
errors when trying to run it as fcgi:

[Sun Jun 09 21:24:39 2013] [error] [client 37.35.115.249] Premature end of 
script headers: qgis_mapserv.fcgi, referer: 
http://www.catais.org/map/grundbuchplan?startExtent=615721,222428,619877,226198visibleLayers=Baulinie,Amtliche%20Vermessung%20(schwarz-weiss),Strassenkarteformat=image%2fpng%3b%20mode%3d8bit
[Sun Jun 09 21:24:40 2013] [warn] [client 37.35.115.249] (104)Connection reset 
by peer: mod_fcgid: error reading data from FastCGI server, referer: 
http://www.catais.org/map/grundbuchplan?startExtent=615721,222428,619877,226198visibleLayers=Baulinie,Amtliche%20Vermessung%20(schwarz-weiss),Strassenkarteformat=image%2fpng%3b%20mode%3d8bit

When commenting out AddHandler fcgid-script .fcgi line from fcgid.conf file 
it only runs as normal cgi and then it's terrible slow. I'm using a self 
compiled master version of QGIS. Had anyone similar problems with ubuntu 12.04? 
It worked with the same configuration with Ubuntu 10.04.

Excerpts from virtual host config:

ScriptAlias  /cgi-bin/ /home/catais/catais.org/docroot/cgi-bin/
 Directory /home/catais/catais.org/docroot/cgi-bin
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
#SetHandler fcgid-script 
#AddHandler fcgid-script .fcgi

Order allow,deny
Allow from all
SetEnv LD_LIBRARY_PATH /home/catais/Apps/qgis_master/lib
 /Directory

Fcgid.conf:

IfModule mod_fcgid.c
  AddHandlerfcgid-script .fcgi
  FcgidConnectTimeout 600
  FcgidMaxRequestLen 134217728

  FcgidMaxProcesses 50
  FcgidMinProcessesPerClass 5
  FcgidMaxProcessesPerClass 20

  ProcessLifeTime 7200
  IPCCommTimeout  7200
  IPCConnectTimeout 300

  FcgidProcessLifeTime 7200

  SocketPath /var/lib/apache2/fcgid/sock
  FcgidInitialEnv LD_LIBRARY_PATH /home/catais/Apps/qgis_master/lib
  FcgidInitialEnv DISPLAY :0
  FcgidInitialEnv LANG=de_CH.UTF-8
/IfModule

Regards
Stefan

Freundliche Grüsse 
Stefan Ziegler 
Leiter amtliche Vermessung 

Amt für Geoinformation
Amtliche Vermessung 
Rötistrasse 4 
4500 Solothurn 

Telefon +41 32 627 75 96
Telefax +41 32 627 75 98 
stefan.zieg...@bd.so.ch
http://www.so.ch 

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


Re: [Qgis-user] QGIS server and fcgi with ubuntu 12.04

2013-06-10 Thread Andreas Neumann
Hi Stefan,

Did you check these paths with ccmake before compiling?

FCGI_INCLUDE_DIR
FCGI_LIBRARY

Maybe checking these paths and rerunning ccmake would help?

Andreas

Am 10.06.2013 08:34, schrieb Ziegler Stefan:
 Hi 
 
 I have some problems running QGIS server as fcgi with Ubuntu 12.04. 
 apachectl -t -D DUMP_MODULES shows that the fcgid module ist loaded. But I 
 only get errors when trying to run it as fcgi:
 
 [Sun Jun 09 21:24:39 2013] [error] [client 37.35.115.249] Premature end of 
 script headers: qgis_mapserv.fcgi, referer: 
 http://www.catais.org/map/grundbuchplan?startExtent=615721,222428,619877,226198visibleLayers=Baulinie,Amtliche%20Vermessung%20(schwarz-weiss),Strassenkarteformat=image%2fpng%3b%20mode%3d8bit
 [Sun Jun 09 21:24:40 2013] [warn] [client 37.35.115.249] (104)Connection 
 reset by peer: mod_fcgid: error reading data from FastCGI server, referer: 
 http://www.catais.org/map/grundbuchplan?startExtent=615721,222428,619877,226198visibleLayers=Baulinie,Amtliche%20Vermessung%20(schwarz-weiss),Strassenkarteformat=image%2fpng%3b%20mode%3d8bit
 
 When commenting out AddHandler fcgid-script .fcgi line from fcgid.conf file 
 it only runs as normal cgi and then it's terrible slow. I'm using a self 
 compiled master version of QGIS. Had anyone similar problems with ubuntu 
 12.04? It worked with the same configuration with Ubuntu 10.04.
 
 Excerpts from virtual host config:
 
 ScriptAlias  /cgi-bin/ /home/catais/catais.org/docroot/cgi-bin/
  Directory /home/catais/catais.org/docroot/cgi-bin
 AllowOverride None
 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
 #SetHandler fcgid-script 
 #AddHandler fcgid-script .fcgi
 
 Order allow,deny
 Allow from all
 SetEnv LD_LIBRARY_PATH /home/catais/Apps/qgis_master/lib
  /Directory
 
 Fcgid.conf:
 
 IfModule mod_fcgid.c
   AddHandlerfcgid-script .fcgi
   FcgidConnectTimeout 600
   FcgidMaxRequestLen 134217728
 
   FcgidMaxProcesses 50
   FcgidMinProcessesPerClass 5
   FcgidMaxProcessesPerClass 20
 
   ProcessLifeTime 7200
   IPCCommTimeout  7200
   IPCConnectTimeout 300
 
   FcgidProcessLifeTime 7200
 
   SocketPath /var/lib/apache2/fcgid/sock
   FcgidInitialEnv LD_LIBRARY_PATH /home/catais/Apps/qgis_master/lib
   FcgidInitialEnv DISPLAY :0
   FcgidInitialEnv LANG=de_CH.UTF-8
 /IfModule
 
 Regards
 Stefan
 
 Freundliche Grüsse 
 Stefan Ziegler 
 Leiter amtliche Vermessung 
 
 Amt für Geoinformation
 Amtliche Vermessung 
 Rötistrasse 4 
 4500 Solothurn 
 
 Telefon +41 32 627 75 96
 Telefax +41 32 627 75 98 
 stefan.zieg...@bd.so.ch
 http://www.so.ch 
 
 ___
 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] QGIS server and fcgi with ubuntu 12.04

2013-06-10 Thread Ziegler Stefan
Hi Andi

FCGI_INCLUDE_DIR /usr/include
FCGI_LIBRARY /usr/lib/libfcgi.so

In /usr/include there are some header files:

fcgiapp.h, fcgi_config.h, fcgimisc.h, fcgio.h, fcgios.h, fcgi_stdio.h

And /usr/lib/libfcgi.so is found.

Regards
Stefan 


 -Ursprüngliche Nachricht-
 Von: qgis-user-boun...@lists.osgeo.org 
 [mailto:qgis-user-boun...@lists.osgeo.org] Im
 Auftrag von Andreas Neumann
 Gesendet: Montag, 10. Juni 2013 09:36
 An: qgis-user@lists.osgeo.org
 Betreff: Re: [Qgis-user] QGIS server and fcgi with ubuntu 12.04
 
 Hi Stefan,
 
 Did you check these paths with ccmake before compiling?
 
 FCGI_INCLUDE_DIR
 FCGI_LIBRARY
 
 Maybe checking these paths and rerunning ccmake would help?
 
 Andreas
 
 Am 10.06.2013 08:34, schrieb Ziegler Stefan:
  Hi
 
  I have some problems running QGIS server as fcgi with Ubuntu 12.04. 
  apachectl -t
 -D DUMP_MODULES shows that the fcgid module ist loaded. But I only get 
 errors when
 trying to run it as fcgi:
 
  [Sun Jun 09 21:24:39 2013] [error] [client 37.35.115.249] Premature
  end of script headers: qgis_mapserv.fcgi, referer:
  http://www.catais.org/map/grundbuchplan?startExtent=615721,222428,6198
  77,226198visibleLayers=Baulinie,Amtliche%20Vermessung%20(schwarz-weis
  s),Strassenkarteformat=image%2fpng%3b%20mode%3d8bit
  [Sun Jun 09 21:24:40 2013] [warn] [client 37.35.115.249]
  (104)Connection reset by peer: mod_fcgid: error reading data from
  FastCGI server, referer:
  http://www.catais.org/map/grundbuchplan?startExtent=615721,222428,6198
  77,226198visibleLayers=Baulinie,Amtliche%20Vermessung%20(schwarz-weis
  s),Strassenkarteformat=image%2fpng%3b%20mode%3d8bit
 
  When commenting out AddHandler fcgid-script .fcgi line from fcgid.conf 
  file it only
 runs as normal cgi and then it's terrible slow. I'm using a self compiled 
 master version
 of QGIS. Had anyone similar problems with ubuntu 12.04? It worked with the 
 same
 configuration with Ubuntu 10.04.
 
  Excerpts from virtual host config:
 
  ScriptAlias  /cgi-bin/ /home/catais/catais.org/docroot/cgi-bin/
   Directory /home/catais/catais.org/docroot/cgi-bin
  AllowOverride None
  Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  #SetHandler fcgid-script
  #AddHandler fcgid-script .fcgi
 
  Order allow,deny
  Allow from all
  SetEnv LD_LIBRARY_PATH /home/catais/Apps/qgis_master/lib
  /Directory
 
  Fcgid.conf:
 
  IfModule mod_fcgid.c
AddHandlerfcgid-script .fcgi
FcgidConnectTimeout 600
FcgidMaxRequestLen 134217728
 
FcgidMaxProcesses 50
FcgidMinProcessesPerClass 5
FcgidMaxProcessesPerClass 20
 
ProcessLifeTime 7200
IPCCommTimeout  7200
IPCConnectTimeout 300
 
FcgidProcessLifeTime 7200
 
SocketPath /var/lib/apache2/fcgid/sock
FcgidInitialEnv LD_LIBRARY_PATH /home/catais/Apps/qgis_master/lib
FcgidInitialEnv DISPLAY :0
FcgidInitialEnv LANG=de_CH.UTF-8
  /IfModule
 
  Regards
  Stefan
 
  Freundliche Grüsse
  Stefan Ziegler
  Leiter amtliche Vermessung
 
  Amt für Geoinformation
  Amtliche Vermessung
  Rötistrasse 4
  4500 Solothurn
 
  Telefon +41 32 627 75 96
  Telefax +41 32 627 75 98
  stefan.zieg...@bd.so.ch
  http://www.so.ch
 
  ___
  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] QGIS Lisboa: problem adding labels and scales in print composer since I installed OSX 10.8 on my Mac

2013-06-10 Thread Marleen Arckens
I am using QGIS Lisboa on my MAC OSX 10.8. As long as I used the OSX 10.6 
system I never had a problem adding labels, scales or pictures in the print 
composer. Since the update I am no longer able to do this. 

I already tried installing QGIS, GDAL complete and GSL a new.

Can somebody help me to solve this problem ?

Kind regards

Marleen Arckens

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


Re: [Qgis-user] QGIS server and fcgi with ubuntu 12.04

2013-06-10 Thread Marco Hugentobler

And /usr/lib/libfcgi.so is found.


It is part of package libfcgi-dev

Regards,
Marco

On 10.06.2013 10:37, Ziegler Stefan wrote:

Hi Andi

FCGI_INCLUDE_DIR /usr/include
FCGI_LIBRARY /usr/lib/libfcgi.so

In /usr/include there are some header files:

fcgiapp.h, fcgi_config.h, fcgimisc.h, fcgio.h, fcgios.h, fcgi_stdio.h

And /usr/lib/libfcgi.so is found.

Regards
Stefan



-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] Im
Auftrag von Andreas Neumann
Gesendet: Montag, 10. Juni 2013 09:36
An: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] QGIS server and fcgi with ubuntu 12.04

Hi Stefan,

Did you check these paths with ccmake before compiling?

FCGI_INCLUDE_DIR
FCGI_LIBRARY

Maybe checking these paths and rerunning ccmake would help?

Andreas

Am 10.06.2013 08:34, schrieb Ziegler Stefan:

Hi

I have some problems running QGIS server as fcgi with Ubuntu 12.04. apachectl 
-t

-D DUMP_MODULES shows that the fcgid module ist loaded. But I only get errors 
when
trying to run it as fcgi:

[Sun Jun 09 21:24:39 2013] [error] [client 37.35.115.249] Premature
end of script headers: qgis_mapserv.fcgi, referer:
http://www.catais.org/map/grundbuchplan?startExtent=615721,222428,6198
77,226198visibleLayers=Baulinie,Amtliche%20Vermessung%20(schwarz-weis
s),Strassenkarteformat=image%2fpng%3b%20mode%3d8bit
[Sun Jun 09 21:24:40 2013] [warn] [client 37.35.115.249]
(104)Connection reset by peer: mod_fcgid: error reading data from
FastCGI server, referer:
http://www.catais.org/map/grundbuchplan?startExtent=615721,222428,6198
77,226198visibleLayers=Baulinie,Amtliche%20Vermessung%20(schwarz-weis
s),Strassenkarteformat=image%2fpng%3b%20mode%3d8bit

When commenting out AddHandler fcgid-script .fcgi line from fcgid.conf file 
it only

runs as normal cgi and then it's terrible slow. I'm using a self compiled 
master version
of QGIS. Had anyone similar problems with ubuntu 12.04? It worked with the same
configuration with Ubuntu 10.04.

Excerpts from virtual host config:

ScriptAlias  /cgi-bin/ /home/catais/catais.org/docroot/cgi-bin/
  Directory /home/catais/catais.org/docroot/cgi-bin
 AllowOverride None
 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
 #SetHandler fcgid-script
 #AddHandler fcgid-script .fcgi

 Order allow,deny
 Allow from all
 SetEnv LD_LIBRARY_PATH /home/catais/Apps/qgis_master/lib
/Directory

Fcgid.conf:

IfModule mod_fcgid.c
   AddHandlerfcgid-script .fcgi
   FcgidConnectTimeout 600
   FcgidMaxRequestLen 134217728

   FcgidMaxProcesses 50
   FcgidMinProcessesPerClass 5
   FcgidMaxProcessesPerClass 20

   ProcessLifeTime 7200
   IPCCommTimeout  7200
   IPCConnectTimeout 300

   FcgidProcessLifeTime 7200

   SocketPath /var/lib/apache2/fcgid/sock
   FcgidInitialEnv LD_LIBRARY_PATH /home/catais/Apps/qgis_master/lib
   FcgidInitialEnv DISPLAY :0
   FcgidInitialEnv LANG=de_CH.UTF-8
/IfModule

Regards
Stefan

Freundliche Grüsse
Stefan Ziegler
Leiter amtliche Vermessung

Amt für Geoinformation
Amtliche Vermessung
Rötistrasse 4
4500 Solothurn

Telefon +41 32 627 75 96
Telefax +41 32 627 75 98
stefan.zieg...@bd.so.ch
http://www.so.ch

___
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



--
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-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS server and fcgi with ubuntu 12.04

2013-06-10 Thread Ziegler Stefan
Libfcgi-dev is installed.

Regards
Stefan 

 -Ursprüngliche Nachricht-
 Von: qgis-user-boun...@lists.osgeo.org 
 [mailto:qgis-user-boun...@lists.osgeo.org] Im
 Auftrag von Marco Hugentobler
 Gesendet: Montag, 10. Juni 2013 10:43
 An: qgis-user@lists.osgeo.org
 Betreff: Re: [Qgis-user] QGIS server and fcgi with ubuntu 12.04
 
 And /usr/lib/libfcgi.so is found.
 
 It is part of package libfcgi-dev
 
 Regards,
 Marco
 
 On 10.06.2013 10:37, Ziegler Stefan wrote:
  Hi Andi
 
  FCGI_INCLUDE_DIR /usr/include
  FCGI_LIBRARY /usr/lib/libfcgi.so
 
  In /usr/include there are some header files:
 
  fcgiapp.h, fcgi_config.h, fcgimisc.h, fcgio.h, fcgios.h, fcgi_stdio.h
 
  And /usr/lib/libfcgi.so is found.
 
  Regards
  Stefan
 
 
  -Ursprüngliche Nachricht-
  Von: qgis-user-boun...@lists.osgeo.org
  [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von Andreas
  Neumann
  Gesendet: Montag, 10. Juni 2013 09:36
  An: qgis-user@lists.osgeo.org
  Betreff: Re: [Qgis-user] QGIS server and fcgi with ubuntu 12.04
 
  Hi Stefan,
 
  Did you check these paths with ccmake before compiling?
 
  FCGI_INCLUDE_DIR
  FCGI_LIBRARY
 
  Maybe checking these paths and rerunning ccmake would help?
 
  Andreas
 
  Am 10.06.2013 08:34, schrieb Ziegler Stefan:
  Hi
 
  I have some problems running QGIS server as fcgi with Ubuntu 12.04.
  apachectl -t
  -D DUMP_MODULES shows that the fcgid module ist loaded. But I only
  get errors when trying to run it as fcgi:
  [Sun Jun 09 21:24:39 2013] [error] [client 37.35.115.249] Premature
  end of script headers: qgis_mapserv.fcgi, referer:
  http://www.catais.org/map/grundbuchplan?startExtent=615721,222428,61
  98
  77,226198visibleLayers=Baulinie,Amtliche%20Vermessung%20(schwarz-we
  is s),Strassenkarteformat=image%2fpng%3b%20mode%3d8bit
  [Sun Jun 09 21:24:40 2013] [warn] [client 37.35.115.249]
  (104)Connection reset by peer: mod_fcgid: error reading data from
  FastCGI server, referer:
  http://www.catais.org/map/grundbuchplan?startExtent=615721,222428,61
  98
  77,226198visibleLayers=Baulinie,Amtliche%20Vermessung%20(schwarz-we
  is s),Strassenkarteformat=image%2fpng%3b%20mode%3d8bit
 
  When commenting out AddHandler fcgid-script .fcgi line from
  fcgid.conf file it only
  runs as normal cgi and then it's terrible slow. I'm using a self
  compiled master version of QGIS. Had anyone similar problems with
  ubuntu 12.04? It worked with the same configuration with Ubuntu 10.04.
  Excerpts from virtual host config:
 
  ScriptAlias  /cgi-bin/ /home/catais/catais.org/docroot/cgi-bin/
Directory /home/catais/catais.org/docroot/cgi-bin
   AllowOverride None
   Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
   #SetHandler fcgid-script
   #AddHandler fcgid-script .fcgi
 
   Order allow,deny
   Allow from all
   SetEnv LD_LIBRARY_PATH /home/catais/Apps/qgis_master/lib
  /Directory
 
  Fcgid.conf:
 
  IfModule mod_fcgid.c
 AddHandlerfcgid-script .fcgi
 FcgidConnectTimeout 600
 FcgidMaxRequestLen 134217728
 
 FcgidMaxProcesses 50
 FcgidMinProcessesPerClass 5
 FcgidMaxProcessesPerClass 20
 
 ProcessLifeTime 7200
 IPCCommTimeout  7200
 IPCConnectTimeout 300
 
 FcgidProcessLifeTime 7200
 
 SocketPath /var/lib/apache2/fcgid/sock
 FcgidInitialEnv LD_LIBRARY_PATH /home/catais/Apps/qgis_master/lib
 FcgidInitialEnv DISPLAY :0
 FcgidInitialEnv LANG=de_CH.UTF-8
  /IfModule
 
  Regards
  Stefan
 
  Freundliche Grüsse
  Stefan Ziegler
  Leiter amtliche Vermessung
 
  Amt für Geoinformation
  Amtliche Vermessung
  Rötistrasse 4
  4500 Solothurn
 
  Telefon +41 32 627 75 96
  Telefax +41 32 627 75 98
  stefan.zieg...@bd.so.ch
  http://www.so.ch
 
  ___
  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
 
 
 --
 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-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] Qgis Mapserver and Sextante for WPS publishing?

2013-06-10 Thread G. Allegri
Months ago some thoughts on the implementation of WPS services through Qgis
Mapserver and Sextante were share on the ML.
Is it prosecuted in real implementations? Just to know. In case I would be
interested to contribute.

Giovanni

-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qgis Mapserver and Sextante for WPS publishing?

2013-06-10 Thread Pirmin Kalberer
Hi Giovanni,

Am Montag, 10. Juni 2013, 11.54:15 schrieb G. Allegri:
 Months ago some thoughts on the implementation of WPS services through Qgis
 Mapserver and Sextante were share on the ML.

Latest version of WPS plugin has experimental Sextante support.

 Is it prosecuted in real implementations? Just to know. In case I would be
 interested to contribute.

There will be a talk at FOSSGIS this Friday:
http://www.fossgis.de/konferenz/2013/programm/events/509.de.html

Regards
Pirmin

-- 
Pirmin Kalberer
Sourcepole  -  Linux  Open Source Solutions
http://www.sourcepole.com

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


Re: [Qgis-user] Qgis Mapserver and Sextante for WPS publishing?

2013-06-10 Thread G. Allegri
Hi Pirmin,

Latest version of WPS plugin has experimental Sextante support.


What do you mean? Where is Sextante running, server side?

giovanni



  Is it prosecuted in real implementations? Just to know. In case I would
 be
  interested to contribute.

 There will be a talk at FOSSGIS this Friday:
 http://www.fossgis.de/konferenz/2013/programm/events/509.de.html

 Regards
 Pirmin

 --
 Pirmin Kalberer
 Sourcepole  -  Linux  Open Source Solutions
 http://www.sourcepole.com




-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] SpatiaLite views

2013-06-10 Thread Andreas Neumann
Hi,

I wanted to create a view with spatial data in SpatiaLite. I can create
the view by hand in DB-Manager and I created entries in the
views_geometry_columns table.

But when I add the view it is always added as a non-geometry table
containing only attributes but no geometry.

Am I missing additional entries in some metadata table?

I tried to follow the instructions here:
http://www.gaia-gis.it/gaia-sins/spatialite-cookbook/html/sp-view.html -
but it does not work as described here.

I can add the table from the view but all I get is no geometry and
Error content in every cell.

I am using the current QGIS master.

Thank you if you have any idea how to correctly manage views in SpatiaLite.

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


Re: [Qgis-user] Qgis Mapserver and Sextante for WPS publishing?

2013-06-10 Thread Pirmin Kalberer
Giovanni,

Am Montag, 10. Juni 2013, 13.35:37 schrieb G. Allegri:
 
 Latest version of WPS plugin has experimental Sextante support.
 
 
 What do you mean? Where is Sextante running, server side?

WPS processes are now available as Sextante algorithms and can be used with 
with the model builder.
For running sextante processes on server side my intension is to build on the 
Sextante Python script export functionality. It would be easy to extend the 
generated Python code with PyWPS class definitions.

Pirmin

 
 giovanni
 
   Is it prosecuted in real implementations? Just to know. In case I would
  
  be
  
   interested to contribute.
  
  There will be a talk at FOSSGIS this Friday:
  http://www.fossgis.de/konferenz/2013/programm/events/509.de.html
  
  Regards
  Pirmin
  
  --
  Pirmin Kalberer
  Sourcepole  -  Linux  Open Source Solutions
  http://www.sourcepole.com
-- 
Pirmin Kalberer
Sourcepole  -  Linux  Open Source Solutions
http://www.sourcepole.com

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


Re: [Qgis-user] Qgis Mapserver and Sextante for WPS publishing?

2013-06-10 Thread G. Allegri
Ok. It's exactly the reversed way.
So there's non (public) implementation of server side Sextante yet.
The tough part, afaics, is to get rid of the tight coupling with the GUI
components in the Core modules. I imagine they would be a bottleneck for
performances, wouldn't they?

giovanni

Sent from Nexus
Il giorno 10/giu/2013 14:01, Pirmin Kalberer pi...@sourcepole.com ha
scritto:

 Giovanni,

 Am Montag, 10. Juni 2013, 13.35:37 schrieb G. Allegri:
 
  Latest version of WPS plugin has experimental Sextante support.
 
 
  What do you mean? Where is Sextante running, server side?

 WPS processes are now available as Sextante algorithms and can be used with
 with the model builder.
 For running sextante processes on server side my intension is to build on
 the
 Sextante Python script export functionality. It would be easy to extend the
 generated Python code with PyWPS class definitions.

 Pirmin

 
  giovanni
 
Is it prosecuted in real implementations? Just to know. In case I
 would
  
   be
  
interested to contribute.
  
   There will be a talk at FOSSGIS this Friday:
   http://www.fossgis.de/konferenz/2013/programm/events/509.de.html
  
   Regards
   Pirmin
  
   --
   Pirmin Kalberer
   Sourcepole  -  Linux  Open Source Solutions
   http://www.sourcepole.com
 --
 Pirmin Kalberer
 Sourcepole  -  Linux  Open Source Solutions
 http://www.sourcepole.com


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


Re: [Qgis-user] Qgis Mapserver and Sextante for WPS publishing?

2013-06-10 Thread Pirmin Kalberer
Am Montag, 10. Juni 2013, 14.25:04 schrieb G. Allegri:
 Ok. It's exactly the reversed way.
 So there's non (public) implementation of server side Sextante yet.

I think I saw Victor running exported Sextante algorithms in a demo once. So 
server side execution would be possible.

 The tough part, afaics, is to get rid of the tight coupling with the GUI
 components in the Core modules. I imagine they would be a bottleneck for
 performances, wouldn't they?

If you export Sextante algorithms, you don't have dependencies to the GUI 
part. You have dependencies to the QGIS Python bindings which have 
dependencies to the QGIS libs. No QGIS server or GUI components involved.

Pirmin

 
 Sent from Nexus
 Il giorno 10/giu/2013 14:01, Pirmin Kalberer pi...@sourcepole.com ha
 
 scritto:
  Giovanni,
  
  Am Montag, 10. Juni 2013, 13.35:37 schrieb G. Allegri:
   Latest version of WPS plugin has experimental Sextante support.
   
   
   What do you mean? Where is Sextante running, server side?
  
  WPS processes are now available as Sextante algorithms and can be used
  with
  with the model builder.
  For running sextante processes on server side my intension is to build on
  the
  Sextante Python script export functionality. It would be easy to extend
  the
  generated Python code with PyWPS class definitions.
  
  Pirmin
  
   giovanni
   
 Is it prosecuted in real implementations? Just to know. In case I
  
  would
  
be

 interested to contribute.

There will be a talk at FOSSGIS this Friday:
http://www.fossgis.de/konferenz/2013/programm/events/509.de.html

Regards
Pirmin

--
Pirmin Kalberer
Sourcepole  -  Linux  Open Source Solutions
http://www.sourcepole.com
  
  --
  Pirmin Kalberer
  Sourcepole  -  Linux  Open Source Solutions
  http://www.sourcepole.com
-- 
Pirmin Kalberer
Sourcepole  -  Linux  Open Source Solutions
http://www.sourcepole.com

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


[Qgis-user] GPS position

2013-06-10 Thread j . allain
 Hello,

I've got a bluetooth gps receiver which is associated with a win7 tablet. I'd 
like to see my position in real time but i can't get gps data under qgis. I 
used GPS tools but i don't know how to configure it.

has anybody succeed in this task ?

Thanks

Jonathan ALLAIN
Communauté d'Agglomération du Pays de Flers
02 33 98 44 58 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] SIP API Update merged. Attention plugin authors and nightly dev users.

2013-06-10 Thread Nathan Woodrow
Hey everyone,

You are now free to upload your new 2.0 API version of your plugins to the
QGIS plugin repo. Remember to set qgisMinimumVersion and qgisMaximumVersion
in your metadata.txt so that plugin repo and installer get the right
version of the plugin.

An updated conversion guide is at
http://hub.qgis.org/wiki/quantum-gis/Python_plugin_API_changes_from_18_to_20

- Nathan


 On Sat, Jun 8, 2013 at 9:35 PM, Nathan Woodrow madman...@gmail.comwrote:

 Hey all,

 The new SIP API has been merged now.  There are still a few things to
 clean up in some of the core plugins but it is merged for wider testing.
 I don't expect to find any major issues.

 I have written a conversion guide here:
 https://gist.github.com/NathanW2/5734767

 Plugin authors could you take some time to update you plugins so they
 will be ready for 2.0 once it is released _however_ please don't upload the
 new 2.0 version of your new plugin to the QGIS plugin repo until I give you
 the go ahead as we need to do a update on the server so that 1.8 will not
 get the 2.0 plugins because they will not run in 1.8.

 I would recommend creating a branch in git with your new 2.0 version and
 be ready to upload it when I give the go ahead.

 Note: 1.8 plugins will not run in 2.0 without being updated to the new
 API syntax. 2.0 plugins will not work in 1.8.

 Users who live on the edge by running the dev build please just bare with
 us while we get this sorted out, shouldn't take too long.

 Email me if you have any issue.

 Regards,
 Nathan



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


Re: [Qgis-user] GPS position

2013-06-10 Thread Randal Hale
I haven't done this - but here are some instructions for giving this a 
go under windows XP: 
http://hub.qgis.org/wiki/17/Connect_to_a_Bluetooth_GPS_for_live_tracking


Hope it helps some.

Randy

Randal Hale, GISP
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611 rjh...@northrivergeographic.com
twitter:rjhale
http://about.me/rjhale

On 06/10/2013 08:36 AM, j.all...@agglo-paysflers.fr wrote:

Hello,

I've got a bluetooth gps receiver which is associated with a win7 
tablet. I'd like to see my position in real time but i can't get gps 
data under qgis. I used GPS tools but i don't know how to configure it.


has anybody succeed in this task ?

Thanks

Jonathan ALLAIN
Communauté d'Agglomération du Pays de Flers
02 33 98 44 58


___
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] [Qgis-developer] SIP API Update merged. Attention plugin authors and nightly dev users.

2013-06-10 Thread Borys Jurgiel
Dnia poniedziałek, 10 czerwca 2013 o 14:54:45 Nathan Woodrow napisał(a):
 Hey everyone,
 
 You are now free to upload your new 2.0 API version of your plugins to the
 QGIS plugin repo. Remember to set qgisMinimumVersion and qgisMaximumVersion
 in your metadata.txt so that plugin repo and installer get the right
 version of the plugin.

Let me precise.

Only the qgisMinimumVersion is required.

QGIS assumes, that a usual plugin is compatible with that version and higher 
WITHIN one major version. So you set the minimum to 1.6, and the maximum is 
assumed to 1.99. You set the minimum to 2.0, and the maximum is 2.99. Etc.

There are two cases however, you could want to set the qgisMaximumVersion 
explicitly:

1. Set it lower than default. E.g. min=2.0 and max=2.3. Hardly useful, as we 
don't break API within one major version, so plugins for 2.0 should work with 
any 2.x. Also if you want to publish one version for QGIS 2.0-2.3 and a second 
for 2.4-2.99, you shouldn't use the qgisMaximumVersion. Instead, you can bump 
up the version of the second plugin. QGIS will always choose *the most recent* 
version with matching qgisMinimumVersion. So the higher version will go to 
QGIS=2.4, and the lower to QGIS 2.0 - 2.3.

2. Set it higher than default. If your plugin is very simple and you want to 
maintain one dual-API version instead of two separate, you can set:
qgisMinimumVersion to 1.6
qgisMaximumVersion to 2.99

Please note 99 is the highest allowed value, so if you use a longer number, 
QGIS will either reject your plugin because of unclear version number or 
fallback to default.


Hmmm, can we write it down somewhere in the documentation?
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] GPS position

2013-06-10 Thread Andre Joost
Am 10.06.2013 14:36, schrieb 
j.all...@agglo-paysflers.fr:

  Hello,

I've got a bluetooth gps receiver which is associated with a win7 tablet. I'd 
like to see my position in real time but i can't get gps data under qgis. I 
used GPS tools but i don't know how to configure it.

has anybody succeed in this task ?



Not with bluetooth, but the usb connection Garmin supplies.

I use Franson GPSGate to map the usb input to virtual com2. Next you 
have to activate the GPS tracking (which is not found in the GPS tools 
plugin) with View - Panels - [x] GPS Information


In the Toolbox, click on Connect for automatic connection, or select 
manually the Com-port you assigned at Fransons Gate.


If you have a suitable map and good reception, a marker should appear at 
the right place.


HTH,
André Joost

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


Re: [Qgis-user] Qgis Mapserver and Sextante for WPS publishing?

2013-06-10 Thread G. Allegri
2013/6/10 Pirmin Kalberer pi...@sourcepole.com

 Am Montag, 10. Juni 2013, 14.25:04 schrieb G. Allegri:
  Ok. It's exactly the reversed way.
  So there's non (public) implementation of server side Sextante yet.

 I think I saw Victor running exported Sextante algorithms in a demo once.
 So
 server side execution would be possible.


I thought it wasn't possible to run sextante algorithms outside of a
QgsApplication instance yet.
I will investigate on this.



 If you export Sextante algorithms, you don't have dependencies to the GUI
 part. You have dependencies to the QGIS Python bindings which have
 dependencies to the QGIS libs. No QGIS server or GUI components involved.


The algorithm executers are tied to GUI components, aren't they? e.g. the
unthreaded executor [1]
I suppose that an unbounded executer is needed to decouple from GUI (and to
run algorithms in a headless environment).

giovanni

[1]
https://github.com/qgis/Quantum-GIS/blob/master/python/plugins/sextante/gui/UnthreadedAlgorithmExecutor.py



 Pirmin

 
  Sent from Nexus
  Il giorno 10/giu/2013 14:01, Pirmin Kalberer pi...@sourcepole.com ha
 
  scritto:
   Giovanni,
  
   Am Montag, 10. Juni 2013, 13.35:37 schrieb G. Allegri:
Latest version of WPS plugin has experimental Sextante support.
   
   
What do you mean? Where is Sextante running, server side?
  
   WPS processes are now available as Sextante algorithms and can be used
   with
   with the model builder.
   For running sextante processes on server side my intension is to build
 on
   the
   Sextante Python script export functionality. It would be easy to extend
   the
   generated Python code with PyWPS class definitions.
  
   Pirmin
  
giovanni
   
  Is it prosecuted in real implementations? Just to know. In case I
  
   would
  
 be

  interested to contribute.

 There will be a talk at FOSSGIS this Friday:
 http://www.fossgis.de/konferenz/2013/programm/events/509.de.html

 Regards
 Pirmin

 --
 Pirmin Kalberer
 Sourcepole  -  Linux  Open Source Solutions
 http://www.sourcepole.com
  
   --
   Pirmin Kalberer
   Sourcepole  -  Linux  Open Source Solutions
   http://www.sourcepole.com
 --
 Pirmin Kalberer
 Sourcepole  -  Linux  Open Source Solutions
 http://www.sourcepole.com




-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qgis Mapserver and Sextante for WPS publishing?

2013-06-10 Thread G. Allegri

 The algorithm executers are tied to GUI components, aren't they? e.g. the
 unthreaded executor [1]
 I suppose that an unbounded executer is needed to decouple from GUI (and
 to run algorithms in a headless environment).


Victor confirms this. There's no unbounded executor at the moment. Anyway
it shouldn't be hard to write one...



 giovanni

 [1]
 https://github.com/qgis/Quantum-GIS/blob/master/python/plugins/sextante/gui/UnthreadedAlgorithmExecutor.py



 Pirmin

 
  Sent from Nexus
  Il giorno 10/giu/2013 14:01, Pirmin Kalberer pi...@sourcepole.com
 ha
 
  scritto:
   Giovanni,
  
   Am Montag, 10. Juni 2013, 13.35:37 schrieb G. Allegri:
Latest version of WPS plugin has experimental Sextante support.
   
   
What do you mean? Where is Sextante running, server side?
  
   WPS processes are now available as Sextante algorithms and can be used
   with
   with the model builder.
   For running sextante processes on server side my intension is to
 build on
   the
   Sextante Python script export functionality. It would be easy to
 extend
   the
   generated Python code with PyWPS class definitions.
  
   Pirmin
  
giovanni
   
  Is it prosecuted in real implementations? Just to know. In case
 I
  
   would
  
 be

  interested to contribute.

 There will be a talk at FOSSGIS this Friday:
 http://www.fossgis.de/konferenz/2013/programm/events/509.de.html

 Regards
 Pirmin

 --
 Pirmin Kalberer
 Sourcepole  -  Linux  Open Source Solutions
 http://www.sourcepole.com
  
   --
   Pirmin Kalberer
   Sourcepole  -  Linux  Open Source Solutions
   http://www.sourcepole.com
 --
 Pirmin Kalberer
 Sourcepole  -  Linux  Open Source Solutions
 http://www.sourcepole.com




 --
 Giovanni Allegri
 http://about.me/giovanniallegri
 blog: http://blog.spaziogis.it
 GEO+ geomatica in Italia http://bit.ly/GEOplus




-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] GPS position

2013-06-10 Thread Giovanni Manghi
 I haven't done this - but here are some instructions for giving this a
 go under windows XP:
 http://hub.qgis.org/wiki/17/Connect_to_a_Bluetooth_GPS_for_live_tracking


See also

http://hub.qgis.org/wiki/quantum-gis/Gps_units_download_data_and_live_tracking

live tracking on Windows is pretty easy, if using a middleware like gpsgate.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] SpatiaLite views

2013-06-10 Thread Goyo
2013/6/10 Andreas Neumann a.neum...@carto.net:
 Hi,

 I wanted to create a view with spatial data in SpatiaLite. I can create
 the view by hand in DB-Manager and I created entries in the
 views_geometry_columns table.

 But when I add the view it is always added as a non-geometry table
 containing only attributes but no geometry.

Try qspatialite plugin. AFAIK it it is the only straightforward way to
add spatial views. Using other plugins (DB manager, spatialite
manager, Fast SQL query) you have to use a query and specify the
primary key and the geometry column again.

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


Re: [Qgis-user] SpatiaLite views

2013-06-10 Thread Antonio Vico

Hi,

I get problems in spatialite views too. I created views in spatialitegui 
follow the same instructions and I can open the view in qgis but if I 
try to open Attribute table, in all values get ERROR (in qgis ubuntu 
12.04 from http://qgis.org/debian-nightly and in osgeo4w (1.8 and 
1.9-dev versions).


I posted this question in a previous post but only Goyo commented, and I 
can't get a solution.


Sorry if this not solve your problem.

On 10/06/13 14:01, Andreas Neumann wrote:

Hi,

I wanted to create a view with spatial data in SpatiaLite. I can create
the view by hand in DB-Manager and I created entries in the
views_geometry_columns table.

But when I add the view it is always added as a non-geometry table
containing only attributes but no geometry.

Am I missing additional entries in some metadata table?

I tried to follow the instructions here:
http://www.gaia-gis.it/gaia-sins/spatialite-cookbook/html/sp-view.html -
but it does not work as described here.

I can add the table from the view but all I get is no geometry and
Error content in every cell.

I am using the current QGIS master.

Thank you if you have any idea how to correctly manage views in SpatiaLite.

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