[postgis-devel] Issue 83 in postgis: ST_Multi on curved polygon gives ERROR: Unknown geometry type: 0
codesite-noreply at google.com
codesite-noreply at google.com
Sun Dec 14 13:21:57 PST 2008
Comment #1 on issue 83 by mark.cav... at siriusit.co.uk: ST_Multi on curved
polygon gives ERROR: Unknown geometry type: 0
http://code.google.com/p/postgis/issues/detail?id=83
Ah I see the problem here - it's related to the fact that the code in
LWGEOM_force_multi assumes that it can convert a base geometry to its
equivalent
MULTI type just by adding 3 to the geometry type identifier. And of course
this
doesn't hold for the CURVEPOLYGON type. I've no idea why this didn't fail
in 1.3.3,
although I suspect its old behaviour was just random luck.
Adding a fix is fairly simple, although I'm not exactly sure what the
behaviour
should do. Anyone know what ST_Multi() on a CURVEPOLYGON should return?
ATB,
Mark.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
More information about the postgis-devel
mailing list