problems with some Oracle polygons

Francesco Sozzi fsozzi at INTERCAD.CH
Mon Sep 26 06:08:57 EDT 2005


Hi Fernando,

How are you?...

In some cases I have polygon defined with a code "5" instead of "1005". In this case mapserver does not recognize the polygon format and it displayes an error:
Warning: [MapServer Error]: msDrawShape(): Only polygon shapes can be drawn using a POLYGON layer definition. in...

Here you are a sample polygon definition that gives me problems:
SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 5, 3, 1, 2, 1, 5, 2, 2, 13, 2, 1), SDO_ORDINATE_ARRAY(717393.311, 96290.2075, 717393.843, 96286.1065, 717300.032, 96279.4307, 717301.79, 96281.1715, 717303.764, 96282.6628, 717305.79, 96283.6852, 717307.995, 96284.2265, 717309.425, 96284.41, 717352.296, 96287.4608, 717387.403, 96289.9591, 717393.311, 96290.2075))

Any suggestions?...

Best regards

Francesco

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050926/420f09ca/attachment.html


More information about the mapserver-users mailing list