[mapserver-commits] [MapServer/MapServer] ab3cfc: UVRaster: reproject wind vector from layer project...
Even Rouault
noreply at github.com
Mon Jan 5 06:18:17 PST 2026
Branch: refs/heads/main
Home: https://github.com/MapServer/MapServer
Commit: ab3cfc80549f7ba72116459c079c1f66fbf9767f
https://github.com/MapServer/MapServer/commit/ab3cfc80549f7ba72116459c079c1f66fbf9767f
Author: Even Rouault <even.rouault at spatialys.com>
Date: 2026-01-05 (Mon, 05 Jan 2026)
Changed paths:
M msautotest/renderers/expected/uvraster_reproj.cairo.png
M msautotest/renderers/expected/uvraster_reproj.png
A msautotest/wxs/data/wind_to_west_north_hemisphere.tif
M msautotest/wxs/expected/wms_uvraster_map_reprojection_extent_intersecting_layer.png
M msautotest/wxs/expected/wms_uvraster_map_reprojection_extent_larger_than_layer.png
M msautotest/wxs/expected/wms_uvraster_map_reprojection_extent_smaller_than_layer.png
A msautotest/wxs/expected/wms_uvraster_map_reprojection_geog_to_polar_stereo.png
M msautotest/wxs/expected/wms_uvraster_map_reprojection_getfeatureinfo.xml
M msautotest/wxs/wms_uvraster_map_reprojection.map
M src/mapproject.c
M src/mapproject.h
M src/mapuvraster.cpp
Log Message:
-----------
UVRaster: reproject wind vector from layer projection to map/request projection (#7407)
* UVRaster: fix WMS-Time support on layers with TILEINDEX pointing to a shapefile
* UVRaster: reproject wind vector from layer projection to map/request projection
Before this PR, the angle of the wind vector wasn't modified if
reprojection was involved. With this PR, we now build a small vector
representing the wind direction in the layer projection and reproject it
to the target projection. We use that to correct the vector direction,
while preserving the original vector length.
The newly added test case shows a raster in EPSG:4326 that has a pure
west-oriented wind, and queried in a north polar stereographic
projection, center at the north pole. The clock wise oriented
arrows along circles are the expected result.
To unsubscribe from these emails, change your notification settings at https://github.com/MapServer/MapServer/settings/notifications
More information about the MapServer-commits
mailing list