Skip to content

saveKML only works in north western hemisphere #3

@jjguy

Description

@jjguy

saveKML() assumes:

  • the inputs are a set of a (latitude, longitude) coordinates.
  • the minimum latitude is east
  • the maximum latitude is west
  • the minimum longitude is south
  • the maximum longitude is north

These assumptions are only valid in the north western hemisphere. I'm not a GIS guy, but AFAICT, the canonical mechanism to eliminate assumptions is to include N/S and E/W indicators with the coordinate that specifies which hemisphere the coordinate is from.

saveKML needs a mechanism to distinguish; perhaps a second argument that is one of ["NW", "NE", "SW", "SE"].

Thanks to Stephen M for the bug report

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions