Opened 7 years ago

Closed 6 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 7 years ago.
wfsclient-debug.log (3.1 KB) - added by jimk 7 years ago.
gdb log with backtraces showing problem

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by jimk

Changed 7 years ago by jimk

gdb log with backtraces showing problem

comment:1 Changed 7 years ago by sdlime

  • Cc sdlime dmorrissette added

comment:2 Changed 6 years ago by dmorissette

  • Milestone set to 6.0 release
  • Owner changed from mapserverbugs to dmorissette

Fixed in SVN trunk r8656.

comment:3 Changed 6 years ago by dmorissette

  • Milestone changed from 6.0 release to 5.4 release
  • Resolution set to fixed
  • Status changed from new to closed

Backported to 5.4.0 in r8754.

Note: See TracTickets for help on using tickets.