Discussion:
[Geoserver-users] Update on IE not displaying map legend
brendanm328
2017-05-10 04:40:18 UTC
Permalink
Hi again,

I updated to Geoserver 2.11.0 and that did not correct the issue.

Machine details are

version = 2.11.0
git revision = 43069ede17858a25592f14b5e159c20cd25619fc
git branch = origin/master
build date = 22-Mar-2017 19:08
geotools version = 17.0
geotools revision = cf34347a4544cac900c09f2e5de4c5fb138c8637
geowebcache version = 1.11.0
geowebcache revision = 1.11.x/02b79570ae64d548f9fb39bcab5edc9cb4d0c99
hudson build = -1

Tomcat : 7.0.56
JVM 1.8.0.131-b11
Windows 8.1
IE Vers : 11.0.9600.18639
Update Vers 11.0.41 (KB4014661)
Chrome Vers : V58.0.3029.96 (64 bit)

I did find a discrepancy in the Geoserver logs between the IE call and the
Chrome call. Both were launched the same way.

In IE the format options in the GetMap call changed itself to

FormatOptions = {DPI=94}

Whereas in Chrome it stayed as

FormatOptions = {LAYOUT=show_legend}


I am assuming this is the problem manifesting as the format options call I
am using is referencing the show_legend file which I built as per the WMS
decorations documentation in
http://docs.geoserver.org/latest/en/user/services/wms/decoration.html

I am also unsure whether this is an issue with OpenLayers or with Geoserver
and would be interested to know if anyone is able to replicate the issue.

I am attaching the html sample file (basic3.html) which I think should run
on any Geoserver install. I have also attached the XML file I am using
(show_legend) which I placed in the Geoserver Data dir as per the
documentation.

I'm also attaching the logs from the IE and Chrome call so you can see the
differences in the format options call.

If anyone has any suggestions then I would love to hear back from you. Or
please let me know if there is any additional information I can supply that
would assist.

Thanks
Brendan
Andrea Aime
2017-05-12 17:41:42 UTC
Permalink
Hi,
since the issue seems to happen in OpenLayers you might have better luck
at an answer on the OpenLayers user list

Cheers
Andrea
Post by brendanm328
Hi again,
I updated to Geoserver 2.11.0 and that did not correct the issue.
Machine details are
version = 2.11.0
git revision = 43069ede17858a25592f14b5e159c20cd25619fc
git branch = origin/master
build date = 22-Mar-2017 19:08
geotools version = 17.0
geotools revision = cf34347a4544cac900c09f2e5de4c5fb138c8637
geowebcache version = 1.11.0
geowebcache revision = 1.11.x/02b79570ae64d548f9fb39bcab5edc9cb4d0c99
hudson build = -1
Tomcat : 7.0.56
JVM 1.8.0.131-b11
Windows 8.1
IE Vers : 11.0.9600.18639
Update Vers 11.0.41 (KB4014661)
Chrome Vers : V58.0.3029.96 (64 bit)
I did find a discrepancy in the Geoserver logs between the IE call and the
Chrome call. Both were launched the same way.
In IE the format options in the GetMap call changed itself to
FormatOptions = {DPI=94}
Whereas in Chrome it stayed as
FormatOptions = {LAYOUT=show_legend}
I am assuming this is the problem manifesting as the format options call I
am using is referencing the show_legend file which I built as per the WMS
decorations documentation in http://docs.geoserver.org/
latest/en/user/services/wms/decoration.html
I am also unsure whether this is an issue with OpenLayers or with
Geoserver and would be interested to know if anyone is able to replicate
the issue.
I am attaching the html sample file (basic3.html) which I think should run
on any Geoserver install. I have also attached the XML file I am using
(show_legend) which I placed in the Geoserver Data dir as per the
documentation.
I'm also attaching the logs from the IE and Chrome call so you can see the
differences in the format options call.
If anyone has any suggestions then I would love to hear back from you. Or
please let me know if there is any additional information I can supply that
would assist.
Thanks
Brendan
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
brendanm328
2017-05-14 05:31:55 UTC
Permalink
Thank you.

I will raise it on the Open Layers forums.

Brendan
Post by Andrea Aime
Hi,
since the issue seems to happen in OpenLayers you might have better luck
at an answer on the OpenLayers user list
Cheers
Andrea
Post by brendanm328
Hi again,
I updated to Geoserver 2.11.0 and that did not correct the issue.
Machine details are
version = 2.11.0
git revision = 43069ede17858a25592f14b5e159c20cd25619fc
git branch = origin/master
build date = 22-Mar-2017 19:08
geotools version = 17.0
geotools revision = cf34347a4544cac900c09f2e5de4c5fb138c8637
geowebcache version = 1.11.0
geowebcache revision = 1.11.x/02b79570ae64d548f9fb39bcab5edc9cb4d0c99
hudson build = -1
Tomcat : 7.0.56
JVM 1.8.0.131-b11
Windows 8.1
IE Vers : 11.0.9600.18639
Update Vers 11.0.41 (KB4014661)
Chrome Vers : V58.0.3029.96 (64 bit)
I did find a discrepancy in the Geoserver logs between the IE call and
the Chrome call. Both were launched the same way.
In IE the format options in the GetMap call changed itself to
FormatOptions = {DPI=94}
Whereas in Chrome it stayed as
FormatOptions = {LAYOUT=show_legend}
I am assuming this is the problem manifesting as the format options call
I am using is referencing the show_legend file which I built as per the WMS
decorations documentation in http://docs.geoserver.org/late
st/en/user/services/wms/decoration.html
I am also unsure whether this is an issue with OpenLayers or with
Geoserver and would be interested to know if anyone is able to replicate
the issue.
I am attaching the html sample file (basic3.html) which I think should
run on any Geoserver install. I have also attached the XML file I am using
(show_legend) which I placed in the Geoserver Data dir as per the
documentation.
I'm also attaching the logs from the IE and Chrome call so you can see
the differences in the format options call.
If anyone has any suggestions then I would love to hear back from you.
Or please let me know if there is any additional information I can supply
that would assist.
Thanks
Brendan
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313 <+39%200584%20962313>
fax: +39 0584 1660272 <+39%200584%20166%200272>
mob: +39 339 8844549 <+39%20339%20884%204549>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
-------------------------------------------------------
Loading...