Ticket #2885 (closed defect: fixed)
mode=nquery w/WFS connection type and reprojection
| Reported by: | jimk | Owned by: | dmorissette |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.4 release |
| Component: | WFS Client | Version: | svn-trunk (development) |
| Severity: | normal | Keywords: | |
| Cc: | sdlime, dmorrissette |
Description
With mapserver as a WFS client where you are reprojecting from the WFS source data to a different coordinate system in the mapfile, mode=nquery (and possibly other query modes) fail with a "msDrawMap(): Image handling error. Failed to draw layer name 'layer name'". Note: mode=map works as expected.
This appears to be caused because in the query modes, msWFSLayerOpen calls msWFSLayerWhichShapes with coordinates in the map projection and not the layer projection. In mode=map, msDrawVectorLayer calls msWFSLayerWhichShapes with coordinates in the layer projection.
This effects versions from at least 4.8 -> 5.3-dev r8452.

