[fdo-trac] #465: WMS - the bounding box will be overwritten by then
second match
FDO
trac_fdo at osgeo.org
Fri Feb 20 15:33:44 EST 2009
#465: WMS - the bounding box will be overwritten by then second match
--------------------------------+-------------------------------------------
Reporter: romicadascalescu | Owner: gregboone
Type: defect | Status: new
Priority: major | Milestone:
Component: WMS Provider | Version: 3.4.0
Severity: 3 | Keywords:
External_id: |
--------------------------------+-------------------------------------------
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.
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/465>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list