SRS handling: Reproject to declared; Get default style
I have two questions...
SRS of data of mine is EPSG:102067 (S-JTSK, Krovak, North-East). I want to reproject data to EPSG:4326 (WGS 84). So I added SRS to PostGIS and GeoServer (parameters are below) and tried to publish data. If SRS handling: Keep native, data are displayed correctly. Both bounding box and coordinates match. When I tried to change SRS handling to reproject native to declared and declared SRS set to EPSG:4326, it doesn't compute BBox correctly. Min/Max X seem to be correct, but Min/Max Y are +45 degrees. If I open layer preview via Open Layers, there are no data displayed. I tried to manually change BBox values, but there are no data either.
Here are params of SRS - are in the .proj file of shapes:
Proj4js.defs["EPSG:102067"] = "+title=S_JTSK_Krovak_East_North EPSG:102067 +proj=krovak +lat_0=49.5 +lon_0=24.83333333333333 +alpha=30.28813975277778 +k=0.9999 +x_0=0 +y_0=0 +ellps=bessel +units=m +no_defs";