| 1372 | } |
| 1373 | |
| 1374 | static void osPoint(msOracleSpatialHandler *hand, shapeObj *shape, SDOGeometryObj *obj, int start, int end, lineObj points, pointObj *pnt, int data3d, int data4d) |
| 1375 | { |
| 1376 | int n; |
| 1377 | |
| 1378 | if (data3d) |
| 1379 | n = msOCIGet3DOrdinates( hand, obj, start, end, pnt ); |
| 1380 | else if (data4d) |
| 1381 | n = msOCIGet4DOrdinates( hand, obj, start, end, pnt ); |
| 1382 | else |
| 1383 | n = msOCIGet2DOrdinates( hand, obj, start, end, pnt ); /* n must be < 5 */ |
| 1384 | |
| 1385 | if (n == 1) |
| 1386 | { |
| 1387 | shape->type = MS_SHAPE_POINT; |
| 1388 | points.numpoints = 1; |
| 1389 | points.point = pnt; |
| 1390 | msAddLine( shape, &points ); |
| 1391 | } |
| 1392 | } |
| 1393 | |
| 1394 | static void osClosedPolygon(msOracleSpatialHandler *hand, shapeObj *shape, SDOGeometryObj *obj, int start, int end, lineObj points, int elem_type, int data3d, int data4d) |
| 1395 | { |
no test coverage detected