Hi Omar, Some WMS servers (I know Minnesota Mapserver did once) were pretty strict about the width/height ratio between the requested pixel-params (width/height) and the requests world coordinates (bbox). And gave a message like "ratio between image and requested bbox are different..." (or something like that). Can that be the problem, that you hit the threshold exactly?
I just tested with some vectordata, but to me Geoserver seems pretty forgiving in this aspect. But maybe with a raster store it is harder to fix such discrepancies? You should either receive a message (in the image if you add &exceptions=application%2Fvnd.ogc.se_inimage to your query), or such message should popup in the logs. Or something else is wrong off course, I would sent a pointer to the data if you can not share the service, if I were you. Regards, Richard Duivenvoorde On 6/12/20 10:41 PM, Omar Benhamid wrote: > Hello Andrea, > > Thanks for the answer, currently the server is a local one, even if data > is opendata. I just published the WMS layer. Even the layer preview in > OpenLayers is blank; > > I tested the same query with the same data directory on geoserver 2.15.2 > / 2.15.5 / 2.16.2 and 2.17.0 : > > Works well on 2.15.2 but not on the others : something must have changed > between 2.15.2 and 2.15.5 that creates the issue. > > I can share the tif file if you want. > > Omar > > > -----"Andrea Aime" <[email protected] > <mailto:[email protected]>> a écrit : ----- > A : "Omar Benhamid" <[email protected] > <mailto:[email protected]>> > De : "Andrea Aime" <[email protected] > <mailto:[email protected]>> > Date : 12/06/2020 19:13 > Cc: "GeoServer Mailing List List" <[email protected] > <mailto:[email protected]>> > Objet : Re: [Geoserver-users] WMS request returns blank image if I > change BBOX xmax by 1 meter, certainly a bug ? > > Hi Omar, > not aware of a similar issue in the current versions of GeoServer. The > links you've shared are not working, mind, would have been useful to use > the layer preview to explore a bit more. > Just to make sure, you are using the latest version of GeoServer, 2.17, > or at least 2.16? > If not, first thing to do is to try an upgrade > > Cheers > Andrea > > > On Fri, Jun 12, 2020 at 6:44 PM Omar Benhamid > <[email protected] > <mailto:[email protected]>> wrote: > > Hello, > > We have a raster we want to render on the area of Paris, We remarked > that the following request yields a blank image > > _SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&LAYERS=StudyAreaLayers-D%3Athermographie_2_2154&FORMAT=image%2Fgif&WIDTH=768&HEIGHT=669&SRS=EPSG%3A2154&BBOX=649636.4052323066%2C6863466.648389618%2C656966.1454805643%2C6869852_ > > <http://geoserver-okd-cityplatform.dev.eifer.kit.edu/geoserver/StudyAreaLayers-D/wms?SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&LAYERS=StudyAreaLayers-D%3Athermographie_2_2154&FORMAT=image%2Fgif&WIDTH=768&HEIGHT=669&SRS=EPSG%3A2154&BBOX=649636.4052323066%2C6863466.648389618%2C656966.1454805643%2C6869852> > Whereas this one does render correctly > > _SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&LAYERS=StudyAreaLayers-D%3Athermographie_2_2154&FORMAT=image%2Fgif&WIDTH=768&HEIGHT=669&SRS=EPSG%3A2154&BBOX=649636.4052323066%2C6863466.648389618%2C656966.1454805643%2C6869853_ > > > <http://geoserver-okd-cityplatform.dev.eifer.kit.edu/geoserver/StudyAreaLayers-D/wms?SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&LAYERS=StudyAreaLayers-D%3Athermographie_2_2154&FORMAT=image%2Fgif&WIDTH=768&HEIGHT=669&SRS=EPSG%3A2154&BBOX=649636.4052323066%2C6863466.648389618%2C656966.1454805643%2C6869852> > > > The only difference is the last digit of xmax in the bounding box > which is 3 instead of 2. > > Does someone have an idea on what could be the cause ?. > > Omar > -- > > EIfER Europäisches Institut für Energieforschung EDF-KIT > EWIV - Sitz der europaeischen wirtschaftlichen > Interessenvereinigung: Karlsruhe - Handelsregister: Amtsgericht > Mannheim HRA 104823 - Geschaeftsfuehrer: Pascal TERRIEN (Direktor). > > This e-mail and any attachment is for authorized use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be > copied, disclosed to, retained or used by any other party. If you > are not an intended recipient then please promptly delete this > e-mail and any attachment and all copies and inform the sender. > _______________________________________________ > 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 > > > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > > > -- > > Regards, Andrea Aime > > == 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 > ------------------------------------------------------- /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./ > > _______________________________________________ > 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 > > > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/geoserver-users > EIfER Europäisches Institut für Energieforschung EDF-KIT > EWIV - Sitz der europaeischen wirtschaftlichen Interessenvereinigung: > Karlsruhe - Handelsregister: Amtsgericht Mannheim HRA 104823 - > Geschaeftsfuehrer: Pascal TERRIEN (Direktor). > > This e-mail and any attachment is for authorized use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be > copied, disclosed to, retained or used by any other party. If you are > not an intended recipient then please promptly delete this e-mail and > any attachment and all copies and inform the sender. > > > _______________________________________________ > 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 > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > _______________________________________________ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
