Opened 14 years ago
Closed 14 years ago
#3413 closed defect (fixed)
MS_NONSQUARE does not work in mapserver "mode=map"
Reported by: | warmerdam | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 5.6.4 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | MS_NONSQUARE |
Cc: |
Description
The CONFIG option MS_NONSQUARE is supposed to enable support for non-square pixels in MapServer. It isenabled by default for WMS requests, but available by directive in other modes. However, the following command using the nonsquare.map from msautotest/gdal does not produced nonsquare pixels despite the config option:
mapserv QUERY_STRING='map=nonsquare.map&mode=map'
The reason appears to be that mapserv calls checkWebScale() for this mode, and checkWebScale() calls msAdjustExtent() which modifies the extent before we even get to msDrawMap where the nonsquare option is consulted.
Change History (1)
comment:1 by , 14 years ago
Milestone: | → 5.6.4 release |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I have corrected this in trunk (r10028) and 5.6 branch (r10029).