MarkLogic Server 11.0 Product Documentation
geojson.multiPointgeojson.multiPoint(
multi-point as objectNode()
) as Sequence
Summary
Create a set of cts:point values from a GeoJSON "MultiPoint" type
geometry object.
Parameters |
multi-point |
A GeoJSON MultiPoint node.
|
Usage Notes
The GeoJSON MultiPoint node includes additional
information that is not retained in the cts:point values. In particular, the
altitude part of each point value will be dropped.
Example
const geojson = require('/MarkLogic/geospatial/geojson.xqy');
geojson.multiPoint(
{ type: 'MultiPoint', coordinates: [ [100.0, 0.0], [101.0, 1.0] ] }
)
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.