Re: [Qgis-developer] Qgis web client search

2014-01-16 Thread Bernhard Ströbl

Hi,

I have no idea, where this is located on Windows...
but you need to adapt the wsgi files you downloaded from github with QWC 
to your db settings (see section 6.2)!


Bernhard

P.S. please try to reply to the list

Am 16.01.2014 10:17, schrieb Mira Maric:

Hi!
I do the following:
I download mod_wsgi.so from
http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi an put it in:
C:\OSGeo4W\apache\modules
  In Apache config file I added line:
 -LoadModule wsgi_module modules/mod_wsgi.so

I restart apache and turn it on, it's work OK. Now I don't know  where
to do this, where is file for this settings?
I am using Windows!

   6.1. Configuration of mod_wsgi
   ==

You need to enable mod_wsgi as root. (Ubuntu: a2enmod mod_wsgi).

You need to configure apache with the following lines (e.g. in file
/etc/apache2/sites-available/default):

   #mod_wsgi
   WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP}
   WSGIScriptAlias /wsgi/ /home/www/wsgi/
   WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi



Thanks!






2014/1/16 Mira Maricmmmx...@gmail.com:

Hi!
I do the following:
I download mod_wsgi.so from
http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi an put it in:
C:\OSGeo4W\apache\modules
  In Apache config file I added line:
 -LoadModule wsgi_module modules/mod_wsgi.so

I restart apache and turn it on, it's work OK. Now I don't know  where
to do this








Uncaught SyntaxError: Unexpected token ILLEGAL in search.wsgi:1

2014/1/16 Bernhard Ströblbernhard.stro...@jena.de:

Hi,

did you configure the wsgi scripts to match your database and did you
provide the search tables in the database?
Both is described in the README (section 6) [1]

Bernhard

[1] https://github.com/qgis/QGIS-Web-Client

Am 16.01.2014 07:33, schrieb Mira Maric:


  1.


 First I added line in Apache config file:
 -LoadModule wsgi_module modules/mod_wsgi.so

  2.


 In GlobalOption.js I set var useGeoNamesSearchBox = false; var
 searchBoxQueryURL
 =http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=;;
 var searchBoxGetGeomURL
 =http://localhost:89/qgis-web-client-master/wsgi/getSearchGeom.wsgi;;

When i try to search, i do not get anything! Is there any example for
searching setup?







__ Information from ESET Mail Security, version of virus signature 
database 9296 (20140115) __

The message was checked by ESET Mail Security.
http://www.eset.com


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


Re: [Qgis-developer] Qgis web client search

2014-01-16 Thread Mira Maric
I set up Apache config file:
insert following lines:
- LoadModule wsgi_module modules/mod_wsgi.so
and

 WSGIScriptAlias /wsgi C:\OSGeo4W\apache\htdocs\qgis-web-client-master\wsgi
 WSGIScriptAliasMatch ^/wsgi/([^/]+)
C:\OSGeo4W\apache\htdocs\qgis-web-client-master\$1.wsgi


, after this I create tables in Posgis and modify connection string in
search.wsgi and getSearchGeom.wsgi.

Now when I run web page and try to search in search box I get this error:

Resource interpreted as Script but transferred with MIME type text/plain:
 
http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=searchtables=query=89cb=stcCallback1001;.
ext-all.js:7
Uncaught SyntaxError: Unexpected token ILLEGAL search.wsgi:1



2014/1/16 Bernhard Ströbl bernhard.stro...@jena.de:
 Hi,

 I have no idea, where this is located on Windows...
 but you need to adapt the wsgi files you downloaded from github with QWC to
 your db settings (see section 6.2)!

 Bernhard

 P.S. please try to reply to the list

 Am 16.01.2014 10:17, schrieb Mira Maric:

 Hi!
 I do the following:
 I download mod_wsgi.so from
 http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi an put it in:
 C:\OSGeo4W\apache\modules
   In Apache config file I added line:
  -LoadModule wsgi_module modules/mod_wsgi.so

 I restart apache and turn it on, it's work OK. Now I don't know  where
 to do this, where is file for this settings?
 I am using Windows!

6.1. Configuration of mod_wsgi
==

 You need to enable mod_wsgi as root. (Ubuntu: a2enmod mod_wsgi).

 You need to configure apache with the following lines (e.g. in file
 /etc/apache2/sites-available/default):

#mod_wsgi
WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP}
WSGIScriptAlias /wsgi/ /home/www/wsgi/
WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi



 Thanks!






 2014/1/16 Mira Maricmmmx...@gmail.com:

 Hi!
 I do the following:
 I download mod_wsgi.so from
 http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi an put it in:
 C:\OSGeo4W\apache\modules
   In Apache config file I added line:
  -LoadModule wsgi_module modules/mod_wsgi.so

 I restart apache and turn it on, it's work OK. Now I don't know  where
 to do this








 Uncaught SyntaxError: Unexpected token ILLEGAL in search.wsgi:1

 2014/1/16 Bernhard Ströblbernhard.stro...@jena.de:

 Hi,

 did you configure the wsgi scripts to match your database and did you
 provide the search tables in the database?
 Both is described in the README (section 6) [1]

 Bernhard

 [1] https://github.com/qgis/QGIS-Web-Client

 Am 16.01.2014 07:33, schrieb Mira Maric:


   1.


  First I added line in Apache config file:
  -LoadModule wsgi_module modules/mod_wsgi.so

   2.


  In GlobalOption.js I set var useGeoNamesSearchBox = false; var
  searchBoxQueryURL

 =http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=;;
  var searchBoxGetGeomURL

 =http://localhost:89/qgis-web-client-master/wsgi/getSearchGeom.wsgi;;

 When i try to search, i do not get anything! Is there any example for
 searching setup?






 __ Information from ESET Mail Security, version of virus signature
 database 9296 (20140115) __

 The message was checked by ESET Mail Security.
 http://www.eset.com


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


Re: [Qgis-developer] Qgis web client search

2014-01-16 Thread Bernhard Ströbl

Hi,

try to enter the url of the wsgi-script directly in your browser and see 
what it returns, check QWC's log file for any errors of the wsgi script.


Bernhard

Am 16.01.2014 12:09, schrieb Mira Maric:

I set up Apache config file:
insert following lines:
- LoadModule wsgi_module modules/mod_wsgi.so
and

  WSGIScriptAlias /wsgi C:\OSGeo4W\apache\htdocs\qgis-web-client-master\wsgi
  WSGIScriptAliasMatch ^/wsgi/([^/]+)
C:\OSGeo4W\apache\htdocs\qgis-web-client-master\$1.wsgi


, after this I create tables in Posgis and modify connection string in
search.wsgi and getSearchGeom.wsgi.

Now when I run web page and try to search in search box I get this error:

Resource interpreted as Script but transferred with MIME type text/plain:
  
http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=searchtables=query=89cb=stcCallback1001;.
ext-all.js:7
Uncaught SyntaxError: Unexpected token ILLEGAL search.wsgi:1



2014/1/16 Bernhard Ströblbernhard.stro...@jena.de:

Hi,

I have no idea, where this is located on Windows...
but you need to adapt the wsgi files you downloaded from github with QWC to
your db settings (see section 6.2)!

Bernhard

P.S. please try to reply to the list

Am 16.01.2014 10:17, schrieb Mira Maric:


Hi!
I do the following:
I download mod_wsgi.so from
http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi an put it in:
C:\OSGeo4W\apache\modules
   In Apache config file I added line:
  -LoadModule wsgi_module modules/mod_wsgi.so

I restart apache and turn it on, it's work OK. Now I don't know  where
to do this, where is file for this settings?
I am using Windows!

6.1. Configuration of mod_wsgi
==

You need to enable mod_wsgi as root. (Ubuntu: a2enmod mod_wsgi).

You need to configure apache with the following lines (e.g. in file
/etc/apache2/sites-available/default):

#mod_wsgi
WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP}
WSGIScriptAlias /wsgi/ /home/www/wsgi/
WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi



Thanks!






2014/1/16 Mira Maricmmmx...@gmail.com:


Hi!
I do the following:
I download mod_wsgi.so from
http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi an put it in:
C:\OSGeo4W\apache\modules
   In Apache config file I added line:
  -LoadModule wsgi_module modules/mod_wsgi.so

I restart apache and turn it on, it's work OK. Now I don't know  where
to do this








Uncaught SyntaxError: Unexpected token ILLEGAL in search.wsgi:1

2014/1/16 Bernhard Ströblbernhard.stro...@jena.de:


Hi,

did you configure the wsgi scripts to match your database and did you
provide the search tables in the database?
Both is described in the README (section 6) [1]

Bernhard

[1] https://github.com/qgis/QGIS-Web-Client

Am 16.01.2014 07:33, schrieb Mira Maric:



   1.


  First I added line in Apache config file:
  -LoadModule wsgi_module modules/mod_wsgi.so

   2.


  In GlobalOption.js I set var useGeoNamesSearchBox = false; var
  searchBoxQueryURL

=http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=;;
  var searchBoxGetGeomURL

=http://localhost:89/qgis-web-client-master/wsgi/getSearchGeom.wsgi;;

When i try to search, i do not get anything! Is there any example for
searching setup?










__ Information from ESET Mail Security, version of virus signature 
database 9297 (20140116) __

The message was checked by ESET Mail Security.
http://www.eset.com


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


Re: [Qgis-developer] Qgis web client search

2014-01-16 Thread Mira Maric
When I enter URL in browser:
http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=searchtables=query=plcb=stcCallback1002
I get the content of search.wsgi file!
This is my log of access file:
127.0.0.1 - - [16/Jan/2014:11:50:26 +0100] GET
/qgis-web-client-master/wsgi/search.wsgi?query=searchtables=query=89cb=stcCallback1001
HTTP/1.1 200 5723
127.0.0.1 - - [16/Jan/2014:12:08:29 +0100] GET
/qgis-web-client-master/wsgi/search.wsgi?query=searchtables=query=plcb=stcCallback1002
HTTP/1.1 200 5723
This is my log of error file:

[Thu Jan 16 11:50:49 2014] [notice] Parent: Received restart signal --
Restarting the server.
[Thu Jan 16 11:50:49 2014] [notice] Child 8856: Exit event signaled.
Child process is ending.
[Thu Jan 16 11:50:49 2014] [warn] mod_wsgi: Compiled for Python/3.3.0.
[Thu Jan 16 11:50:49 2014] [warn] mod_wsgi: Runtime using Python/3.3.2.
[Thu Jan 16 11:50:49 2014] [notice] Apache/2.2.14 (Win32)
mod_wsgi/3.5-BRANCH Python/3.3.2 mod_fcgid/2.3.6 configured --
resuming normal operations
[Thu Jan 16 11:50:49 2014] [notice] Server built: Sep 28 2009 22:41:08
[Thu Jan 16 11:50:49 2014] [notice] Parent: Created child process 6020
[Thu Jan 16 11:50:49 2014] [warn] mod_wsgi: Compiled for Python/3.3.0.
[Thu Jan 16 11:50:49 2014] [warn] mod_wsgi: Runtime using Python/3.3.2.
[Thu Jan 16 11:50:49 2014] [notice] Child 6020: Child process is running
[Thu Jan 16 11:50:50 2014] [notice] Child 6020: Acquired the start mutex.
[Thu Jan 16 11:50:50 2014] [notice] Child 8856: Released the start mutex
[Thu Jan 16 11:50:50 2014] [notice] Child 6020: Starting 64 worker threads.
[Thu Jan 16 11:50:50 2014] [notice] Child 6020: Starting thread to
listen on port 89.
[Thu Jan 16 11:50:51 2014] [notice] Child 8856: All worker threads have exited.
[Thu Jan 16 11:50:51 2014] [notice] Child 8856: Child process is exiting



2014/1/16 Bernhard Ströbl bernhard.stro...@jena.de:
 Hi,

 try to enter the url of the wsgi-script directly in your browser and see
 what it returns, check QWC's log file for any errors of the wsgi script.

 Bernhard

 Am 16.01.2014 12:09, schrieb Mira Maric:

 I set up Apache config file:
 insert following lines:
 - LoadModule wsgi_module modules/mod_wsgi.so
 and

   WSGIScriptAlias /wsgi
 C:\OSGeo4W\apache\htdocs\qgis-web-client-master\wsgi
   WSGIScriptAliasMatch ^/wsgi/([^/]+)
 C:\OSGeo4W\apache\htdocs\qgis-web-client-master\$1.wsgi


 , after this I create tables in Posgis and modify connection string in
 search.wsgi and getSearchGeom.wsgi.

 Now when I run web page and try to search in search box I get this error:

 Resource interpreted as Script but transferred with MIME type text/plain:

 http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=searchtables=query=89cb=stcCallback1001;.
 ext-all.js:7
 Uncaught SyntaxError: Unexpected token ILLEGAL search.wsgi:1



 2014/1/16 Bernhard Ströblbernhard.stro...@jena.de:

 Hi,

 I have no idea, where this is located on Windows...
 but you need to adapt the wsgi files you downloaded from github with QWC
 to
 your db settings (see section 6.2)!

 Bernhard

 P.S. please try to reply to the list

 Am 16.01.2014 10:17, schrieb Mira Maric:

 Hi!
 I do the following:
 I download mod_wsgi.so from
 http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi an put it in:
 C:\OSGeo4W\apache\modules
In Apache config file I added line:
   -LoadModule wsgi_module modules/mod_wsgi.so

 I restart apache and turn it on, it's work OK. Now I don't know  where
 to do this, where is file for this settings?
 I am using Windows!

 6.1. Configuration of mod_wsgi
 ==

 You need to enable mod_wsgi as root. (Ubuntu: a2enmod mod_wsgi).

 You need to configure apache with the following lines (e.g. in file
 /etc/apache2/sites-available/default):

 #mod_wsgi
 WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP}
 WSGIScriptAlias /wsgi/ /home/www/wsgi/
 WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi



 Thanks!






 2014/1/16 Mira Maricmmmx...@gmail.com:


 Hi!
 I do the following:
 I download mod_wsgi.so from
 http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi an put it in:
 C:\OSGeo4W\apache\modules
In Apache config file I added line:
   -LoadModule wsgi_module modules/mod_wsgi.so

 I restart apache and turn it on, it's work OK. Now I don't know  where
 to do this








 Uncaught SyntaxError: Unexpected token ILLEGAL in search.wsgi:1

 2014/1/16 Bernhard Ströblbernhard.stro...@jena.de:


 Hi,

 did you configure the wsgi scripts to match your database and did you
 provide the search tables in the database?
 Both is described in the README (section 6) [1]

 Bernhard

 [1] https://github.com/qgis/QGIS-Web-Client

 Am 16.01.2014 07:33, schrieb Mira Maric:



1.


   First I added line in Apache config file:
   -LoadModule wsgi_module modules/mod_wsgi.so

2.


   In GlobalOption.js I set var useGeoNamesSearchBox = false; var
   searchBoxQueryURL


 

Re: [Qgis-developer] Qgis web client search

2014-01-16 Thread Bernhard Ströbl

Hi,

I wonder why the query parameter is included twice but on my server 
(Linux, though) it does not matter...
Anyhow I _think_ the script is not executed but I cannot help here. 
Maybe you want to search the web for wsgi and Windows


Bernhard

Am 16.01.2014 12:27, schrieb Mira Maric:

When I enter URL in browser:
http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=searchtables=query=plcb=stcCallback1002
I get the content of search.wsgi file!
This is my log of access file:
127.0.0.1 - - [16/Jan/2014:11:50:26 +0100] GET
/qgis-web-client-master/wsgi/search.wsgi?query=searchtables=query=89cb=stcCallback1001
HTTP/1.1 200 5723
127.0.0.1 - - [16/Jan/2014:12:08:29 +0100] GET
/qgis-web-client-master/wsgi/search.wsgi?query=searchtables=query=plcb=stcCallback1002
HTTP/1.1 200 5723
This is my log of error file:

[Thu Jan 16 11:50:49 2014] [notice] Parent: Received restart signal --
Restarting the server.
[Thu Jan 16 11:50:49 2014] [notice] Child 8856: Exit event signaled.
Child process is ending.
[Thu Jan 16 11:50:49 2014] [warn] mod_wsgi: Compiled for Python/3.3.0.
[Thu Jan 16 11:50:49 2014] [warn] mod_wsgi: Runtime using Python/3.3.2.
[Thu Jan 16 11:50:49 2014] [notice] Apache/2.2.14 (Win32)
mod_wsgi/3.5-BRANCH Python/3.3.2 mod_fcgid/2.3.6 configured --
resuming normal operations
[Thu Jan 16 11:50:49 2014] [notice] Server built: Sep 28 2009 22:41:08
[Thu Jan 16 11:50:49 2014] [notice] Parent: Created child process 6020
[Thu Jan 16 11:50:49 2014] [warn] mod_wsgi: Compiled for Python/3.3.0.
[Thu Jan 16 11:50:49 2014] [warn] mod_wsgi: Runtime using Python/3.3.2.
[Thu Jan 16 11:50:49 2014] [notice] Child 6020: Child process is running
[Thu Jan 16 11:50:50 2014] [notice] Child 6020: Acquired the start mutex.
[Thu Jan 16 11:50:50 2014] [notice] Child 8856: Released the start mutex
[Thu Jan 16 11:50:50 2014] [notice] Child 6020: Starting 64 worker threads.
[Thu Jan 16 11:50:50 2014] [notice] Child 6020: Starting thread to
listen on port 89.
[Thu Jan 16 11:50:51 2014] [notice] Child 8856: All worker threads have exited.
[Thu Jan 16 11:50:51 2014] [notice] Child 8856: Child process is exiting



2014/1/16 Bernhard Ströblbernhard.stro...@jena.de:

Hi,

try to enter the url of the wsgi-script directly in your browser and see
what it returns, check QWC's log file for any errors of the wsgi script.

Bernhard

Am 16.01.2014 12:09, schrieb Mira Maric:


I set up Apache config file:
insert following lines:
- LoadModule wsgi_module modules/mod_wsgi.so
and

   WSGIScriptAlias /wsgi
C:\OSGeo4W\apache\htdocs\qgis-web-client-master\wsgi
   WSGIScriptAliasMatch ^/wsgi/([^/]+)
C:\OSGeo4W\apache\htdocs\qgis-web-client-master\$1.wsgi


, after this I create tables in Posgis and modify connection string in
search.wsgi and getSearchGeom.wsgi.

Now when I run web page and try to search in search box I get this error:

Resource interpreted as Script but transferred with MIME type text/plain:

http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=searchtables=query=89cb=stcCallback1001;.
ext-all.js:7
Uncaught SyntaxError: Unexpected token ILLEGAL search.wsgi:1



2014/1/16 Bernhard Ströblbernhard.stro...@jena.de:


Hi,

I have no idea, where this is located on Windows...
but you need to adapt the wsgi files you downloaded from github with QWC
to
your db settings (see section 6.2)!

Bernhard

P.S. please try to reply to the list

Am 16.01.2014 10:17, schrieb Mira Maric:


Hi!
I do the following:
I download mod_wsgi.so from
http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi an put it in:
C:\OSGeo4W\apache\modules
In Apache config file I added line:
   -LoadModule wsgi_module modules/mod_wsgi.so

I restart apache and turn it on, it's work OK. Now I don't know  where
to do this, where is file for this settings?
I am using Windows!

 6.1. Configuration of mod_wsgi
 ==

You need to enable mod_wsgi as root. (Ubuntu: a2enmod mod_wsgi).

You need to configure apache with the following lines (e.g. in file
/etc/apache2/sites-available/default):

 #mod_wsgi
 WSGIDaemonProcess gis processes=5 threads=15 display-name=%{GROUP}
 WSGIScriptAlias /wsgi/ /home/www/wsgi/
 WSGIScriptAliasMatch ^/wsgi/([^/]+) /home/www/wsgi/$1.wsgi



Thanks!






2014/1/16 Mira Maricmmmx...@gmail.com:



Hi!
I do the following:
I download mod_wsgi.so from
http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi an put it in:
C:\OSGeo4W\apache\modules
In Apache config file I added line:
   -LoadModule wsgi_module modules/mod_wsgi.so

I restart apache and turn it on, it's work OK. Now I don't know  where
to do this








Uncaught SyntaxError: Unexpected token ILLEGAL in search.wsgi:1

2014/1/16 Bernhard Ströblbernhard.stro...@jena.de:



Hi,

did you configure the wsgi scripts to match your database and did you
provide the search tables in the database?
Both is described in the README (section 6) [1]

Bernhard

[1] https://github.com/qgis/QGIS-Web-Client

Am 16.01.2014 07:33, schrieb Mira 

Re: [Qgis-developer] Qgis web client search

2014-01-16 Thread Andreas Neumann
Hi,

If you get the source code of the Python File than it means that the
wsgi module is not enabled or correctly configured.

But as Bernhard said - at the beginning you really have to work in
manual mode - not directly in QGIS web client. You will have to make
sure that the database is properly set up, the database connection and
credentials work and that the script returns a valid JSON response.

If that works you can continue testing it in QGIS web client.

Andreas

Am 16.01.2014 12:09, schrieb Mira Maric:
 I set up Apache config file:
 insert following lines:
 - LoadModule wsgi_module modules/mod_wsgi.so
 and
 
  WSGIScriptAlias /wsgi C:\OSGeo4W\apache\htdocs\qgis-web-client-master\wsgi
  WSGIScriptAliasMatch ^/wsgi/([^/]+)
 C:\OSGeo4W\apache\htdocs\qgis-web-client-master\$1.wsgi
 
 
 , after this I create tables in Posgis and modify connection string in
 search.wsgi and getSearchGeom.wsgi.
 
 Now when I run web page and try to search in search box I get this error:
 
 Resource interpreted as Script but transferred with MIME type text/plain:
  
 http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=searchtables=query=89cb=stcCallback1001;.
 ext-all.js:7
 Uncaught SyntaxError: Unexpected token ILLEGAL search.wsgi:1
 
 
 

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


[Qgis-developer] Qgis web client search

2014-01-15 Thread Mira Maric
   1.

   First I added line in Apache config file:
   -LoadModule wsgi_module modules/mod_wsgi.so
   2.

   In GlobalOption.js I set var useGeoNamesSearchBox = false; var
   searchBoxQueryURL
   =http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=;;
   var searchBoxGetGeomURL
   =http://localhost:89/qgis-web-client-master/wsgi/getSearchGeom.wsgi;;

When i try to search, i do not get anything! Is there any example for
searching setup?
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Qgis web client search

2014-01-15 Thread Bernhard Ströbl

Hi,

did you configure the wsgi scripts to match your database and did you 
provide the search tables in the database?

Both is described in the README (section 6) [1]

Bernhard

[1] https://github.com/qgis/QGIS-Web-Client

Am 16.01.2014 07:33, schrieb Mira Maric:

 1.

First I added line in Apache config file:
-LoadModule wsgi_module modules/mod_wsgi.so

 2.

In GlobalOption.js I set var useGeoNamesSearchBox = false; var
searchBoxQueryURL
=http://localhost:89/qgis-web-client-master/wsgi/search.wsgi?query=;;
var searchBoxGetGeomURL
=http://localhost:89/qgis-web-client-master/wsgi/getSearchGeom.wsgi;;

When i try to search, i do not get anything! Is there any example for
searching setup?




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


__ Information from ESET Mail Security, version of virus signature 
database 9296 (20140115) __

The message was checked by ESET Mail Security.
http://www.eset.com





__ Information from ESET Mail Security, version of virus signature 
database 9296 (20140115) __

The message was checked by ESET Mail Security.
http://www.eset.com


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


[Qgis-developer] Qgis-Web-Client Search

2013-03-18 Thread Emilio Loi
Hi to all,
I was configuring search panel in qgis-web-cilent following the readmin you
can find on gh

https://github.com/qgis/qgis-web-client

I noticed that search panels are configured statically in GlobalOptions.js
declaring vars as following

var simpleWmsSearch =  {
 /* ... */
  formItems: [
{
 /* ... */
  fieldLabel: fieldname,
}
  ],
  /*... */
  selectionLayer: 'layername',
};

var mapSearchPanelConfigs = {
  projectname: [simpleWmsSearch]
};

It's ok for a limited number of projects, but what if I wish to make it
indipendent from projects? (so I can have a search panel for any project I
have on the server without touch GlobalOptions.js).
Is there any way to do this dynamically in qgis-web-client or it needs to
be implemented?

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