1

I am using GeoServer and seed tiles on my server. The tiles are created successfully but I don't know which pattern the directory structure is following... (i.e. .../EPSG_4326_05/0_0/00_06.png).

I want to use the tiles in a OpenLayers application and there I want to use a OSM source which is using the XYZ-pattern which is commonly used as URL pattern for tile-serving. Is there a way to tell the GeoServer it should create the tiles with the XYZ structure?

3

1 Answer 1

1

GeoServer (actually GeoWebCache) can provide a number of end points that can serve tiles.

None of these uses the so called XYZ system (because that isn't a standard) but OpenLayers has a Tiled Layer that can handle TMS and WMTS servers using the TileImage source.

3
  • 2
    XYZ is not available because nobody contributed it :-p The Google maps endpoint is not a standard, but it's there anyways (wondering, is the Google one matching the XYZ one by any chance?) Looking at this doc it seems like it might: geoserver.geo-solutions.it/edu/en/caching_data/… Jun 1, 2017 at 8:00
  • is there no possibility to transform the one pattern to the other? i mean.. i get the url "EPSG_4326_05/0_0/00_06.png" and can recalculate it to the corresponding XYZ tile i.e. "EPSG_4326_05/0/6.png" Jun 1, 2017 at 8:08
  • and not only google maps is using this endpoint... the openstreetmap (source.OSM in openlayers) also have such a pattern Jun 1, 2017 at 8:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.