Opened 3 years ago

Closed 3 years ago

#2483 closed defect (fixed)

WebWorldWind error - when bbox of a WMS layer is out of EPSG:4326 bbox

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: wcsclient Version: 9.8
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

Error while rendering layer S5p_L2_AER_AI_aerosol_index_340_380_global.
ArgumentError: Tile.constructor: The specified row or column is less than zero.
e@https://mundi.rasdaman.com/dashboard/main-es2015.86acb68bfadf3e7549c8.js:1:132465
o@https://mundi.rasdaman.com/dashboard/main-es2015.86acb68bfadf3e7549c8.js:1:286485
n@https://mundi.rasdaman.com/dashboard/main-es2015.86acb68bfadf3e7549c8.js:1:291341
r@https://mundi.rasdaman.com/dashboard/main-es2015.86acb68bfadf3e7549c8.js:1:291959

WebWorldWind doesn't work if the layer has bbox (mosaiced by gdalwarp) is a little bit out of EPSG:4326 [-90,90-180,180] domains.

Here is bbox of the layer S5p_L2_AER_AI_aerosol_index_340_380_global

West bound longitude: -180.04000000000002
South bound latitude: -90.02
East bound longitude: 180.04
North bound latitude: 90.02000000000001

To fix it, set in WebWorldWind configuration for WMS in clients.

sector: new WorldWind.Sector(max(-90, minLat), min(90, maxLat), max(-180, minLong), min(180, maxLong),

Change History (1)

comment:1 by Bang Pham Huu, 3 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.