home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

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
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 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)