Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

How to access s2sphere.Cell methods of a given s2sphere.CellId? #38

Description

@ppKrauss

Supposing this context,

  import s2sphere
  token = '89c2588'
  id = s2sphere.CellId.from_token(token)

I can access id.face() , id.level() etc. methods. But how to access cell.exact_area()?


PS: when try cell = s2sphere.Cell( id.id() ) there are "ERROR: AttributeError: 'int' object has no attribute 'to_face_ij_orientation'"... And other strange errors with cell = s2sphere.Cell( id ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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