Discussion:
[Geoserver-users] need to explicitly request refresh kml reflector mode
mapsjohn
2017-05-31 05:04:20 UTC
Permalink
I'm in the process of migrating our GeoServer installation to a new server
and I'm trying to duplicate the URLs our users have saved in My Places in
Google Earth.

I'm finding that the old URLs don't work until I add "mode=refresh" to the
old URLs.

I'm using Geoserver version 2.8.4 on the new server. The Default Reflector
Mode is set to "refresh" under KML Options in the WMS settings in GeoServer.

I'd like the old URLs to work as before so that the users don't have to
recreate their My Places in Google Earth.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/need-to-explicitly-request-refresh-kml-reflector-mode-tp5322401.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Andrea Aime
2017-05-31 07:24:52 UTC
Permalink
Post by mapsjohn
I'm using Geoserver version 2.8.4 on the new server.
Can you replicate on a supported version of GeoServer? 2.8.x has been out of
support for around a year now, you should try out 2.11.1 instead.

What version were you using before?

Cheer
Andrea
--
==
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.

-------------------------------------------------------
mapsjohn
2017-06-01 03:55:46 UTC
Permalink
I tried it on 2.11.1 with the same results.

I was using version 2.2.4 on the old server.

Thanks,

John



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/need-to-explicitly-request-refresh-kml-reflector-mode-tp5322401p5322580.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Andrea Aime
2017-06-01 06:20:29 UTC
Permalink
I see... wow, what a jump, the KML subsystem was completely rewritten in
the middle,
we asked for feedback when it happened a few years ago (but did not get
much).
I guess all you can do now is to open a ticket at:
https://osgeo-org.atlassian.net/projects/GEOS/summary

Please add steps to reproduce, like, how does one make it happen with the
built-in
demo layers for example, whether layer groups and involved and the like.
If this is a matter of urgency you might want to propose a fix yourself [1],
or look into commercial support at http://geoserver.org/support/

Cheers
Andrea

[1]: see contribution rules at
https://github.com/geoserver/geoserver/blob/master/CONTRIBUTING.md
Post by mapsjohn
I tried it on 2.11.1 with the same results.
I was using version 2.2.4 on the old server.
Thanks,
John
--
View this message in context: http://osgeo-org.1560.x6.
nabble.com/need-to-explicitly-request-refresh-kml-reflector-
mode-tp5322401p5322580.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------
------------------
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.

-------------------------------------------------------
mapsjohn
2017-06-03 16:20:39 UTC
Permalink
I was about to open a ticket but discovered the problem does not occur with
the demo layers, only with our custom PostGIS layers.

And when the problem does occur (again when 'mode:refresh' is omitted), the
GeoServer logs reference errors from PostGIS functions.

So, I think I need to look into the PostGIS side first.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/need-to-explicitly-request-refresh-kml-reflector-mode-tp5322401p5322920.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Loading...