Skip to content

saveKML only works in north western hemisphere #3

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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