Tag Info

Hot answers tagged

6

Go through the following questions. GIS for the web Steps to Start Web Mapping Web GIS Development Skill Sets


3

use Quantum GIS (QGIS) Web Client here and QGIS Server which @Gabriel Giroux stated above. A WMS based webgis client that makes use of QGIS specific WMS extensions (e.g. highlighting, printing, metadata, etc.). QGIS webclient reads the configuration from the WMS GetCapabilities command and builds the layer tree accordingly. Supports legend graphic, ...


2

Siva, Before publishing your QGIS project make sure that you have QGIS Server up and running. To accomplish that process I recommande you to have a look to this link below that explain step by step how to install ang configure QGIS server. http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial Good luck


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

you have to change some code in qgis-web-client / site / js / WebgisInit.js you can add unit parameter to OpenLayers.Control.Measure method. you have to do this for polygon too... measureControls = { line: new OpenLayers.Control.Measure( OpenLayers.Handler.Path, { persist: true, units:'ft', handlerOptions: { ...


2

QGIS web client has nothing to do with Mapserver. It is a frontend for QGIS SERVER, so you need to install it with the osgeo4w installer. The QGIS web client is not made to work on Windows server, so AFAIK there isn't a straightforward procedure to make it work. Anyway I found a way, but it isn't pretty: install QGIS Server and edit https_qgis.conf as ...


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 ...


2

Apparently, the issue has been fixed in the development build of QGIS. http://hub.qgis.org/projects/quantum-gis/repository/revisions/75dc85b4d652116814873bb7674cab15ce6cde66 Installed QGIS version 1.9.0-Master and tried it out, works fine.


2

I have tried to put my shapefiles, into /qgis-web-client/data/ and into /tmp/ Both work fine, because the location path is mentioned into the QGIS project I guess. But in order to see them into the QGIS-Web-Client, Apache (www-data) needs to have the right to open them. Which means, the 'other' needs to be able to read your shapefiles: rw-rw-r-- Hope that ...


2

MapServer is also an open-source (free option) that requires an Apache Web Server. There are tutorials at www.mapserver.org as well as installation instructions, and plenty of examples.


1

It would help if you provided some sort of debugging result from when you load your map. I know that you can get the console up on firefox with ctrl + shift + k. Then jump to javascript tab (because thats where errors happend to me) and you can find your error there. Usually the infinite loading icon means there is an error. And yes you should create ...


1

Ok so after a lot of blindly changing settings I realise that my issue was probably primarily to do with my poor understanding of apache2, virtual hosts etc. I renamed the qgis-web-client folder to "map" and moved to: /var/www/html/ Updated my qgis-web-client.conf file paths: path-to-qgis-web-client = /var/www/html/map/ path-to-qgis-server-projects = ...


1

The only solution I know is to add OSM as a WMTS layer in your project and display it before you print the map.


1

After finally finding this conversation http://lists.osgeo.org/pipermail/qgis-user/2014-February/026220.html I changed the used CRS of my project to the one as stated in GlobalOptions.js: var authid = "EPSG:"+3857;. (Unfortunately, the CRS I would like to use is not available in site/libs/proj4js/defs/. Manually creating it also did not help.) Additionally, ...


1

Your server works just fine. Use the search field in the upper right corner to search for Indonesia and you will be zoomed there. The only thing that seems to be misconfigured is the default location and/or zoom level.


1

Can confirm this in python console: >>> layer = qgis.utils.iface.activeLayer() >>> layer.dataProvider().encoding() PyQt4.QtCore.QString(u'UTF-8') >>> layer.setProviderEncoding(u'latin9') >>> layer.dataProvider().setEncoding(u'latin9') >>> layer.dataProvider().encoding() PyQt4.QtCore.QString(u'UTF-8')


1

Thank you Aragon for your answer. My problem is still to find the right js-file. I tried all javascript files. I have pasted code-examples which i found in the internet with no success...


1

If QGIS can read and display the SQL Server 2008 data (or any WMS layers), then you should be able to serve up the data from QGIS Server to QGIS Web Client.


1

This web map was created using: QGIS - set up how you want your project to look QGIS Server (sometimes called QGIS MapServer) - serve up your QGIS project QGIS Web Client - browser-based access to your QGIS project If you don't already have one, I would recommend setting up a Linux box first. Linux Mint and Ubuntu work particularly well. You'll also ...


1

This is another comment. It appears I'm unable to add comments to other people's answers due to a lack of points. Thanks for moving my previous answer to a comment where it belongs. Wish this didn't have to be so difficult, but I understand the reasoning. Just wanted to say thanks to DAKCARTO and sorry for misspelling your name. Looking forward to ...


1

i havent tried this but i think this would be work. first of all add all openlayers file in site / libs / openlayers as to getting dependencies. then make a js file with name qgis-modifications and add this to your main file... write the following code in your qgis-modifications.js. this should work... and consider this for adding google maps to your ...


1

I had a similar issue.... Im My case, the SRS code was differente in the GlobalOptions.js and my qgis projects.... so, i changed the EPSG variable in globaloptions to a srs code used in qgis project and the maps loaded...



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