Opened 15 years ago

Closed 15 years ago

#465 closed defect (fixed)

WMS - the bounding box will be overwritten by then second match

Reported by: romicadascalescu Owned by: gregboone
Priority: major Milestone:
Component: WMS Provider Version: 3.4.0
Severity: 3 Keywords:
Cc: External ID:

Description

When calculating the CS bounding box, the provider recursively gets all the layers and returns a union of the bounding boxes of the CS. However, in the recursion function, FdoWmsCapabilities::_processLayerSRSExtent, a parameter called bFirstMatch is passed by value. Therefore, when it finds a second match, the bounding box will be overwritten by then second match, because the variable bFirstMatch is still true after returning from the last recursion.

Change History (1)

comment:1 by romicadascalescu, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.