Opened 15 years ago

Closed 15 years ago

#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.

Attachments (2)

wfsclient.patch (687 bytes ) - added by jimk 15 years ago.
wfsclient-debug.log (3.1 KB ) - added by jimk 15 years ago.
gdb log with backtraces showing problem

Download all attachments as: .zip

Change History (5)

by jimk, 15 years ago

Attachment: wfsclient.patch added

by jimk, 15 years ago

Attachment: wfsclient-debug.log added

gdb log with backtraces showing problem

comment:1 by sdlime, 15 years ago

Cc: sdlime dmorrissette added

comment:2 by dmorissette, 15 years ago

Milestone: 6.0 release
Owner: changed from mapserverbugs to dmorissette

Fixed in SVN trunk r8656.

comment:3 by dmorissette, 15 years ago

Milestone: 6.0 release5.4 release
Resolution: fixed
Status: newclosed

Backported to 5.4.0 in r8754.

Note: See TracTickets for help on using tickets.