I am wondering if OpenLayers has support for .jp2 files. I have successfully imported a .jp2 file into geoserver, but when trying to view the layer in openlayers it will not show.
Asked
Active
Viewed 535 times
0
-
WMS doesn't use JP2 so OpenLayers doesn't care what format the source data is in. Check the GeoServer log file for issues reading the jp2 file – Ian Turton Jul 20 '16 at 07:37
-
Were you ever able to verify if OpenLayers supports JPEG2000 images? – David Morales Mar 05 '18 at 19:36
1 Answers
1
Check your .jp2 layer in Layer Preview in GeoServer UI. If the layer is rendered fine, then check your projection settings, it may be the reason you don't see the layer in OL map.
If you see blank area in Layer Preview, then check the GeoServer log file as @iant has advised.

Sergey Kolosov
- 183
- 6