Hot answers tagged

10

The closest thing to what you want that I could think of is GeoNode. GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data. It allows you to upload files, create and edit maps and metadata, and also to rate the data. You can also embed the maps you create in GeoNode on your own web ...


7

I have faced the same problem: "Internal Server Error with Ubuntu 12.04". Everything looked OK to me (I even run successfully a perl fcgi script to test FCGI in my apache server). I continually got an Internal Server Error when I run a get Capabilities request. The apache log file said "Premature end of script headers: qgis_mapserv.fcgi". The problem was ...


7

I have it working on Ubuntu 10.04/10.10 and 11.04. My first tutorial was this http://linfiniti.com/2010/08/qgis-mapserver-a-wms-server-for-the-masses/ but under Ubuntu (with all installed from repos) is even easier. Enter the cgi-bin folder, create a project folder, copy in there the project file and a copy of qgis_mapserv.fcgi, then add a metadata file. ...


6

Finally, Matthias Kuhn, one of the developers of QGIS gave me the key. The WHERE clause is built checking the type of the primary key of the table. It should be an Integer and in some of my tables I saw that the type was Numeric(8,0). Those tables and primary keys were created by a third-party app some time ago. I changed the type to Integer and all ...


5

Also see OpenGeo Suite. It ships with geoserver, PostGIS(DB), OpenLayers(viewer), GeoExt (UI). They have a cloud Edition as well


5

It turns out that this is a relatively straightforward process for Apache, but since I still haven't seen any walkthroughs for it online I figured I'd list the steps that worked for me here. I used the 64-bit version (of all components, OSGeo4W, Apache, and mod_fcgid) with Apache 2.4, but I presume the 32-bit version will be very similar, as will be other 2....


5

Here my usual steps to configure wms di qgis (2.4) tested on ubuntu 12.04 and 14.04 1) Install some requested packages: sudo apt-get install qgis-mapserver libapache2-mod-fcgid 2) Be sure fastcgi is enabled in apache2 modules: ls -la /etc/apache2/mods-enabled/fcgid.conf 2a) Modify /etc/apache2/sites-available/000-default.conf and add inside ...


4

From: http://karlinapp.ethz.ch/qgis_wms/configuration/ You need to have a webserver installed (e.g. Apache) and place the files for the QGIS mapserver in the FastCGI or CGI directory of your webserver. On Windows, QGIS mapserver currently can only be used as a CGI application. You also need to make sure the webserver finds libqgis_core.so/...


4

I've posted a solution that works for me on http://underdark.wordpress.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/. Adjusted to your information, it would be something like: wms = new OpenLayers.Layer.WMS( 'london_basic', "http://www.localhost.com/qgis/qgis_mapserv.fcgi.exi", { layers: 'basic', format: 'image/png', map: 'D:/OSGeo4W/apps/...


4

The official page for QGIS server is this one. For windows you could take a look here. For ubuntu here . You could also download OSGeo live iso or vm and have a quick look on how it is done in their setup. You publish your QGIS Desktop projects into QGIS server which outputs WMS or WFS. Good luck.


4

Apparently it needs a styles= in the url, even when there is no style defined.


3

WPS is a stateless technology - you give it a process to execute (by HTTP GET or POST), and after some time, it gives you some sort of result. This may be a bit of XML or JSON, a link to an image, or the image itself. On the server side, someone will have written one or more processes, detailing the expected inputs and the given outputs. The language these ...


3

I've found out when double clicked "qgis_mapserv.fcgi.exe" that libfcgi.dll was missing. problem solved.


3

Update New functionality has been added into QGIS Server and as of 2.2, QGIS Server can serve out data via WMS(version 1.3.0 and 1.1.1), WFS (version 1.0.0), WFS-T as well as WCS (version 1.0.0) standard. The rest of the answer is still valid. I won't suggest the use of QGIS server in the production environment, since it has limited features. The ...


3

After much research and experimenting, including changing file permissions and removing relative file locations in the QGS file, I was unable to get qgis-server to serve a shapefile. I set up Postgis 2 and was successfully able to a serve a polygon layer. My conclusions are: That qgis_mapserv.fcgi as per my configuration that uses QGIS 2.0.1 doesn't work ...


3

Adding fonts to Debian should generally be done at the 'local' or user level, instead of the system. You should copy them into /usr/local/share/fonts (for all users) or ~/.fonts (for a specific user). Reference the official font docs on how to load fonts and ensure they are actually being loaded by fontconfig. If rebuilding the font cache, i.e. fc-cache -fv,...


3

Your PYTHONPATH environment variable must be specified. QGIS Server 2.8 deals with Python extension and you must provide it a good environment. Here is my httpd.conf Alias /qgis/ "C:/OSGeo4W64/apps/qgis/bin/" FcgidInitialEnv PATH "C:\OSGeo4W64\bin;C:\OSGeo4W64\apps\qgis\bin;C:\OSGeo4W64\apps\grass\grass-6.4.3\lib;C:\OSGeo4W64\apps\grass\grass-6.4.3\bin;...


3

Assuming you have QGIS Server appropriately installed (with a working GetCapabilities request) on Ubuntu/Debian, the main steps involved on my end to get the QGIS Web Client up and running are as follows: Install python psycopg2, python-webob, git, libapache2-mod-wsgi using terminal: "sudo apt-get install python-psycopg2 python-webob git libapache2-mod-...


3

If anyone encounters the same problem: I installed QGIS Server with a tutorial that made me install HelloServer. It is a nice little tool with which you have quick confirmation that your server is set up. However it puts this QGIS logo in all your WMS responses. Just delete the plugin, and everything will return to normal. If you want to keep the plugin ...


2

I installed qgis and qgis_server using this tutorial: http://underdark.wordpress.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/ Characteristics: Ubuntu 12.04.O Virtual Machine In "/usr/lib/cgi-bin/" create a folder called "test" ."test" is where you will save your qgis project and .shp too. Inside this folder you must copy the file qgis_mapserv....


2

QGIS Server main documentation is located at: http://www.qgis.org/wiki/QGIS_Server_Tutorial Quoting the Wiki section for Ubuntu: To setup QGIS Server with Apache 2 mod_fastcgi, the following packages are required: apt-get install qgis-mapserver libapache2-mod-fcgid Note that libapache2-mod-fcgid and libapache2-mod-fastcgi are different packages and ...


2

I Have the Same issue : The GetCapabilities result show only non-vector Layer : - Project - Groups - Rasters But groups of Vector Layers have not defined BoundBox (0) (All layers are checked in project Properties) And it the same this even in browser or under QGIS/Import WMS/ (No Vector Layers) [Solved] : My Vector Files were in /root/ directory


2

In the QGIS WMS connection dialogue there is a checkbox telling QGIS to ignore the service URL advertised by QGIS server. Checking this option should solve the problem. (Source: QGIS Mailinglist) It's generally a good idea to have this option ticked. There has been talk about setting it by default.


2

a few hours later I found my problem: I discovered apache logs at /var/log/apache2/error.log. An error read "(2)No such file or directory: apache2: could not open error log file /etc/apache2/${APACHE_LOG_DIR}/qgis-web-client-error.log. Unable to open logs". So I searched my qgis-web-client.conf for this line and found it and added the directory to the ...


2

Have you considered QGIS Cloud http://qgiscloud.com/? It's beta but free and you don't have to bother setting up your own server. Otherwise, follow these instructions: http://underdark.wordpress.com/2012/04/06/qgis-server-on-windows7-step-by-step/


2

There is a fork of the qgis web client that should do the trick. However I haven't tested it http://dakcarto.github.com/qgis-web-client/


2

I've had the same problem and asked the question on stackoverflow. As I can see on your site, you hadn't change the pathes in your project. So, you must copy /apache-conf/qgis-web-client.conf.tmpl to .../apache-conf/qgis-web-client.conf (or rename...but I don't want to risk, so I've just copied it). Then you must replace all <path-to-qgis-server-...


2

There is a community module that offers a scripting interface in different languages. http://docs.geoserver.org/stable/en/user/community/scripting/index.html Including a WPS hook that allows you to add new processes via script. Currently there are only builds available for Python: http://gridlock.opengeo.org/geoserver/2.2.x/community-latest/ I've been ...


2

What about a script to make the WPS call at a predefined interval? Or a shell script that, when a change occurs in the directory, it makes a localhost WPS call? Alternatively, I would suggest that your workflow could run totally local and push the result to your DB. One potential workflow: New file added to a directory. Shell script fires which calls a ...


2

Esri Geoportal Server is an open source product that enables discovery and use of geospatial resources including data and services Might be an interesting alternatives (albeit far fetched in terms of features) to Geonode.



Only top voted, non community-wiki answers of a minimum length are eligible