pointcloud/doc/functions/schema.rst
2025-07-19 23:12:16 +02:00

34 lines
905 B
ReStructuredText

.. _schema:
********************************************************************************
Schema
********************************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PC_SchemaGetNDims
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:PC_SchemaGetNDims(pcid integer) returns integer:
Return the number of dimensions in the corresponding schema.
.. code-block::
SELECT PC_SchemaGetNDims(1);
18
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PC_SchemaIsValid
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:PC_SchemaIsValid(xml text) returns boolean:
Return `true` if the pointcloud schema is valid.
.. code-block::
SELECT PC_SchemaIsValid(schema) FROM pointcloud_formats LIMIT 1;
t