修改密码

请输入密码
请输入密码 请输入8-64长度密码 和 email 地址不相同 至少包括数字、大写字母、小写字母、半角符号中的 3 个
请输入密码
提交

修改昵称

当前昵称:
提交

申请证书

证书详情

Please complete this required field.

  • Ultipa Graph V4

Standalone

Please complete this required field.

Please complete this required field.

服务器的MAC地址

Please complete this required field.

Please complete this required field.

取消
申请
ID
产品
状态
核数
申请天数
审批时间
过期时间
MAC地址
申请理由
审核信息
关闭
基础信息
  • 用户昵称:
  • 手机号:
  • 公司名称:
  • 公司邮箱:
  • 地区:
  • 语言:
修改密码
申请证书

当前未申请证书.

申请证书
Certificate Issued at Valid until Serial No. File
Serial No. Valid until File

Not having one? Apply now! >>>

ProductName CreateTime ID Price File
ProductName CreateTime ID Price File

No Invoice

搜索
    中文

      point()

      概述

      函数point()将一个包含两个坐标值的对象组装为一个坐标。

      参数:point({latitude: <value_1>, longitude: <value_2>})

      • <value_1><value_2>:经纬度数值

      返回值:

      • 坐标值(point类型)

      一般用法

      本例将经纬度(39.9° N 116.3° E)转换为坐标:

      return point({latitude:39.9, longitude:116.3})
      

      POINT(39.900000 116.300000)
      

      本例将一列对象转换为坐标:

      uncollect [{latitude:39.9, longitude:116.3},{latitude:31.2, longitude:121.5}] as a
      return point(a)
      

      POINT(39.900000 116.300000)
      POINT(31.200000 121.500000)
      

      设置point类型属性值

      示例图集:

      在一个空图集中,依次运行以下各行语句创建示例图集:

      create().node_property(@default, "name").node_property(@default, "lat_long", point)
      insert().into(@default).nodes([{_id:"L001", _uuid:1, name:"New York", lat_long:point({latitude:40.7, longitude:-74.0})}, {_id:"L002", _uuid:2, name:"Paris", lat_long:point({latitude:48.5, longitude:2.2})}, {_id:"L003", _uuid:3, name:"Sydney", lat_long:point({latitude:-33.9, longitude:150.9})}, {_id:"L004", _uuid:4, name:"Beijing", lat_long:point({latitude:39.9, longitude:116.3})}])
      

      本例插入一个@location点:

      insert().into(@default).nodes({name: "Shanghai", lat_long: point({latitude: 31.2, longitude: 121.5}), _id: "L005", _uuid: 5}) as n
      return n{*}
      

      |  _id  | _uuid |    name    |           lat_long          |
      |-------|-------|------------|-----------------------------|
      | L005  |   5   |  Shanghai  | POINT(31.200000 121.500000) |
      
      请完成以下信息后可下载此书
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写
      *
      你的电话必须填写