Well, after a lot of digging today and yesterday, I finally figured out what probably was the problem. The datatype was float32 and not float64. I don't really understand why this is a problem, but I've read another issue <https://gis.stackexchange.com/questions/322703/geoserver-style-for-float32-geotiff-returns-black-image> online that mentioned float32 could cause some problems while rendering geotiffs. Anyway, I've tried using float64 and everything seemed to be working 😅 . Thanks for the help, Julien
Le lun. 10 juin 2024 à 13:58, Jody Garnett <jody.garn...@gmail.com> a écrit : > Thanks Julien, > > I am not sure what to make of stackexcahnge given their recent AI deals. > But we do respect that it is easier for people to quickly ask a question > without signing up to an email list. We are in the process of moving the > user list to Discourse > <https://github.com/geoserver/geoserver/wiki/GSIP-225> and will announce > the change when we have good instructions ready. > > For specific error messages I usually: > > 1. Ask for the stack trace in the logs if there is one - this helps > find where the error occurred. So we can try and guess what it was doing > ... > 2. Or searching in the codebase for that phrase: And I found it in the > low level "image processing library"!! > > So somehow it has calculated a negative row/column reference when > trying to look up a data value in a raster (or a pixel value in an image). > > > Q: What kind of data are you working with? And if you have a stack trace > in your logs we may be able to learn more. > > -- > Jody Garnett > > > On Jun 10, 2024 at 8:23:46 AM, Julien Robitaille <robitail...@ogsl.ca> > wrote: > >> Hello everyone! >> I've posted a question >> <https://gis.stackexchange.com/questions/479846/error-with-geoserver-the-specified-dimensional-parameter-is-non-positive-when> >> more than a month ago on stack exchange and since I didn't get any replies >> and since this question is still relevant, I thought I would try boosting >> its visibility here! >> Basically, I get this error in geoserver logs: "The specified dimensional >> parameter is non-positive" when the wms_scale_denominator in the SLD is >> different from 1. The error causes the layer not to display at all. If the >> wms_scale_denominator for the requested zoom layer is 1 or if I try to >> display the layer with the default raster style, it works fine. >> If you have any clue of what could be wrong or what the error "The >> specified dimensional parameter is non-positive" means in my case, please >> feel free to reply here or on stack exchange ! >> Any help would be greatly appreciated, >> Cheers, >> Julien >> >> -- >> [image: OGSL Logo] <https://ogsl.ca/> >> Julien Robitaille >> Scientifique de données >> Data scientist >> [image: Facebook Logo] <https://www.facebook.com/ogsl.slgo/> [image: >> Twitter Logo] <https://twitter.com/ogsl_slgo/> [image: LinkedIn Logo] >> <https://www.linkedin.com/company/observatoire-global-du-saint-laurent---ogsl/?viewAsMember=true/> >> _______________________________________________ >> 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 >> >> >> Geoserver-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> > -- [image: OGSL Logo] <https://ogsl.ca/> Julien Robitaille Scientifique de données Data scientist [image: Facebook Logo] <https://www.facebook.com/ogsl.slgo/> [image: Twitter Logo] <https://twitter.com/ogsl_slgo/> [image: LinkedIn Logo] <https://www.linkedin.com/company/observatoire-global-du-saint-laurent---ogsl/?viewAsMember=true/>
_______________________________________________ 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users