MCPcopy Create free account
hub / github.com/MapServer/MapServer / osPoint

Function osPoint

maporaclespatial.c:1374–1392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1372}
1373
1374static 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
1394static void osClosedPolygon(msOracleSpatialHandler *hand, shapeObj *shape, SDOGeometryObj *obj, int start, int end, lineObj points, int elem_type, int data3d, int data4d)
1395{

Callers 1

osGetOrdinatesFunction · 0.85

Calls 4

msOCIGet3DOrdinatesFunction · 0.85
msOCIGet4DOrdinatesFunction · 0.85
msOCIGet2DOrdinatesFunction · 0.85
msAddLineFunction · 0.85

Tested by

no test coverage detected