类
类型定义
-
Options{Object}
-
属性:
Name Type 描述 splitCollectionboolean
(defaults to false)是否在读取时将几何集合拆分为多个要素。
hexboolean
(defaults to true)输出返回十六进制字符串而非 ArrayBuffer。这也作为内部提示,用于决定在读取内容时应加载为文本还是 ArrayBuffer。
littleEndianboolean
(defaults to true)使用小端字节序进行输出。
ewkbboolean
(defaults to true)使用EWKB格式输出。
geometryLayoutGeometryLayout
(defaults to null)为输出要素指定特定的坐标布局(null:自动检测)
nodataZnumber
(defaults to 0)如果
geometryLayout若与待输出几何不匹配,该值用于填充缺失的Z坐标值。nodataMnumber
(defaults to 0)如果
geometryLayout若与待输出几何不匹配,该值用于填充M坐标的缺失值。sridnumber | boolean
(defaults to true)输出SRID。通过指定整数值来强制该值作为SRID。指定
true从中提取dataProjection.false用于抑制输出。此选项仅在以下条件下生效。ewkb是true.