3liz / lizmap-plugin Goto Github PK
View Code? Open in Web Editor NEWLizmap plugin for QGIS, allowing to publish QGIS maps to Lizmap Web Client
Home Page: https://www.lizmap.com/
License: GNU General Public License v2.0
Lizmap plugin for QGIS, allowing to publish QGIS maps to Lizmap Web Client
Home Page: https://www.lizmap.com/
License: GNU General Public License v2.0
Remove the option rootGroupAsBlock.
This option has been removed from web client:
Hi, i'm testing lizmap 3.0pre, it's very good!
If it may be useful:
when i create an user, the page http://10.110.1.4/lizmap-web-client-master/lizmap/www/admin.php/jauthdb_admin/default/savecreate is
Application error - 'Error 500. A technical error has occured. Sorry for this trouble.'
Add the capability to the administrator to choose an empty baselayer.
Add in the external search list :
When the user chooses google geocoder, verifying that GMaps Baselayers are choosen.
When the user chooses IGN Géoportail geocoder, verifying that an IGN key is added.
Please see 3liz/lizmap-web-client#154 for the details of the issue.
Steps to reproduce
Traceback (most recent call last):
File "C:/Users/_/.qgis2/python/plugins\lizmap\lizmap.py", line 2505, in getMapOptions
self.writeProjectConfigFile()
File "C:/Users/_/.qgis2/python/plugins\lizmap\lizmap.py", line 1996, in writeProjectConfigFile
inputValue = str(inputValue)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 5: ordinal not in range(128)
lizmap version 2.1.1, QGIS 2.14.3-Essen on Windows 7
Je viens de remarquer un petit bug dans le plugin : à l'ouverture du plugin, la sélection du fond de carte actif au démarrage (option rajouté récemment) est réinitialisé à la première valeur. Il faut donc le modifier à chaque fois.
Sometimes, the Locate by layer, dropdown list is empty. (see 3liz/lizmap-web-client#154)
The problem appears if you rename a layer in qgis (even without space or special character).
It would be useful to have in the plugin an option to start the web app with the legend hidden.
Avec les dernières versions lizmap plugin (2.1.2) et lizmap web client (3.0.3).
Ca marchait trés bien quand j'étais sur le lizmap web client 2.12...
Je n'arrive pas à faire fonctionner l'outil correctement, il effectue un zoom trés fort sur un point qui ne correspond pas du tout à la couche indiquée.
J'ai fait le test avec une ou deux couches ayant la même projection, le problème persiste.
hi
tooltip limit layers = 5
is it possible to increase the limite of available layers?
thanks
When the name of the layer contains "-" or "(", the baselayer has a wrong name (a "_" is added)
If I select, in the plugin, Get images directly from external WMS
for a non WMS layer, the project is broken in Lizmap web client
I suggest to deactivate that option for the layers other than WMS.

See also: 3liz/lizmap-web-client#306
It would be useful to add it, on par with Google
Today it is possible to directly query Getmap for external WMS.
It would be nice to also have a checkbox to query Getfeatureinfo with a combobox to select info_format MIME type.
MIME type would be at least 'text/plain', 'application/vnd.ogc.gml' and 'text/html'.
This will avoid problems when the user forgets to change the remote path if working with several projects in distinct remote repositories
The plugin is probably not functional now on the development version
Once set, the option reappears when closing and reopening LizMap plugin.
I've watched the video https://vimeo.com/83966790 on how-to filter data based on users group and I've tried to apply to my project (QGIS 2.8.2, Lizmap plugin 1.9.10, web-client 2.11).
I've created a string attribute and a group with identifier = the value of that attribute. I've added the filter layer in the tools tab, with "filter by user = false" and set cache client side = 0. All according this documentation: http://docs.3liz.com/en/publisher_guide/advanced_lizmap_config.html#filtered-layers-filtering-data-in-function-of-users
The filter doesn't work.
The only way to filter data that I've found is create an user with username equals to the value of a group attribute and set the option "filter by user = true". But I don't need filter by user, I'd like to filter by group, as default!
Maybe new lizmap versions have introduced this error?
It seems the user defined value is lost and alway replaced by 300
The plugin window is not completely shown on 768 px screens
If layer names are automatically Capitalized by using the option, the project is no longer working. This may be difficult to debug, as it happens silently, and the user have no clue about it.
When selecting additional fields in the Localization tool, all the fields from all the layers are shown.
I was expecting to have only the fields from the selected layer.
Is it the normal behaviour ?
i can see level more than two group on lizmap plugin, but when i save for webClient it appears two level group on webclient legend layers area.
it just two level working?
Hi
I don't know if it's a lizmap plugin issue or a Qgis issue or a python issue. When I use the demo project (montpellier) and try to configure/change popup template, I-ve got the following message :
ImportError: cannot import name QgsCodeEditorHTML
I'm working on an ubuntu package : 1:2.14.1+20trusty on Linux Mint 17.2
Thanks for help
Lionel
To have a combobox without toggle in the lizmap-Web-client, an option has to be add to the locateByLayer. This option is minLength. It's an integer. It represents the number of characters needed before the list appears.
I realized that working with the plugin lizmap, when I open another project the plugin remains open and sometimes his cfg file was polluted with the parameters of the project qgis earlier.
It would be better qgis when opening a new project automatically shut him the plug-in lizmap opened previously?
thanks
Hi,
As many opensource project cannot access to MapQuest anymore,
Should be interesting to provide MapBox provider as Gnome Project or GeoNode have done.
Thx
When the project path does not end with /, the mapping fails, without an indication. Better add it automatically, or warn the user.
Hi,
using a postgis layer with more then 20 fields when i try to configure the Layer Popup and show more then 7 fields the dialog starts to freeze and slowdown the type.
Suggestion:
[Feature request]: Option in configure layer popup to load external file .html or .txt with the confguration popup of the layer.
Regards
João
Hi, I'm doing an experiment about using lizmap to publish some layers coming from a postgresql+postgis server.
So, I installed on the same PC (Debian) Postgresql, postgis, Qgisserver, php (with postgresql extension), phyton and so on and I created a very simple project with 3 layers coming from DB.
Then I created repository on lizmap, doing everything I thought was correct but... I can't see my DB layers with lizmap project.
Is there something I can check (or not) in the lizmap plugin? Something to check on the DB?
Thank you very much!
Renata.
The user should be able to choose the default base layer and in which order they are displayed in Lizmap web client (less important).
Hi,
i have a problem with the latest release: in this project
http://webgis.provincia.belluno.it/index.php/view/map/?repository=mappe&project=test3
there are two layers (comuni = shape and the other is from PG), it's ok in 2.11.1
when i use it with 2.11.2
http://217.57.35.189/webgis_xx/index.php/view/map/?repository=mappe&project=test3
the shape layer doesn't appear and there isn't connection with db.
Thanks
Hi Michael,
just seen your tutorial here http://vimeo.com/83966790 regarding filtering data in a layer and I tried to make the same with my data. I've got a layer containing municipalities with a field named "gruppo" that could be "VI", "PD", "VR", and so on, the abbreviations for the 7 cities of my region.
Then I created 7 groups having id like the 7 cities, 7 users one for every group, set the project to be seen from the 7 groups, put in the LizMap plugin the information about the field used as filter, uncheck the client cache for the layer having the filter, deleted server and browser caches but... nothing happens: my users always see every records of the table. It's very strange that admin see everything too and it isn't in any of the groups that could use the project.
Is there something to check?
Thank you!
It would be nice for non-developer people to have a wysiwyg editor to create the HTML popup templates and CSS styles.
Ideally there would be a dropdown list filled with layer's attributes to select them and have the {$attribute} variable put in the editor.
It would be useful to be able to define the time interval in different measure unit (e.g. hours or days), as it will be painful for the users to calculate the conversions in case of more sparse data.
To use 3liz/lizmap-web-client#198 implementation
Hello,
I have a problem when i open the plugin Lizmap :
Traceback (most recent call last):
File "C:/Users/XXX/.qgis2/python/plugins\lizmap\lizmap.py", line 2754, in run
self.embeddedGroups = self.getProjectEmbeddedGroup()
File "C:/Users/XXX/.qgis2/python/plugins\lizmap\lizmap.py", line 2358, in getProjectEmbeddedGroup
arbre = ET.parse(f)
File "C:\PROGRA~1\QGISWI~1\apps\Python27\lib\xml\etree\ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "C:\PROGRA~1\QGISWI~1\apps\Python27\lib\xml\etree\ElementTree.py", line 656, in parse
parser.feed(data)
File "C:\PROGRA~1\QGISWI~1\apps\Python27\lib\xml\etree\ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "C:\PROGRA~1\QGISWI~1\apps\Python27\lib\xml\etree\ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 1870, column 31
Version de Python :
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
Version de QGIS :
2.8.2-Wien Wien, 1b929ef
Chemin vers Python : ['C:/Users/XXX/.qgis2/python/plugins\processing', 'C:\Users\XXX\.qgis2\python\plugins\GeoCoding\libs', 'C:/PROGRA~1/QGISWI~1/apps/qgis/./python', u'C:/Users/XXX/.qgis2/python', u'C:/Users/XXX/.qgis2/python/plugins', 'C:/PROGRA~1/QGISWI~1/apps/qgis/./python/plugins', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\matplotlib-1.3.1-py2.7-win-amd64.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\nose-1.3.3-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\tornado-4.0.1-py2.7-win-amd64.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\backports.ssl_match_hostname-3.4.0.2-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\certifi-14.05.14-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\bin\python27.zip', 'C:\PROGRA~1\QGISWI~1\apps\Python27\DLLs', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\plat-win', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\lib-tk', 'C:\PROGRA~1\QGISWI~1\bin', 'C:\PROGRA~1\QGISWI~1\apps\Python27', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\PIL', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\win32', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\win32\lib', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\Pythonwin', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\six-1.3.0-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg', u'C:/Users/XXX/.qgis2//python', 'C:\Users\XXX\.qgis2\python\plugins\mmqgis/forms', 'C:\PROGRA~1\QGISWI~1\apps\qgis\python\plugins\fTools\tools', 'C:/Users/XXX/Documents/LIZMAP']
Can you help us ? We don't understand !
Bonjour à tous,
tout d'abord merci pour votre outils très opérationnel.
Je me tourne vers suite à un problème rencontré lors du paramétrage avancé des popups.
Lorsque je crée un popup en html du type :
"
Nom de la structure : {$Nom de la structure :}
"Le popup en question m'affiche systématiquement la valeur d'un colonne située plus loin dans mon fichier de données.
J'ai vérifié maintes et maintes fois l'intégrité de mon fichiers csv, et tout à l'air bien de ce coté la.
Je précise que je travail à partir d'un fichier de point (csv) pour facilité la mise à jour des données par la suite, qui sera géré par des non géomaticiens.
Mon fichier csv est composé d'une cinquantaine de champs de tout type.Les travaux de requête sous qgis se passe sans aucuns problème, tout comme la visualisation en ligne.
Lorsque je teste avec un fichier de test tout petit composé de deux ou trois colonnes,la génération du popup se déroule correctement, de même que si je génère un popup simple, il me charge correctement l'ensemble de ma table dans la popup.
Voila , maintenant je sèche et j'ai l'impression d'avoir tout testé...
Merci d'avance pour votre aide.
Clément
Hi,
when renaming a layer in QGIS, all its configuration is lost. Pop html - css template can be a lot of work.
Identifying layers be their ID's would give lot more stable configurations and less work to Lizmap administrators.
I think #42 is related too
Cheers
The legend characters are way too small to be visible. They should either be recalculated in an appropriate fashion, or the user should be given an option to choose their size.
When working on a database server, we normally use TCP/IP connections. Once the project is moved to the server, it should be faster using a local socket. It would be nice if the plugin would offer the option to automatically switch to local socket once deployed on the server. Tips should then be added to explain how to allow local connections on pg_hba.conf
Hi,
Can't set with a layer not active the localisation list.
Even if we try to active it to add to localisation field and then define inactive, localization list appear but doesn't load attribute so : empty :(
Best Regards
If the user chooses PNG8 instead of PNG24, a degradation is to be expected, and the choice is unsuitable in case of transparencies. Adding a warning, preferably only in case the layer has a transparency or similar effects, would help reducing surprises.
e.g. if I select PNG8 as image type for a group, and I display grouped layers as a group, choosing image type for individual layers is not necessary, and can be confusing for the user (it is not clear what happens in case of conflicting choice).
LizMap Plugin 1.9.8
openSUSE 12.3 64 bits
QGIS 2.4 64 bits
When open a project, launch lizmap, got these errors lines when i click on save :
Traceback (most recent call last):
File "/home/n.rochard/.qgis2/python/plugins/lizmap/lizmap.py", line 2120, in getMapOptions
self.writeProjectConfigFile()
File "/home/n.rochard/.qgis2/python/plugins/lizmap/lizmap.py", line 1626, in writeProjectConfigFile
r = QgsMapRenderer()
TypeError: C++ type 'const QgsMapLayer*' is not supported as type
Version de Python :
2.7.3 (default, Apr 14 2012, 08:58:41) [GCC]
Version de QGIS :
2.4.0-Chugiak Chugiak, exported
and after, got these errors when I tunr off this error window :
Traceback (most recent call last):
File "/home/n.rochard/.qgis2/python/plugins/lizmap/lizmap.py", line 2492, in warnOnClose
self.writeProjectConfigFile()
File "/home/n.rochard/.qgis2/python/plugins/lizmap/lizmap.py", line 1626, in writeProjectConfigFile
r = QgsMapRenderer()
TypeError: C++ type 'const QgsMapLayer*' is not supported as type
Version de Python :
2.7.3 (default, Apr 14 2012, 08:58:41) [GCC]
Version de QGIS :
2.4.0-Chugiak Chugiak, exported
During a course, I found that a frequent error is defining a wrong wms extent (e.g. defining it in a different CRS from that final of the project (usually 3857).
I suggest to add a check on the plugin "The WMS extent is different from the extent of your layers, are you sure to continue?"
This would prevent many situations of the map not showing off.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.