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

atlas popup - montpellier project #811

Closed
josemvm opened this issue Mar 15, 2018 · 17 comments
Closed

atlas popup - montpellier project #811

josemvm opened this issue Mar 15, 2018 · 17 comments
Assignees
Milestone

Comments

@josemvm
Copy link
Collaborator

josemvm commented Mar 15, 2018

hi @mdouchin

please add this feature to the montpellier project

thanks in advance

@mdouchin mdouchin self-assigned this Mar 15, 2018
@mdouchin
Copy link
Collaborator

Done in 9dc91f9

@josemvm
Copy link
Collaborator Author

josemvm commented Mar 15, 2018

thanks @mdouchin

i'm testing qgis server 2.18 and when i try to print the popup contents i get these apache errors:

[Thu Mar 15 21:46:25.678654 2018] [fcgid:warn] [pid 16988] [client 127.0.0.1:53196] mod_fcgid: error reading data, FastCGI server closed connection

[Thu Mar 15 21:46:25.679212 2018] [core:error] [pid 16988] [client 127.0.0.1:53196] End of script output before headers: qgis_mapserv.fcgi

[Thu Mar 15 21:46:30.240422 2018] [fcgid:error] [pid 16949] mod_fcgid: process /usr/lib/cgi-bin/qgis_mapserv.fcgi(17262) exit(communication error), get signal 11, possible coredump generated

@josemvm
Copy link
Collaborator Author

josemvm commented Mar 16, 2018

on qgis server 2.14 everything works fine!
nice feature :-)

@mdouchin
Copy link
Collaborator

I also have problems in last 2.18, but for some projects only (Montpellier demo): some requests return the PDF, but for some QGIS segfault (same query...) I could not find any valid reason. It is not a Lizmap issue, but a QGIS one. @rldhont

@josemvm
Copy link
Collaborator Author

josemvm commented Mar 16, 2018

@mdouchin

is it possible to print according to active layers, layers style , layers transparency, features filter?

@josemvm
Copy link
Collaborator Author

josemvm commented Mar 16, 2018

like print tool...

@mdouchin
Copy link
Collaborator

I would like to keep it this way, at least for the next release. When the editor configures an atlas, I think he does not want the export PDF to be too different from the original composer settings. This is why I chose not to change anything yet.

Please open a ticket in atlasprint plugin for this feature request

@josemvm
Copy link
Collaborator Author

josemvm commented Mar 21, 2018

@mdouchin

about this feautre, i think it's very important to print the highlight geometry for the current feature (because sometimes the printing becomes difficult to read)

but the qgis server lost this ability a long time ago... #464

for while, the alternative could be the possibility of using the filter tool... as here 3liz/qgis-atlasprint#2

thanks

@rldhont rldhont added this to the 3.2 milestone Mar 22, 2018
@rldhont rldhont modified the milestones: 3.2.0, backlog 3.2 Jun 22, 2018
@josemvm
Copy link
Collaborator Author

josemvm commented Jul 20, 2018

more tests on QGIS server 2.18.21

apache errors:


[Fri Jul 20 11:40:56.664897 2018] [fcgid:warn] [pid 2477] [client 127.0.0.1:50414] mod_fcgid: error reading data, FastCGI server closed connection

[Fri Jul 20 11:40:56.665097 2018] [core:error] [pid 2477] [client 127.0.0.1:50414] End of script output before headers: qgis_mapserv.fcgi

[Fri Jul 20 11:41:02.567071 2018] [fcgid:error] [pid 1332] mod_fcgid: process /usr/lib/cgi-bin/qgis_mapserv.fcgi(2475) exit(communication error), get signal 11, possible coredump generated

lizmap error:

2018-07-20 12:47:58 10.27.11.245 warning 2018-07-20 12:47:58 [2] file_get_contents(http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error /var/www/html/lizmap-web-client-release_3_2/lizmap/modules/lizmap/classes/lizmapProxy.class.php 136

thanks

@josemvm
Copy link
Collaborator Author

josemvm commented Oct 1, 2018

more tests on QGIS Server 2.18.24

lizmap url:

http://mydomain/index.php/lizmap/service/?repository=montpellier&project=montpellier&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetPrintAtlas&FORMAT=pdf&EXCEPTIONS=application/vnd.ogc.se_inimage&TRANSPARENT=true&DPI=100&TEMPLATE=Landscape%20A4&EXP_FILTER=$id%20IN%20(0)

apache errors:
the same as above and

[Mon Oct 01 10:50:31.592404 2018] [negotiation:error] [pid 2332] [client 10.27.11.245:49305] AH00687: Negotiation: discovered file(s) matching request: /var/www/html/lizmap3/lizmap/www/admin (None could be negotiated)., referer: http://10.27.1.31/admin.php/admin/logs/

lizmap error:
the same as above

thanks

@gioman
Copy link
Contributor

gioman commented Oct 24, 2018

is confirmed this is not working with qgis server 2.18?

@rldhont rldhont modified the milestones: backlog 3.2, 3.2.1 Nov 23, 2018
@laurentj laurentj modified the milestones: 3.2.1, 3.2.2 Jan 8, 2019
@josemvm
Copy link
Collaborator Author

josemvm commented Feb 1, 2019

hi @mdouchin
it works well inside the atlas frame but not inside the popup frame
qgis server 2.18.28

@rldhont rldhont modified the milestones: 3.2.2, 3.2.3 Mar 7, 2019
@nboisteault
Copy link
Member

@josemvm Can you put steps to reproduce your issue please ?

@josemvm
Copy link
Collaborator Author

josemvm commented Mar 24, 2019

hi @nboisteault

try to run the atlas tool, go to the first feature croixc d'argent and print it - output ok
click over Landscape A4 again - no results

you need to run the clean_vartmp.sh to solve it
similar behavior for the print from popup

you can only print once at a time...

@nboisteault nboisteault self-assigned this Mar 28, 2019
@nboisteault
Copy link
Member

In my case it prints randomly. clean_vartmp.sh doesn't make it work better.
@mdouchin I don't think this bug will be resolved for 3.2 as it depends on QGIS Server 2.18. I think we'll have to wait for a migration of the qgis-atlasprint plugin to work with QGIS Server 3.4. Can I change milestone to 3.3 ?

@rldhont rldhont modified the milestones: 3.2.3, 3.3.0 Mar 29, 2019
@rldhont
Copy link
Collaborator

rldhont commented Mar 29, 2019

Move to 3.3

@nboisteault
Copy link
Member

Everything works as expected with qgis-atlasprint plugin v 1.2.2.

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

7 participants