Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angle out of Range Error #281

Open
geoffyG opened this issue May 23, 2024 · 0 comments
Open

Angle out of Range Error #281

geoffyG opened this issue May 23, 2024 · 0 comments

Comments

@geoffyG
Copy link

geoffyG commented May 23, 2024

Description

Whenever I try to run the Shapefiles.java example with an Ocean or Bathymetry shapefile, I get an error that the "angle is out of range at 90.00000006".

Steps to Reproduce

  1. Open the run-demo.bat file
  2. Make sure the demo that will be running is the Shapefile example
  3. In the Shapefile.java file, make sure to replace the given shapefile with any ocean or bathymetry shapefile from Natural Earth Data.
  4. Run the 'run-demo.bat' file

Expected behavior:
The shapefile should appear on the globe, with the shapefile name listed on the left and it's checkbox checked.

Actual behavior:
The shapefile name is listed with the others, and the checkbox is checked, but nothing is projected onto the globe. When the mouse passes over the globe, an error message is produced in the terminal multiple times that says, "SEVERE: Angle out of range 90.0000000000001°".

Reproduces how often:
It happens every time an ocean or bathymetry shapefile is run in the Shapefile.java file. Depending on which shapefile is run, the number of degrees past 90 will be different, but always the same for the same shapefile.

Operating System and Version

Running on Visual Studio Code version 1.87.0 in Java

I'm assuming the cause of the error is in how WorldWind Java reads in the shapefile data, as I can't find anyone else who has had this error running those same shapefiles on other systems, but I could be wrong.

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

No branches or pull requests

1 participant