Skip to content

Pixel of a WGS84 lat/lon inside a certain Tile #18

@5fcgdaeb

Description

@5fcgdaeb

This is a great library, thanks for putting it together.

One useful enhancement would be to calculate the pixel of a latitude/longitude inside a given Tile. Adding this capability to the Tile class would probably make sense, something along the lines of:

# Calculates the pixel location of a point inside the tile
def pixels(self, of_point: Point) -> (int, int): 
   pass

I can do this as well but let's discuss if this feature makes sense for the library.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions