Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minScale/MaxScale #967

Closed
andrerjesus opened this issue Sep 14, 2018 · 3 comments
Closed

minScale/MaxScale #967

andrerjesus opened this issue Sep 14, 2018 · 3 comments

Comments

@andrerjesus
Copy link

What is the bug?

Scale concept of min and max scales between QGIS and Lizmap are different.

QGIS: To show a layer up to 1:40.000 I need to set minScale: 40.000 and maxScale: 0 in the Rendering option.
Lizmap: To show a layer up to 1:40.000 I need to set minScale: 0 and maxScale: 40000 in the .cfg file.

Steps to reproduce the issue

  1. Go to QGIS and add two layers and set:
    layer-1 minScale 10.000 and maxScale 0
    layer-2 minScale 10.000 and maxScale 0

  2. Manually edit the layer cfg file and set:
    layer-2 minScale 0 and maxScale 10000

  3. Add the layer to Lizmap and check that only layer-2 is correctly displayed

  • Lizmap version: 3.1.14
  • QGis version: 3.2.2
  • OS (windows, linux, macOS, android..): Ubuntu 18
  • Browser (Firefox, Chrome...): Chrome
  • Lizmap data stored into Sqlite (default)? Postgresql
@andrerjesus
Copy link
Author

I'll move it to the right session. Sorry

@mbernasocchi
Copy link
Contributor

for reference the right session above means: 3liz/lizmap-plugin#122

@bgisb
Copy link

bgisb commented Apr 1, 2019

I'm a little bit confused. Right now, I have the same issue with Lizmap 3.2.1 and QGIS 3.4.5. Should it still work like this?

I have to manually edit cfg file:
from
"minScale": 50000,
"maxScale": 0,
to
"minScale": 1,
"maxScale": 50000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants