spatial.importShapefile

过程

从 URI 导入提供的 shapefile 到同名图层,返回添加的数据计数

签名

spatial.importShapefile(uri :: STRING) :: (count :: INTEGER)

输入参数

名称 类型 默认 描述

uri

STRING

null

要导入数据的文件路径

输出参数

名称 类型 描述

count

INTEGER(整数)

示例

导入 shapefile

CALL spatial.importShapefile('example-data/shp/highway.shp')
表 1. 结果
count
143
CALL spatial.layers()
表 2. 结果
名称 (name) 签名

highway

EditableLayer(name='highway', encoder=WKBGeometryEncoder(geom='geometry', bbox='bbox'))

© . This site is unofficial and not affiliated with Neo4j, Inc.