Hi Alistair,

Could you give an example request (I presume it is WMS?)? Are you rotating your 
map at all, or is it just the projection?

There are some tests which reproject a UVRASTER LAYER at 
https://github.com/MapServer/MapServer/blob/29e4ae81620a2c50201101c763df0b9d8d540b67/msautotest/wxs/wms_uvraster_map_reprojection.map
It sounds like an oversight, so if you are able to create a standalone test 
case, it would be worth opening an issue.

Seth

--
web:https://geographika.net & https://mapserverstudio.net
mastodon: @[email protected]

On Fri, Oct 3, 2025, at 11:59 AM, Alistair Everett via MapServer-users wrote:
> Hi all,
> 
> 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. 
> 
> If this is expected, does anyone have any suggested ways of working around 
> this?
> 
> 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.
> 
> 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
> 
> Screenshot: https://pasteboard.co/WTgbexDmQaAe.png
> 
> Example mapfile: https://pastebin.com/ibPc6gVK
> 
> Thanks,
> Alistair
> 
> -----------------------------
> Dr Alistair Everett
> Senioringeniør / Senior Software Engineer
> Avdeling for Geoutvikling
> 
> Phone: +47 939 68 985
> Email: [email protected]
> 
> Meteorologisk Institutt,
> Henrik Mohns plass 1, 
> 0313 Oslo
> -----------------------------
> *Dr Alistair Everett*
> Senioringeniør / Senior Software Engineer
> Avdeling for Geoutvikling
> 
> *Phone:* +47 939 68 985
> *Email:* [email protected] <mailto:[email protected]>
> 
> *Meteorologisk Institutt*,
> Henrik Mohns plass 1, 
> 0313 Oslo
> 
> _______________________________________________
> MapServer-users mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
  • [MapServer-use... Alistair Everett via MapServer-users
    • Re: [MapS... Seth G via MapServer-users
      • Re: [... Alistair Everett via MapServer-users
        • R... Rousseau Lambert, Louis-Philippe (ECCC) via MapServer-users
          • ... Robert Sanson via MapServer-users
            • ... Seth G via MapServer-users
              • ... Robert Sanson via MapServer-users
        • R... Seth G via MapServer-users
          • ... Alistair Everett via MapServer-users

Reply via email to