Change Password

Please enter the password.
Please enter the password. Between 8-64 characters. Not identical to your email address. Contain at least 3 of: uppercase, lowercase, numbers, and special characters.
Please enter the password.
Submit

Change Nickname

Current Nickname:
Submit

Apply New License

License Detail

Please complete this required field.

  • Ultipa Graph V4

Standalone

Please complete this required field.

Please complete this required field.

The MAC address of the server you want to deploy.

Please complete this required field.

Please complete this required field.

Cancel
Apply
ID
Product
Status
Cores
Applied Validity Period(days)
Effective Date
Excpired Date
Mac Address
Apply Comment
Review Comment
Close
Profile
  • Full Name:
  • Phone:
  • Company:
  • Company Email:
  • Country:
  • Language:
Change Password
Apply

You have no license application record.

Apply
Certificate Issued at Valid until Serial No. File
Serial No. Valid until File

Not having one? Apply now! >>>

Product Created On ID Amount (USD) Invoice
Product Created On ID Amount (USD) Invoice

No Invoice

v5.0
Search
    English
    v5.0

      Spatial Functions

      Example Graph

      The following examples run against this graph:

      distance()

      Computes the straight-line distance between two points.

      Syntax distance(<point1>, <point2>)
      Arguments Name Type Description
      <point1> POINT The first point
      <point2> POINT The second point
      Return Type DOUBLE
      find().nodes({name == "New York"}) as p1
      find().nodes({name == "London"}) as p2
      return distance(p1.location, p2.location)
      

      Result:

      distance(p1.location, p2.location)
      5571177.78487926

      point()

      Combines two numbers representing latitude and longitude into a point. The point() function can be used to specify the value of a point-type property.

      Syntax point({latitude: <lati>, longitude: <longti>})
      Arguments Name Type Description
      <lati> Numeric The latitude value
      <longti> Numeric The longitude value
      Return Type POINT
      return point({latitude:39.9, longitude:116.3}) as point
      

      Result:

      point
      POINT(39.9 116.3)
      insert().into(@City).nodes([{name: "Tokyo", location:point({latitude: 35.7, longitude: 139.7})}]) as n
      return n.location
      

      Result:

      n.location
      POINT(35.7 139.7)
      Please complete the following information to download this book
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写