[MS4W-Users] Mapserver, beta 11 and Oracle spatial, compound polygons

Bjarne Fagerbakke bjarne.fagerbakke at pbe.oslo.kommune.no
Fri Nov 19 06:44:49 EST 2010


Hi,

I have earlier reportet problems drawing 3D polygons from Oracle 
spatial 10g with ms4w, beta 11.

We resently fount out that the problem is related to Compound Polygons 
(arcs and lines). 3D polygons with SDO_ETYPE=1003 are drawn correctly. 

The error from mapserver is: 
msDrawMap(): Image handling error. Failed to draw layer named 
'Regulering_flate'. msDrawShape(): General error message. Only polygon 
shapes can be drawn using a POLYGON layer definition. 

Geometry example:
GEOMETRI(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, 
SDO_ORDINATES)  SDO_GEOMETRY(3003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 
1005, 3, 1, 2, 1, 46, 2, 2, 52, 2, 1), SDO_ORDINATE_ARRAY(602579,515, 
6643007,31, 0, 602583,566, 6642995,66, 0, 602645,476, 6643016,84, 0, 
602648,534, 6643017,88, 0, 602652,953, 6643023,73, 0, 602702,496, 
6643093,64, 0, 602708,1, 6643098,12, 0, 602754,999, 6643111,36, 0, 
602745,01, 6643124,72, 0, 602772,396, 6643136,4, 0, 602770,398, 
6643142,15, 0, 602756,729, 6643138,26, 0, 602721,883, 6643126,83, 0, 
602721,476, 6643128,21, 0, 602695,965, 6643120,94, 0, 602634,101, 
6643031,81, 0, 602625,609, 6643024,19, 0, 602617,951, 6643020,24, 0, 
602579,515, 6643007,31, 0)) 



Best regards
Bjarne Fagerbakke 



More information about the MS4W-Users mailing list