Git Product home page Git Product logo

3liz / lizmap-web-client Goto Github PK

View Code? Open in Web Editor NEW
245.0 42.0 139.0 62.3 MB

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it

Home Page: https://www.lizmap.com

License: Mozilla Public License 2.0

PHP 31.22% Smarty 2.29% CSS 3.01% HTML 0.67% JavaScript 57.76% QML 0.12% Shell 0.83% Batchfile 0.01% Makefile 0.24% Dockerfile 0.09% PLpgSQL 0.11% Python 0.04% TypeScript 3.60%
qgis php lizmap qgis-server openlayers javascript

lizmap-web-client's Introduction

logoLizmap Web Application 3.8.0-alpha.2

Unit tests 🎳 Lint PHPStan End2end tests 🎳

Lizmap web application, by 3LIZ.

begin       : 2011-11-01
copyright   : (C) 2011-2023 by 3liz
authors     : René-Luc D'Hont and Michaël Douchin
email       : [email protected]
website     : http://www.3liz.com

demo

Lizmap Web Application generates dynamically a web map application (php/html/css/js) with the help of QGIS Server (QGIS as OGC Data Server). You can visit some examples projects on the demo. You can configure one web map per QGIS project with the QGIS Lizmap plugin. From this plugin, you can enable some tools such as attribute table, dataviz, printing… The Lizmap web application must be installed on the server.

The Original Code is 3Liz code.

You can find help and news by subscribing to the mailing list: https://lists.osgeo.org/mailman/listinfo/lizmap.

Versions

We recommend you reading the versions page about QGIS Server, web-browsers etc.

Main Features

  • Map options
    • Printing
    • Measuring tools
    • Scales
  • Layer editions
  • Attribute table
  • Filter data by user
  • Filter form
  • Tooltips
  • Dataviz
  • Locate by layer
  • Layer tree
    • Enable and disable layers and groups
    • Change layer opacity
    • Layer Popup

Documentation and customization

https://docs.lizmap.com/

Documentation source: https://github.com/3liz/lizmap-documentation/

You can add your custom Javascript, check your Javascript library

Some modules can be added to Lizmap:

Internationalization

Transifex: https://www.transifex.com/3liz-1/lizmap-locales/

Locales source: https://github.com/3liz/lizmap-locales/

Authors

The Initial Developer of the Original Code are René-Luc D'Hont and Michael Douchin. Portions created by the Initial Developer are Copyright (C) 2011 the Initial Developer. All Rights Reserved.

Contributors

  • Paolo Cavallini
  • Salvatore Larosa
  • Giovanni Manghi
  • Laurent Jouanneau
  • José Macau
  • David Marteau
  • Vitor Jorge
  • Nicolas Boisteault
  • Arnaud Deleurme
  • Víctor Herreros
  • Aitor Gil
  • Felix Kuehne
  • João Gaspar
  • Sławomir Bienias
  • Petr Tsymbarovich
  • Alessandro Fanna
  • Marta Puppo
  • Pietro Rossin
  • Kari Salovaara
  • Xan Vieiro
  • Rasmus Johansson
  • Jankó J A

License

Version: MPL 2.0/GPL 2.0/LGPL 2.1

The contents of this file are subject to the Mozilla Public License Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/

Alternatively, the contents of this file may be used under the terms of either of the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

lizmap-web-client's People

Contributors

3liz-bot avatar alagroy-42 avatar antoviscomi avatar dependabot[bot] avatar dmarteau avatar flobz avatar gerald2545 avatar gustry avatar igeofr avatar jankoja avatar josemvm avatar laurentj avatar lhirlimann avatar lionelbargeot avatar lucie-masson avatar mbernasocchi avatar mdouchin avatar mind84 avatar nboisteault avatar nworr avatar pcav avatar pdrillin avatar rldhont avatar robifag avatar senequec avatar slarosa avatar teogoddet avatar timlinux avatar vherreros avatar ygorigor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lizmap-web-client's Issues

Add a tool to export rasters and the Lizmap canvas as raster/image

Just an idea for a eventual future addition, as it is available on other webgis frameworks and it seems to be very popular: allow export the canvas as georeferenced image (for example as png + worldfile) as also raster layers in a similar way as is already possible for vectors.

Of course the latter would have to be a download of the original dataset, not the rendered version as WMS, so there could be some limitations (i.e. external WMS layers) but other than that the original raster layer (probably a file based one) should be "passed to" the final user, this way we could take advantage of LMWC functionalities such as global/layer/project permissions.

After login, rediecting where the user comes from

If a user logs in, he is redirecting to the projects list. But if a you user logs in from a map page, he wants to come back to the web page.

Jelix can do it if the param auth_url_return is set.

Add attribution comming from GetCapabilities

In QGIS-Server version 2.0, the user can specify the layer's attribution. OpenLayers can display it.
It will be great to have it automatically in LizMap. The solution is to update Attribution control.

When editing hide the fields that are not supposed to be seen

Not sure if this a bug or a feature request. In the QGIS vector properties, field tab, the user can choose to hide certain fields, so they do not show when identifying the features in the map. But if the layer is set for editing then those fields will show anyway. Hiding would be useful to allow admins do not let certain users to edit/fill certain attributes.

Add a "delete all" or "clear layer" button in editing tool

Many times it is needed to have a layer to sketch geometries to be eventually printed in some layout. Instead of adding a specific sketch tool, this can be achieved by using one or more editable layers. In this case a button to clear all geometries/attributes would be very useful.

Locating tool, show unique values -> multi selection

The locating tool nows scan a column and create a list that contains all the values regardless if in that column there are repeated ones.

A nice feature would be allow create a list of just unique values, then if a selected value correspond to >1 feature select all them on the map.

Display WMS GetCapabilities URL

Add the possibility to display the WMS GetCapabilities URL for each Lizmap project.

Create an admin right to let the admin disable this feature for some repositories

Mutual disable layers

like in other webgis platforms it would be very useful to have the chance to configure a list of layers that have to mutually disable each other (like baselayers). To make things simplier it would be enough to allow say that the layers inside a particular group have to mutually disable each other.

Cannot select point feature for editing(?)

Please forgive me if I have overlooked something.

It seems that is not (easily) possible to select a point feature with the editing tool. I'm testing with qgis (desktop/server) master and lizmap master.

Problem trigger postgresql : insert current_date return ' ' not date

if we insert current_date (limi_date in exemple) in a trigger in postgresql / postgis to edit a form, qgis desktop reference date but lizmap_web_client return ' ' and can not save.

ex:
iNSERT INTO "public"."limi_view" (id, geom, limi_id, limi_date, id_oiseau, type_oiso, id_cat_lim, categorie, limi_qte, id_gen_lim, genre, id_esp_lim, espece, id_sex_lim, sexe, id_com_lim, comportement, limi_nid, limi_jeun, limi_anx, limi_com, limi_parc, limi_agent ) VALUES (NULL, ST_GeomFromText('POINT(387802.47050012124 6550714.128488246)', 2154), NULL, '', 1, '', 2, '', 26, 3, '', 51, '', 1, '', 2, '', 'false', NULL, NULL, '', '', 'false' );

Layers order issue when printing on Lizmap master

Make LM "skinnable"

Add an option to replace the default logo and colour scheme with one of the choice of users. Probably better implemented in the plugin.

If layer has a "custom" CRS then does not show in Lizmap

Sometimes it happens that a layer created in QGIS may be given a a CRS that is not exactly recognized by QGIS itself, and then added as "custom CRS".

In such cases the layers with such CRS are not shown in LM (raster shows as white rectangle, vectors are not shown at all).

Direct access to external WMS layers

Let the user configure Lizmap so that external WMS layers images are fetched directly from the external server. This would avoid QGIS Server to fetch the images the resend it to Lizmap Web Client.

Caveat : no cache will be stored by Lizmap

Print at scales defined in Lizmap plugin also when project is in 3857

Hi,

as far as I understand when project is in CRS 3857 and at least one base layer (Google, etc.) is added, then the scales available for navigation are forced to be compatible with the baselayers ("ignoring" the ones defined in Lizmap plugin). The same scales are applied also for printing. As anyway as the baselayers such Google are not printed, then for printing it would be good to use anyway the scales defined in Lizmap plugin.

Server Error on GetLegendGraphics request

Hi,
I am getting the follow error:

[Wed May 21 10:57:24 2014] [error] [client 127.0.0.1] Premature end of script headers: qgis_mapserv.fcgi
[Wed May 21 10:57:24 2014] [error] [client ::1] 2014-05-21 10:57:24\t::1\twarning\t2014-05-21 10:57:24\t[2]\tfile_get_contents(http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?dpi=96&exceptions=application%2Fvnd%2Eogc%2Ese%5Finimage&format=image%2Fpng&itemfontsize=9&layerfontbold=FALSE&layerfontsize=0&layers=PSA%5FFAGLIE%5FCASMEZ&layerspace=0&map=%2Fhome%2Fsam%2Fwww%2FANALISI%5FFRANE%2FFRANE%5FLIZ%2Eqgs&request=GetLegendGraphics&scale=144447%2E6385520874&service=WMS&symbolspace=1&transparent=TRUE&version=1%2E3%2E0&width=150): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error\r\n\t/home/sam/www/lizmap-web-client/master/lizmap/modules/lizmap/classes/lizmapCache.class.php\t85\n, referer: http://localhost/lizmap-web-client/master/lizmap/www/index.php/view/map/?repository=frane&project=FRANE_LIZ

This is happening when expanding a layer to view the legend style. It occurs using both the master version of lizmap and QGIS.

senzanome

[EDITION] Editing only attributes is broken

If in the configuration, a layer has only modify attributes and not geometry, the user can select a feature but can't modify attributes.

This regression is probably du to the OpenLayers 2.13.1 integration.

Selection tool + table of attributes

Like in others webgis frameworks it would be very good to have a selection tool (like "selection by rectangle" in qgis) to allow select features on the map (the user must select first the layer where to apply the selection). After the selection is made a dialog opens and shows the attributes (as a table) of the selected features. Clicking on one row and the map zooms on that specific feature.

Better minscale handling

Currently the minscale is limited by the background layer used. Better if the minscale as chosen in the project would be honoured, switching the base layer off when zooming in beyond its limits.

Points on the East missing at full zoom with EPSG:3857

A few points are missing in a sample install of LizMap (see extreme East, N Japan and NSW, Australia):
http://www.faunalia.it/map/lizmap/www/index.php/view/map/?repository=faunalia&project=faunalia_map
Zooming in I the points are displayed:
http://www.faunalia.it/map/lizmap/www/index.php/view/map/?repository=faunalia&project=faunalia_map&lon=14965894.521554478&lat=4660684.360578368&zoom=2
Same data in EPSG:4326 (of course, without background map) are shown:
http://www2.faunalia.eu/map/lizmap/www/index.php/view/map/?repository=faunalia&project=check

I suspect this may be due to its bounding box; however, I have set up on the OWS properties 19472183 to prevent this (form the canvas a Xmax is 17087388).

I'm available for debugging.

Problem with the basemap

when creating a project without basemap, and the printing module is functional, the project under lizmap (2.9) is not displayed.
However as soon as the basemap OSM example is inserted, everything works again.

Zoom to layer

It would be good to have it, eventually the control can be a small button beside the layer name.

Clickable area too small for points

For point layers, clicking exactly on the point is difficult, and the user misses the popup very often. Better define a larger clickable area

Use layers from a group as a Mask

Implementation to developp :

  • a group called "mask" or "Mask" can be added in the QGIS project in the legend root
  • this group can contains many layers
  • this group will never been shown in Lizmap Web Client legend
  • the tiles from this group will be always shown above all the other layers

Add a BBOX sintax for zooming

Currently, zooming at a specified area is done through lon=xxx&lat=yyy&zoom=z syntax; it would be good to add a standard mapserver syntax like &bbox=xmin,ymin,xmax,ymax.

See also #13

Legend size bug with Chromium / Chrome

Under Chrome and Chromium, legend are resize to fit in the column where legend appears.
That make small font to read when there is a signicative number of text.

Add IGN Geoportail and GMap geocoding - funded by Pays de Pontivy

The administrator must be able to choose the geocoder that he would like the web user will use.

The OpenStreetMap geocoder, Nominatom, may already be selected.
The GMap geocoder has to be used with Google baselayer to respect the CGU.
The IGN Géoportail geocoder is for french users.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.