DB2 - Problem description
Problem IC63707 | Status: Closed |
INVALID WKT IS BEING RETURNED FOR SOME COMPLEX MULTIPOLYGON GEOMETRIES | |
product: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problem description: | |
A customer reported a problem getting invalid WKT format data from the ST_AsText() spatial function. For the following multipolygon geometry the wrong value is returned: VALUES VARCHAR(db2gse.ST_GEOMETRY('MULTIPOLYGON (((10 10, 15 15, 5 15, 10 10)),((5 5, 15 5, 10 10, 5 5)))',0)..ST_AsText(),200) 1 ---------------------------------------------------------------- ---------------------------------------------------------------- ---------------------------------------------------------------- -------- MULTIPOLYGON (((10 10, 15 15, 5 15, 10 10),((5 5, 15 5, 10 10, 5 5))) In the above output there is a missing right-paren after '10 10'. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All Spatial Extender * **************************************************************** * PROBLEM DESCRIPTION: * * The ST_AsText spatial function might return and invalid * * well-known text (WKT) representation in some cases for * * multipolygon geometries. * * * * For the following multipolygon geometry the wrong value is * * returned: * * * * VALUES VARCHAR(db2gse.ST_GEOMETRY('MULTIPOLYGON (((10 10, 15 * * 15,5 15, 10 10)),((5 5, 15 5, 10 10, 5 * * 5)))',0)..ST_AsText(),200) * * 1 * * -------------------------------------------------------------- * * * MULTIPOLYGON (((10 10, 15 15, 5 15, 10 10),((5 5, 15 5, 10 * * 10, 5 5))) * * * * In the above output there is a missing right-paren after '10 * * 10'. * **************************************************************** * RECOMMENDATION: * * Install V9.5 FP6 * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows | |
Solution | |
Install V9.5 FP6 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC64941 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 12.10.2009 02.12.2009 17.09.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.5.FP6 | |
Problem solved according to the fixlist(s) of the following version(s) |