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

no grid in print output for crs 4326 #1396

Closed
josemvm opened this issue Nov 20, 2019 · 14 comments
Closed

no grid in print output for crs 4326 #1396

josemvm opened this issue Nov 20, 2019 · 14 comments

Comments

@josemvm
Copy link
Collaborator

josemvm commented Nov 20, 2019

lizmap 3.3 and master
QGIS project 2.18.28
QGIS server 2.18.28 and 3.4.13

thanks in advance for your attention!

@josemvm josemvm added the bug label Nov 20, 2019
@josemvm
Copy link
Collaborator Author

josemvm commented Nov 21, 2019

Steps to reproduce the issue

create a new project, add a single layer with crs 4326 and activate the "draw grid"...

everything works fine for all other crs (e.g. 3857, 3763, ...)

@josemvm
Copy link
Collaborator Author

josemvm commented Dec 11, 2019

hi

please, can anyone pay any attention to this trouble?
we are talking about the main geographic coordinate system, "World Geodetic System" (WGS 84)

thanks

@rldhont
Copy link
Collaborator

rldhont commented Dec 11, 2019

@josemvm it's an issue in the way Lizmap is using scales...

@rldhont
Copy link
Collaborator

rldhont commented Dec 11, 2019

I think lizmap web client 3.2 is also affected

@josemvm
Copy link
Collaborator Author

josemvm commented Dec 11, 2019

@rldhont yes, i can confirm, lizmap 3.2 is also affected

@josemvm josemvm added this to the 3.2.10 milestone Dec 11, 2019
@rldhont rldhont modified the milestones: 3.2.10, 3.2.11 Feb 14, 2020
@laurentj laurentj modified the milestones: 3.2.11, 3.2.12 Mar 24, 2020
@nboisteault nboisteault modified the milestones: 3.2.12, 3.2.13 May 16, 2020
@laurentj laurentj modified the milestones: 3.2.13, 3.2.15 Jul 2, 2020
@rldhont rldhont modified the milestones: 3.2.15, 3.2.16 Jul 29, 2020
@nboisteault nboisteault modified the milestones: 3.2.16, 3.2.17 Oct 5, 2020
@nboisteault nboisteault modified the milestones: 3.2.17, backlog 3.2 Oct 6, 2020
@nboisteault
Copy link
Member

Hi @josemvm
Could you test with master branch please?

@nboisteault nboisteault self-assigned this Feb 3, 2023
@josemvm
Copy link
Collaborator Author

josemvm commented Feb 4, 2023

hi @nboisteault i have tested with 3.6.1 and it works fine!
grid

@josemvm
Copy link
Collaborator Author

josemvm commented Feb 5, 2023

@nboisteault with master (3.7.0-pre.6077) the grid appears but no points...

grid_

@Gustry
Copy link
Member

Gustry commented Feb 6, 2023

@josemvm Thanks for testing LWC 3.7
Without more details on the last screenshot, it's impossible to debug. We do some testing (automatic and manual) on a few Lizmap Web Client instances https://demo.snap.lizmap.com/lizmap_3_7/ (3_6, 3_5...)

From my tests last Friday, I got my GIS layers printed from me, CF #3411

@josemvm
Copy link
Collaborator Author

josemvm commented Feb 6, 2023

hi @Gustry
no logs in console browser
qgis server log:

09:56:50 INFO Server[11411]: Request URL: http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi
09:56:50 INFO Server[11411]: Environment:
09:56:50 INFO Server[11411]: ------------------------------------------------
09:56:50 INFO Server[11411]: SERVER_NAME: 127.0.0.1
09:56:50 INFO Server[11411]: REQUEST_URI: /cgi-bin/qgis_mapserv.fcgi
09:56:50 INFO Server[11411]: SCRIPT_NAME: /cgi-bin/qgis_mapserv.fcgi
09:56:50 INFO Server[11411]: REMOTE_ADDR: 127.0.0.1
09:56:50 INFO Server[11411]: SERVER_PORT: 80
09:56:50 INFO Server[11411]: QUERY_STRING:
09:56:50 INFO Server[11411]: CONTENT_TYPE: application/x-www-form-urlencoded
09:56:50 INFO Server[11411]: REQUEST_METHOD: POST
09:56:50 INFO Server[11411]: SERVER_PROTOCOL: HTTP/1.1
09:56:50 WARNING Server[11411]: Error parsing post data as XML: at line 1, column 1: error occurred while parsing element. Assuming urlencoded query string sent in the post body.
09:56:50 INFO WfsOutputExtension[11411]: requestReady ran in 0.0s
09:56:50 INFO Lizmap[11411]: Request headers provided
09:56:50 INFO Lizmap[11411]: No lizmap user groups in request headers
09:56:50 INFO Lizmap[11411]: Lizmap user groups in parameters : admins
09:56:50 INFO Lizmap[11411]: Fetching /var/www/html/lizmap-web-client/lizmap/install/testes/grid.qgs.cfg cfg file with last modified timestamp : 1675675833.0
09:56:50 INFO Lizmap[11411]: No acl defined in Lizmap config
09:56:50 INFO Server[11411]: DPI:100
09:56:50 INFO Server[11411]: FORMAT:pdf
09:56:50 INFO Server[11411]: LIZMAP_OVERRIDE_FILTER:1
09:56:50 INFO Server[11411]: LIZMAP_USER:admin
09:56:50 INFO Server[11411]: LIZMAP_USER_GROUPS:admins
09:56:50 INFO Server[11411]: MAP:/var/www/html/lizmap-web-client/lizmap/install/testes/grid.qgs
09:56:50 INFO Server[11411]: MAP0:EXTENT:-7.969634282414649,38.757941419610006,-7.884743488065355,38.799609248090064
09:56:50 INFO Server[11411]: MAP0:LAYERS:queimas_queimadas_geom_v
09:56:50 INFO Server[11411]: MAP0:OPACITIES:255
09:56:50 INFO Server[11411]: MAP0:SCALE:50000
09:56:50 INFO Server[11411]: MAP0:STYLES:padrão
09:56:50 INFO Server[11411]: REQUEST:getprint
09:56:50 INFO Server[11411]: SERVICE:WMS
09:56:50 INFO Server[11411]: SRS:EPSG:4326
09:56:50 INFO Server[11411]: TEMPLATE:grid
09:56:50 INFO Server[11411]: TRANSPARENT:true
09:56:50 INFO Server[11411]: VERSION:1.3.0
09:56:50 INFO AccessControlFilter[11411]: QgsAccessControlFilter plugin default layerPermissions called
09:56:50 INFO Lizmap[11411]: Request headers provided
09:56:50 INFO Lizmap[11411]: No lizmap user groups in request headers
09:56:50 INFO Lizmap[11411]: Lizmap user groups in parameters : admins
09:56:50 INFO Lizmap[11411]: Request headers provided
09:56:50 INFO Lizmap[11411]: No lizmap user login in request headers
09:56:50 INFO Lizmap[11411]: Lizmap user login in parameters : admin
09:56:50 INFO Lizmap[11411]: Fetching /var/www/html/lizmap-web-client/lizmap/install/testes/grid.qgs.cfg cfg file with last modified timestamp : 1675675833.0
09:56:50 INFO Lizmap[11411]: Lizmap config has no editionLayers
09:56:50 INFO Lizmap[11411]: No Lizmap layer group visibility for: queimas_queimadas_geom_v
09:56:50 INFO Server[11411]: WMS Request parameters:
09:56:50 INFO Server[11411]:  - SRS : EPSG:4326
09:56:50 INFO Server[11411]:  - FORMAT : pdf
09:56:50 INFO Server[11411]:  - TRANSPARENT : true
09:56:50 INFO Server[11411]:  - DPI : 100
09:56:50 INFO Server[11411]:  - TEMPLATE : grid
09:56:50 INFO Server[11411]:  - VERSION : 1.3.0
09:56:50 INFO Lizmap[11411]: Lizmap layerFilterSubsetString
09:56:50 INFO Lizmap[11411]: Request headers provided
09:56:50 INFO Lizmap[11411]: No lizmap override filter in request headers
09:56:50 INFO Lizmap[11411]: Lizmap override filter in parameters
09:56:50 INFO Lizmap[11411]: get_lizmap_layer_filter ran in 0.0s
09:56:50 INFO AccessControlFilter[11411]: QgsAccessControlFilter plugin default layerFilterSubsetString called
09:56:50 INFO AccessControlFilter[11411]: QgsAccessControlFilter plugin default layerFilterExpression called
09:56:51 INFO WfsOutputExtension[11411]: responseComplete ran in 0.0s
09:56:51 INFO Server[11411]: Request finished in 211 ms```

@josemvm
Copy link
Collaborator Author

josemvm commented Feb 8, 2023

hi @nboisteault and @Gustry , if you want to investigate I can provide an url
thanks

@Gustry
Copy link
Member

Gustry commented Feb 8, 2023

Is your layer queimas_queimadas_geom_v the purple point layer ?
Is the extent 7.969634282414649,38.757941419610006,-7.884743488065355,38.799609248090064 correct ? If you add a base layer ? Because comparing your 2 screenshots, coordinates are reversed, is-it expected ?

@josemvm
Copy link
Collaborator Author

josemvm commented Feb 8, 2023

a new project and everything works fine!
imagem

@Gustry thanks a lot

@Gustry Gustry closed this as completed Feb 8, 2023
@nboisteault
Copy link
Member

Thanks a lot @josemvm

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

No branches or pull requests

5 participants