I am trying to fetch data from geoserver WMS layer in geojson. When previewing layer everything works fine:
http://79.101.20.137:8080/geoserver/eig/wms?service=WMS&version=1.1.0&request=GetMap&layers=eig%3Atp&bbox=12.612376313105207%2C32.874999390114596%2C35.97501363287868%2C47.634998931418615&width=768&height=485&srs=EPSG%3A4326&styles=&format=application/openlayers
I tried to adjust above link with using this tutorial to get json response:
http://79.101.20.137:8080/geoserver/eig/wms?SERVICE=WMS&VERSION=1.1.0&REQUEST=GetFeatureInfo&FORMAT=application/json&TRANSPARENT=true&QUERY_LAYERS=eig:t2m&LAYERS=eig:t2m&exceptions=application/vnd.ogc.se_inimage&INFO_FORMAT=application/json&FEATURE_COUNT=50&X=50&Y=50&SRS=EPSG:4326&STYLES=&WIDTH=101&HEIGHT=101&BBOX=4.2254877427993645,50.750177078705356,4.4957029774594135,50.921063532317916
but I got empty json response:
{"type":"FeatureCollection","features":[],"totalFeatures":"unknown","numberReturned":0,"timeStamp":"2023-01-15T20:00:24.592Z","crs":null}
I tried with testing with different layers, but no luck so far. Layers are created from raster images and the have time dimension.