Giter VIP home page Giter VIP logo

lizmap-plugin's People

Contributors

3liz-bot avatar dependabot[bot] avatar dmarteau avatar ewsterrenburg avatar gerald2545 avatar ghtmtt avatar gustry avatar josemvm avatar kanahiro avatar laurentj avatar mbernasocchi avatar mdouchin avatar nboisteault avatar nicogodet avatar pcav avatar pdrillin avatar rldhont avatar senequec avatar slarosa avatar sylsta 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

Watchers

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

lizmap-plugin's Issues

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

Add in the external search list :

  • google for GMap geocoder
  • ign for IGN Géoportail geocoder

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.

Active baselayer at startup - UnicodeEncodeError

Steps to reproduce

  1. Ajout de la couche "Vue Aérienne 2009 40cm" depuis : http://ids.pigma.org/geoserver/wms
  2. Configuration Lizmap : Flux en Fond de carte & Demander les images directement au serveur WMS
  3. Choix du Fond de carte actif au démarrage
  4. Enregistrement de la configuration
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

Selection du "Fond de carte actif au démarrage"

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.

Localiser par couche ne fonctionne pas

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.

Wrong name of baselayer

When the name of the layer contains "-" or "(", the baselayer has a wrong name (a "_" is added)

Add checkbox to query Getfeatureinfo for external WMS

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

Problems in filter data by user group

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?

Window too high

The plugin window is not completely shown on 768 px screens

Localization Tools - Optionnal Group

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 ?

More than two level group

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?

ImportError: cannot import name QgsCodeEditorHTML

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

Add minLength option in locateByLayer

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.

lizmap plug-in

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

Error Python

Please Help !!!
I have this issue with qgis 1.8 and 1.9.
If you need the file of the demo project ask me

error

Thanks
Andrea

Replacing MapQuest by MapBox ?

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

[Freeze Behavior] Configure Layer Popup with html syntax

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

Layer from postgresql

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.

Filtering data on user groups

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!

WYSIWYG editor and HTML popup templates

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.

Time manager: more time units to choose from

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.

Python error with ElementTree

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 !

Probléme lizmap popup configuration avancé

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

Identify layers by name leads to major configuration losses

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

getLegendGraphics is too small

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.

Convert TCP PostGIS connection to UNIX socket

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

Please add a warning when choosing PNG8

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.

When grouping layers, individual settings are redundant

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

Unable to use plugin with QGIS 2.4 64 bits - Python Error

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

Check for wrong extent

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.

print scale; svg

Hi

I found this in lizmap:
the printing scale, based on the presence or not of public base layer, is incorrect
3

1
;

time manager (that's cool !!!!): if i use standard symbols svg, it's ok with Qgis but does not appear on the web.

thanks

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.