<div dir="ltr"><div dir="ltr"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Seth,</div><div><br></div><div>Thanks for your reply, we're just reprojecting the data. I'll take a closer look at the test case too, since it seems like that should be reprojecting from stereographic to geographic. I should also be able to pull together some test data in the next few days too, I can open an issue with it when I've put it together.</div><div><br></div><div>Here are a couple of example requests:<br><br>One in EPSG:4326<br>localhost:8000/wms?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&FORMAT=image%2Fpng&STYLES=wind_barb&TRANSPARENT=TRUE&TIME=2025-10-06T07%3A00%3A00Z&DIM_PRESSURE=50.0&DIM_REFERENCE_TIME=2025-10-06T03%3A00%3A00Z&LAYERS=wind_pl_vector_meps_det_vdiv_2_5km_calculations&WIDTH=1304&HEIGHT=1504&CRS=EPSG%3A3857&BBOX=-2460529.2703191666%2C4596419.518351211%2C6809846.057963322%2C15288631.55342549<br><br><a href="https://pasteboard.co/jI1eMKaj3PT1.png">https://pasteboard.co/jI1eMKaj3PT1.png</a></div><div><br></div><div>This is one in EPSG:3411:<br>localhost:8000/wms?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&FORMAT=image%2Fpng&STYLES=wind_barb&TRANSPARENT=TRUE&TIME=2025-10-06T16%3A00%3A00Z&DIM_PRESSURE=50.0&DIM_REFERENCE_TIME=2025-10-06T03%3A00%3A00Z&LAYERS=wind_pl_vector_meps_det_vdiv_2_5km_calculations&WIDTH=1438&HEIGHT=1504&CRS=EPSG%3A3411&BBOX=404935.5094684181%2C-3769428.4764078585%2C4977748.7994076125%2C1013263.5876175575</div><div><br></div><div><a href="https://pasteboard.co/IHZjgXibtLyJ.png">https://pasteboard.co/IHZjgXibtLyJ.png</a></div><div><br></div><div>Thanks,</div><div>Alistair</div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, 5 Oct 2025 at 10:00, Seth G <<a href="mailto:sethg@geographika.co.uk">sethg@geographika.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u><div><div>Hi Alistair,</div><div><br></div><div>Could you give an example request (I presume it is WMS?)? Are you rotating your map at all, or is it just the projection?</div><div><br></div><div>There are some tests which reproject a UVRASTER LAYER at <a href="https://github.com/MapServer/MapServer/blob/29e4ae81620a2c50201101c763df0b9d8d540b67/msautotest/wxs/wms_uvraster_map_reprojection.map" target="_blank">https://github.com/MapServer/MapServer/blob/29e4ae81620a2c50201101c763df0b9d8d540b67/msautotest/wxs/wms_uvraster_map_reprojection.map</a><br></div><div>It sounds like an oversight, so if you are able to create a standalone test case, it would be worth opening an issue.</div><div><br></div><div>Seth</div><div><br></div><div id="m_-6400047891240047954sig62266145"><div>--</div><div>web:<a href="https://geographika.net" target="_blank">https://geographika.net</a> & <a href="https://mapserverstudio.net" target="_blank">https://mapserverstudio.net</a></div><div>mastodon: @<a href="mailto:geographika@mastodon.social" target="_blank">geographika@mastodon.social</a></div></div><div><br></div><div>On Fri, Oct 3, 2025, at 11:59 AM, Alistair Everett via MapServer-users wrote:</div><blockquote type="cite" id="m_-6400047891240047954qt"><div dir="ltr"><div><div>Hi all,</div><div><br></div><div>I'm trying to use the UVRASTER connection to plot wind barbs. I noticed if I request the layer in a different projection the location of the arrows are reprojected but the angle, and presumably vector components, are not - rather they remain in the same direction relative to my screen. It's a little unclear from the documentation if this is the expected behaviour for UVRASTER or not? I included a pasteboard link to a screenshot to show what I mean, compare for example vectors in the corners of the data and you will see they point in the same direction relative to my screen, rather than being rotated to match the projection. </div><div><br></div><div>If this is expected, does anyone have any suggested ways of working around this?</div><div><br></div><div>If this is not expected, does anyone have any ideas what I've done wrong? I can provide some sample data if someone wants to try to reproduce.</div><div><br></div><div>I'm using: MapServer version 8.4.0 PROJ version 9.4 GDAL version 3.11 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=OGCAPI_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=PBF INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE INPUT=FLATGEOBUF</div><div><br></div><div>Screenshot: <a href="https://pasteboard.co/WTgbexDmQaAe.png" target="_blank">https://pasteboard.co/WTgbexDmQaAe.png</a></div><div><br></div><div>Example mapfile: <a href="https://pastebin.com/ibPc6gVK" target="_blank">https://pastebin.com/ibPc6gVK</a></div><div><br></div><div>Thanks,</div><div>Alistair</div><div><br></div><div>-----------------------------</div><div>Dr Alistair Everett</div><div>Senioringeniør / Senior Software Engineer</div><div>Avdeling for Geoutvikling</div><div><br></div><div>Phone: +47 939 68 985</div><div>Email: <a href="mailto:alistair.everett@met.no" target="_blank">alistair.everett@met.no</a></div><div><br></div><div>Meteorologisk Institutt,</div><div>Henrik Mohns plass 1, </div><div>0313 Oslo</div></div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(80,0,80)"><span style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif">-----------------------------</span></span></div><div style="color:rgb(80,0,80)"><b style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Dr Alistair Everett</b></div><div><div>Senioringeniør / Senior Software Engineer</div><div>Avdeling for Geoutvikling</div></div><div><br></div><div><span style="color:rgb(0,0,0)"><b>Phone:</b> +47 939 68 985</span></div><div><div><span style="color:rgb(0,0,0)"><b>Email:</b> <a href="mailto:alistaire@met.no" style="color:rgb(17,85,204)" target="_blank">alistair.everett@met.no</a></span></div></div><div><br></div><div><b>Meteorologisk Institutt</b>,</div><div>Henrik Mohns plass 1, </div><div>0313 Oslo</div><div><span style="color:rgb(0,0,0)"></span><br></div></div></div></div></div></div></div></div></div></div></div></div><div>_______________________________________________</div><div>MapServer-users mailing list</div><div><a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a></div><div><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></div><div><br></div></blockquote><div><br></div></div></blockquote></div></div>