[mapguide-users] XYZ-Tile creation issues

Jackie Ng jumpinjackie at gmail.com
Wed Mar 18 17:46:33 PDT 2015


1. This is a defect in the RFC 140 spec, which specified an incorrect
coordinate system to interpret XYZ tile sets in. The previous coordinate
system was EPSG:4326. The proper coordinate system is EPSG:3857. 

This is fixed here: http://trac.osgeo.org/mapguide/changeset/8581

2. This is due to an API limitation of mapguide-rest. It uses its own tile
cache path because:

  - Using the RenderMap hack for rendering XYZ tiles, there is nothing that
specifies where such tiles should be cached
  - Using the RenderTileXYZ pass-through, there's nothing that lets us know
what the value of %MG_TILE_CACHE_PATH% should be.

If you can accept mapguide-rest as the definitive tile source, then just set
the RenderOnly property to true in the Tile Set Definition so that rendered
XYZ tiles will not get cached at the MapGuide Server level.

Otherwise, just get the XYZ tiles directly through the mapagent. It uses the
same GETTILE operation, but use X = row, Y = col, Z = scaleindex.

3. This is a bug. I'm forgetting to prompt the user for which tile provider
to use.

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/XYZ-Tile-creation-issues-tp5194185p5194341.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list