Loading TOC...

geojson.multiLinestring

geojson.multiLinestring(
   $multi-linestring as objectNode()
) as ValueIterator

Summary

Create a set of cts:linestring values from a GeoJSON "MultiLineString" type geometry object.

Parameters
$multi-linestring A GeoJSON MultiLineString node.

Example

var geojson = require('/MarkLogic/geospatial/geojson.xqy');

geojson.multiLinestring(
  { type: 'MultiLineString',
    coordinates: [
        [ [100.0, 0.0], [101.0, 1.0] ],
        [ [102.0, 2.0], [103.0, 3.0] ]
  ] }
);
  

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy