Ticket #2885 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

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

wfsclient.patch Download (0.7 KB) - added by jimk 6 years ago.
wfsclient-debug.log Download (3.1 KB) - added by jimk 6 years ago.
gdb log with backtraces showing problem

Change History

Changed 6 years ago by jimk

Changed 6 years ago by jimk

gdb log with backtraces showing problem

Changed 6 years ago by sdlime

  • cc sdlime, dmorrissette added

Changed 5 years ago by dmorissette

  • owner changed from mapserverbugs to dmorissette
  • milestone set to 6.0 release

Fixed in SVN trunk r8656.

Changed 5 years ago by dmorissette

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 6.0 release to 5.4 release

Backported to 5.4.0 in r8754.

Note: See TracTickets for help on using tickets.