Ticket #4128 (closed defect: fixed)
TiledWMS minidriver: GetTileService xml parsing bug and solution
| Reported by: | serpinf | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | GDAL_Raster | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
TiledWMS minidriver fails to find TiledGroups? like "BMNG April" in GetTileService? xml with the following error: "GDALWMS, Tiled WMS: TiledGroupName? missing." The actual reason is bad logic in SearchLeafGroupName? function's 'metagroup' diagnostics: it erroneously assumes that TiledGroup? node is a metagroup child. The fix is a replacement of call to: SearchXMLSiblings(psRoot->psChild,"TiledGroup?") with CPLSearchXMLNode(psRoot->psChild,"=TiledGroup?") (minidriver_tiled_wms.cpp, line 101) P.S. sorry for not sending in an appropriate patch, but it seems so simple
Change History
Note: See
TracTickets for help on using
tickets.
