|
From: Daniele R. <dan...@ge...> - 2019-08-26 13:39:47
|
Hi, could you please run some gdalinfo commands on all of your sample datasets and report back the outputs? Moreover, how are you creating the pyramid? For the "gray" one, I suspect it is a INT16/Float datatype with some spikes... With no SLD being applied, the default raster style is used which performs a contrast stretch on-the-fly on the actual data. There might be the case that, when zooming in, the range of input pixels of that region get properly rescaled to a 0-255 byte representation whilst when zoomed out, some spikes in the input values make the range too wide. So you may want to define a proper colormap to get a better rendering. ( https://docs.geoserver.org/stable/en/user/styling/sld/reference/rastersymbolizer.html#colormap ) Please, let us know. Regards, Daniele On Mon, Aug 26, 2019 at 12:09 AM 张黎 <zli...@16...> wrote: > I publish a raster data with GeoServer, but a strange thing happened. If I > publish the data with GeoTIFF, it is correct, like this: > But when I transform it as pyramid image and publish the data with > ImagePyramid.The color is not correct. It become read like this: > > > When I zoom in the map, it became correct, like the GeoTIFF map. > > There are another problem. Maybe the reason is the same as before. I have > another raster data. I publish it as pyramid image, a black image in the > map. If I zoom in the map, the image will appear. > > Thank you for your kind cooperation. > > > > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Regards, Daniele Romagnoli == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. |