#728 closed defect (fixed)
Non-square pixel support via WMS
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | WMS Server | Version: | 4.3 |
Severity: | normal | Keywords: | |
Cc: | nsavard@… |
Description
MapServer WMS does not support returning images with non-square pixels. If the aspect ratio of the BBOX is different than the aspect ratio of the raster requested then the BBOX is grown to ensure a matching aspect ratio. This violates the requirements of the WMS specification.
Attachments (1)
Change History (10)
comment:2 by , 20 years ago
Status: | new → assigned |
---|
Also note: for non-square support to work valid PROJECTION definitions are required on all layers, and the map. I would add that while the bug has existed for some time, the fix is only in 4.3 since it depends on the new rotation code. It cannot be practically back ported to 4.2. Code changes done ... pending testing.
comment:3 by , 20 years ago
Cc: | added |
---|
comment:4 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Bug fixed ... closing bug.
comment:5 by , 20 years ago
Cc: | added |
---|
comment:7 by , 20 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I'm echoing information found on DMSG bugzilla. (See 7.2.3.8 article in the OGC WMS specification.) When raster uses a tileindex the image is not stretched if the image width/height aspect ratio is different from the BBOX aspect ratio. I will attached a tarball file of the data I'm using.
by , 20 years ago
Attachment: | non_square_pixel.tgz added |
---|
non_square_pixel.tgz-compressed tarbal with tileindex problem
comment:8 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Norm, please create a new bug. The initial issue was the support of non-square pixels and it has been done. I think this specific instance where it doesn't work should be seen as a new bug (with a ref to this one if you like)... if we don't do that then bugs become so long that they are not manageable.
Note:
See TracTickets
for help on using tickets.