Skip to content

Coordinate projection failures and messages #154

Description

@nathankota

Scenario 1: Coordinates outside of Utah

Although we constrain the coordinate entry values, it is possible that values could be entered that are outside of the state boundary. This leads to the projection calculation to hang up, likely b/c the SPC spatial reference cannot be found.
Example coordinates: 36.9967, -109.0512

Check

Projection message

  • If No results found on the query service,
  • On app UI: The entered coordinates were outside of Utah. Please enter valid Utah coordinates.
  • Will need a Back button

Scenario 2: Failed conversion/projection

I'm not sure of a situation that may cause this, other than a disruption with the service, nor what the results of the attempted projection would look like in the service. Perhaps Scenario 1 will capture most of the cases?

  • If there is a failed conversion/projection, other than Scenario 1,
  • If Geographic coordinates were entered:
    • On app UI: Projecting geographic to grid coordinates failed. Please check and enter coordinates again, or try entering grid coordinates first. If the projection continues to fail, please try again later. You may also contact us at ugrc@utah.gov.
  • If Grid coordinates were entered:
    • On app UI: Projecting grid to geographic coordinates failed. Please check and enter coordinates again, or try entering geographic coordinates first. If the projection continues to fail, please try again later. You may also contact us at ugrc@utah.gov.
  • Will need a Back button

Scenario 3: Service failure

  • On app UI: The projection service to convert your coordinates to the opposing coordinate system failed. Please try again later. You may contact us at ugrc@utah.gov.

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions