Maps4HTML / geoserver

Maps for HTML MapML Extension / plug-in development fork of GeoServer
https://docs.geoserver.org/latest/en/user/extensions/mapml/index.html
Other
3 stars 1 forks source link

Error processing coordinates too close to 90 degrees (N/S) #15

Closed prushforth closed 4 years ago

prushforth commented 4 years ago

When browsing MapML previews for various projections, there is a bug that results in a server console log message of

"20 Apr. 17:20:11 ERROR [geoserver.rest] - Latitude 90°00.0'S is too close to a pole. org.geotools.referencing.operation.projection.ProjectionException: Latitude 90°00.0'S is too close to a pole."

The resulting MapML preview layer has an undefined name in the layer control,:

image

and no graphics show up for the layer. In the browser console, you'll see

Failed to load resource: the server responded with a status of 500 ()

something like the following:

image

This is a server side bug that needs fixing, and tests.