|
I'm trying to display wind arrows using NetCDF as data store and raster to vector style transformation. The native data projection is EPSG:4326. Using WMS with EPSG:3857 projection does not seem to work as I'm getting blank PNGs only (no errors in the server log). Requesting the data in EPSG:4326 however works just fine.
Steps to reproduce: 1) Create a NetCDF store with the sample data attached (winddirection.nc) and a corresponding (winddirection) layer.
2) Add wind-arrows.sld (also attached) as a default style for the winddirection layer. Note: for simplicity I have replaced the original arrow shape in the SLD with just a circle.
3) WMS EPSG:3857 request returns a blank PNG: http://localhost:8080/geoserver/tiger/wms?service=WMS&version=1.1.0&request=GetMap&layers=tiger:winddirection&styles=&bbox=5009377.085697311,6261721.35712164,6261721.357121638,7514065.628545966&width=512&height=414&srs=EPSG:3857&format=image%2Fpng
4) WMS EPSG:4326 request returns the data as expected (see a sample image attached). http://localhost:8080/geoserver/tiger/wms?service=WMS&version=1.1.0&request=GetMap&layers=tiger:winddirection&styles=&bbox=21.928499999999996,39.411,28.8285,44.991&width=512&height=414&srs=EPSG:4326&format=image%2Fpng
|