spatial.addPointLayerWithConfig
过程
使用给定的配置添加一个新的简单点图层,返回该图层的根节点
签名
spatial.addPointLayerWithConfig(name :: STRING, encoderConfig :: STRING, indexType = rtree :: STRING, crsName = :: STRING, indexConfig = :: STRING) :: (node :: NODE)
输入参数
| 名称 | 类型 | 默认 | 描述 |
|---|---|---|---|
名称 (name) |
STRING |
null |
层的名称 |
encoderConfig |
STRING |
null |
该层用于对索引节点的几何形状进行编码/解码的编码器配置 |
indexType |
STRING |
"rtree" |
要使用的索引算法类型,有效值为: |
crsName |
STRING |
"" |
要使用的坐标参考系统(CRS),有效值为: |
indexConfig |
STRING |
"" |
新创建的索引的配置 |
示例
创建具有 X 和 Y 属性的点图层
CALL spatial.addPointLayerWithConfig('geom','lon:lat')
| 节点 |
|---|
|