Hi Patrick,
this is useful. What happens when a layer points to a missing style, or has
no style?
Is the specific preview not working, or the entire page not displaying?
Also, do you have any idea of how you got there? The UI and REST API should
both
perform validations and disallow setting null as a layer style, and removal
of a style
should replace it with a default built-in style.
Cheers
Andrea
Post by P O'TooleAndrea â
Just to briefly follow up on this, a colleague figured out recently that
our issues with broken layer-previews in Geoserver (or layer-previews that
were not always working) were due to either having an invalid/missing style
or having no default style for a couple of layers. This didn't seem to mess
with ordinary requests from outside applications, just the layer-previews
from within Geoserver's web-console. Perhaps that's because other platforms
consuming WMS were doing GetCapabilities to find styles and/or leaving out
the &styles= argument from the URL entirely.
Cheers,
- Patrick
Of *Andrea Aime
*Sent:* Thursday, March 23, 2017 1:42 AM
*Subject:* Re: [Geoserver-users] Geoserver reload issue
Hi Patrick,
we use the preview daily without particular problems, if you can pinpoint
exactly what does not
work as expected please do open tickets at https://osgeo-org.
atlassian.net/projects/GEOS/summary
Best tickets provide a way to reproduce the issue, with eventual sample data and the like
Cheers
Andrea
Thomas -
Post by Thomascurrent netcdf become unavailable to see. It is created and enable in
geoserver storage, layers and group also but when going to layer preview
there is nothing.
I have not had great experience with Geoserver's layer-previews reliably
working in general. Sometimes it seems they refuse to work, even though the
services themselves are perfectly fine. If you can provide the essential
REST-config commands you're sending to Geoserver to add a new
layer/store/etc. and share a (sample) netcdf-file that fails to preview
after adding it that way, that may be useful to maintainers so that they
can make fixes.
In the meantime if it's difficult to know in your script if layer-previews
aren't going to work, you might just have the same scripts that create the
netcdf-files issue a series of WMS-requests after creating the new services
in Geoserver, and save PNG-images or something so they can be examined by a
human.
- Patrick O'Toole
Application Developer
Wyoming Natural Diversity Database
UW Berry Biodiversity Conservation Center
Department 3381, 1000 E. University Av.
Laramie, WY 82071
P: 307-766-3018
------------------------------------------------------------
------------------
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.
-------------------------------------------------------
--
==
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.
-------------------------------------------------------