[MapProxy] Delimiter for layer-name and grid name in TMS
Oliver Tonnhofer
olt at omniscale.de
Fri Sep 2 03:11:14 PDT 2016
On 01.09.2016, at 16:08, Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi> wrote:
> I did not read carefully enough if href could be about anything if each href is just announced correctly in the capabilities and if this could be OK for level zero
> <TileSet href="http://demo.opengeo.org/geoserver/gwc/service/tms/1.0.0/foo/bar" units-per-pixel="0.703125" order="0"/>
The URLs do not need to have any meaning. Only x/y.format is fixed for all services, even the zoom levels (TileSet) can be L01, 1, 01, 1:100000, etc.
From the spec:
[...]Note that while the URLs used to access resources may appear to have internal meaning (the resource for version 1.0.0 of the service has "1.0.0" in it's URL) such structure is not required of them.
The only requirement is that the resource be referenced by a URL (http://tms.osgeo.org/1.0.0/ could be http://tms.osgeo.org/onepointzeropointzero or http://tms.osgeo.org/flipper.xml as long as the value appeared in the href of the <TileMapService> element).
[...]
Regards,
Oliver
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.com
OpenStreetMap WMS and tile services | http://maps.omniscale.com
>
> -Jukka Rahkonen-
>
> Jonathan Moules wrote:
>
>
> Hi List,
> Looking at the TMS as supported by MapProxy (https://mapproxy.org/docs/1.8.0/services.html#tms-service-label), I see this line:
>
> "MapProxy uses the actual name of the grid as the grid identifier instead of the SRS code. Tiles will then be available under /tms/1.0.0/mylayer/mygrid/ instead of /tms/1.0.0/mylayer/EPSG1234/ or /tms/1.0.0/mylayer_EPSG1234/."
>
> So MapProxy is using the / symbol to separate layer from grid (or EPSG). Although there's also the option to use a _ as well apparently.
>
> In contrast, MapServer is using the @ symbol: http://mapserver.org/mapcache/services.html#mapcache-services, as does GeoWebCache/Geoserver (http://geowebcache.org/docs/current/services/tms.html)
>
> Does anyone know why MapProxy uses /or _ rather than @ to delimit this? And which is the "standard" (the actual standard doesn't seem to say either way, but that may just be my reading - http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification)
>
> Cheers,
> Jonathan
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
More information about the MapProxy
mailing list