Search code examples
openlayers-3geojsongeoserverjtsutfgrids

How to create utfgrid tiles from the GeoJson?


I have local map tiles, and i also have geometries. (GeoJson get from the geoserver). now I want to create utfgrid from my GeoJson file. I have been looking for some library that could help me but i could't find good one.


Solution

  • If you are using a recent version (2.9+) of GeoServer you can request UTFGrid directly as a WMS output using format=application/json;type=utfgrid. Check your getCapabilities response to see if it is available.

    See this question for a fuller discussion of how to use the output.