-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can we generate bilinear interpolation of netcdf data wms layer using dafault or sld #49
Comments
You can't. ncWMS reads data in a nearest-neighbour fashion onto an image grid. By the time any SLDs are applied, the data has already been quantised, with no chance of interpolation. |
Ok, is there any way we can get smooth curves rather than grid box in wms layer? |
No, ncWMS is really designed to quickly and accurately display data. If data appears blocky, it's because the data is blocky. The only way to get smooth data is to use underlying data which is of a high enough resolution. |
Ok Thanks, May I know what is the smallest possible grid size to convert blocks to curves. |
I'm not sure I know what you mean. If you are plotting no more than 1 pixel per grid data point, an image will appear smooth. If each grid data point corresponds to multiple pixels, it will look blocky. The numbers will depend entirely on the underlying resolution and the area being visualised. I think Geoserver has some interpolation abilities, but it can't directly plot NetCDF as far as I'm aware. |
Hi Thanks for Reply, |
What's your purpose for such an application? I'm currently working for https://www.the-iea.org/ and continuing ncWMS support on the side. If your organisation has any funding available we might be able to produce something like that (at least a working prototype), but I don't have enough free time to develop that in my own time. |
The text was updated successfully, but these errors were encountered: