Skip to content

temporal point failed to get Z dimension #61

@DeoLeung

Description

@DeoLeung

Describe the bug
3d point can't access z value

To Reproduce

from pymeos import TGeogPointInst
from pymeos import pymeos_initialize
from datetime import datetime
pymeos_initialize()
point = TGeogPointInst(point=(0, 0, 0), timestamp=datetime.now())
print(point.x())
print(point.y())
print(point.z())
# MeosInvalidArgValueError: MeosInvalidArgValueError (12): The temporal point must have Z dimension

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. macOS]
  • Architecture: [e.g. x64]
  • Environment: [e.g. conda]
  • Version [e.g. 1.1.1]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions