Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 2.09 KB

INSTALLATION.md

File metadata and controls

46 lines (31 loc) · 2.09 KB

Installation

The ZIP downloaded from demo server contains everything inside.

JavaScript

Most of ZIP files include one or more JavaScript files. It's mainly for demonstration purpose, for instance to hide buttons which are not necessary for the main feature to demonstrate.

These files can be removed if wanted. You should check their content.

But in a few demonstration projects, the JavaScript file is required, for instance for the Mapillary project.

If you want to activate it, do not forget the right "Enable JavaScript" at the repository level.

SQL data

Some projects are using SQL data. By default, projects are using a PostgreSQL service called PG_SERVICE.

See also the documentation about PostgreSQL service file on qgis.org website.

  1. You should first have a look at the content of the SQL file, to see for instance the associated SQL schema it will overwrite.

  2. Load the SQL in your database

At this step, there are two options :

  1. Either to have a service called PG_SERVICE according to the PostgreSQL documentation and similar to an existing one in LWC. The most difficult part is to know where you can put this file according to your system or to define PGSERVICEFILE in QGIS desktop.
  2. Open the QGS project

Or :

  1. Open the QGS project
  2. Press "Ignore for 10 seconds" service prompt
  3. Either edit the datasource manually, according to your imported data, or press again "Keep unavailable layers" bad layer handler
  4. On an unavailable layer, do this to repair the datasource : repair datasource
  5. Pick the layer you have imported in your database