Changes between Initial Version and Version 1 of MapGuideRfc170


Ignore:
Timestamp:
04/15/19 07:30:00 (6 years ago)
Author:
jng
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc170

    v1 v1  
     1= !MapGuide RFC 170 - Tile Service Enhancements (Part 2) =
     2
     3This page contains a change request (RFC) for the !MapGuide Open Source project.
     4More !MapGuide RFCs can be found on the [wiki:MapGuideRfcs RFCs] page.
     5
     6== Status ==
     7
     8||RFC Template Version||(1.0)||
     9||Submission Date||||
     10||Last Modified||16 Apr 2019||
     11||Author||Jackie Ng||
     12||RFC Status||draft||
     13||Implementation Status||sandbox in progress||
     14||Proposed Milestone||3.3||
     15||Assigned PSC guide(s)||(when determined)||
     16||'''Voting History'''||(vote date)||
     17||+1||||
     18||+0||||
     19||-0||||
     20||-1||||
     21||no vote|| ||
     22
     23== Overview ==
     24
     25This RFC proposes to build on top of the Tile Service Enhancements introduced in MapGuide Open Source 3.0 with RFC 140
     26
     27== Motivation ==
     28
     29RFC 140 introduced the concept of a tile set as a resource (TileSetDefinition) and support for XYZ tile sets.
     30
     31While the RFC laid down a lot of groundwork, there are some feature gaps, loose ends and cases not considered in the initial implementation that did not make it in the 3.0 release cycle.
     32
     33This RFC will tie up such loose ends
     34
     35== Proposed Solution ==
     36
     37This RFC will tie up the following loose ends:
     38
     39=== Ability to create MgMap instances from Map Definitions linked to XYZ tile sets ===
     40
     41The initial implementation did not allow an MgMap instance to be created from a Map Definition that links to a TileSetDefinition that uses the XYZ tile provider.
     42
     43The reason for this was at the time, we didn't know what finite scale list to assign to such a MgMap which is required to properly determine the correct scale index parameter when requesting tiles. A tile set using the Default tile provider would provide this information, yet the XYZ one does not.
     44
     45In actuality, the finite scale list for an XYZ tile set is actually hard-coded and already known. It is the same scale list generated by Maestro/Infr. Studio for a WGS84.PseudoMercator Map Definition so that it would line up with Google/Bing/OSM layers when viewed within a Fusion Flexible Layout. So by providing this same scale list to the MgMap, we can allow MgMap instances to be created from Map Definitions that link to XYZ tile sets.
     46
     47=== Expose tile provider type in CREATERUNTIMEMAP/DESCRIBERUNTIMEMAP ===
     48
     49The v3.0.0 CREATERUNTIMEMAP and DESCRIBERUNTIMEMAP schemas did not specify the underlying tile provider name when invoked on a Map Definition that links to a Tile Set Definition. Thus if CREATERUNTIMEMAP was invoked on such a Map Definition, the client does not know what type of tile provider is being used. If a Map Definition links to an XYZ tile set (which will now be a legal scenario as a result of this RFC) we need to communicate this fact back to the client so that it can properly use XYZ tile access semantics instead of normal MapGuide tile access to properly consume tiles from these base layer groups.
     50
     51We'll introduce a v3.3.0 RuntimeMap schema to include this information.
     52
     53In the Fusion viewer, if it is known that the XYZ tile provider is being used in the CREATERUNTIMEMAP response, it will create an OpenLayers.Layer.XYZ instance to read such tiles instead of the tiled version of OpenLayers.Layer.MapGuide
     54
     55=== Meta-tiling ===
     56
     57RFC90 introduced an implementation of meta-tiling. Meta-tiling is the process of rendering a bigger tile and slicing it down into sub-tiles of the original requested size, generally improving tile generation throughput as a result.
     58
     59However, this implementation has not yet been integrated back into trunk so as a result, it has not surfaced as a feature in any release of MapGuide since the RFC was implemented.
     60
     61For this RFC, we will take the RFC90 implementation of meta-tiling and retro-fit it into the Tile Set Definition infrastructure.
     62
     63Meta-tiling support will be surfaced via new tile set parameters:
     64
     65 * {{{MetaTileFactor}}}
     66 * {{{LockMethod}}}
     67
     68=== HTTP caching headers ===
     69
     70=== Configurable TileExtentOffset ===
     71
     72In addition to meta-tiling parameters, the (previously-global) {{{TileExtentOffset}}} server configuration property is now available as a tileset-specific parameter.
     73
     74== Implications ==
     75
     76== Test Plan ==
     77
     78== Funding / Resources ==
     79
     80Community