GeoServer with OGC API Tiles

Hi,
I had to test OGC API Tiles using Geoserver 2.27.x with OGC API Tiles plugin (tiles + features).

When I try to publish tiled datatiles as GeoJSON with OpenLayers, it always comes with a console error; can’t find link “Concept

But I know if I request my geoserver manually with URL, it works fine and downloads my JSON datatiles.

Do I have to insert something special in Geoserver configuration ?

Hi,
I don’t think I follow… how did you publish GeoJSON tiles to start with?
On a 2.27.x with the vector tiles plugin installed, the cacheable formats only provide MVTs:

The documentation refers to the other two formats as cacheable… do you see them in your configuration interface?
https://docs.geoserver.org/main/en/user/extensions/vectortiles/tutorial.html

As far as I know the only vector tile format that has received some attention, code wise, in the last few years has been MVT, it might well be that the other two have regressed and are no longer usable? I haven’t seen activity on those two in quite some time.

I would suggest you have a look at MVT for vector tiling purposes.

Cheers
Andrea

Hi again,
My purpose is to publish geoJSON because MVT is not a real opensource datatype.
Geoserver can publish GeoJSON when plugin “OGC API Tiles features” is installed. But that is not the question now, because my server works and delivers GeoJSON data when I request my server manually.
My question is : Openlayers sais: Error: Expected Concept link or tileMatrixSet in the browser console. (parseTileSetMetadata ogcTileUtil.js:460)

But I can’t configure my TileMatrixSet definition to deliver that link… (http://localhost:8080/geoserver/ogc/tiles/v1/collections/A_SOP:Gewaesser_Fliessendes_EPSG4326/tiles/EPSG:4326?f=application%2Fjson)