| 1 | = !MapGuide RFC 107 - Enhance Tile service to add new API GenerateTile = |
| 2 | |
| 3 | This page contains a change request (RFC) for the !MapGuide Open Source project. |
| 4 | More !MapGuide RFCs can be found on the [wiki:MapGuideRfcs RFCs] page. |
| 5 | |
| 6 | |
| 7 | == Status == |
| 8 | |
| 9 | ||RFC Template Version||(1.0)|| |
| 10 | ||Submission Date||July 23, 2010|| |
| 11 | ||Last Modified||Ted Yang July 23, 2010|| |
| 12 | ||Author||Ted Yang|| |
| 13 | ||RFC Status||draft|| |
| 14 | ||Implementation Status||incomplete|| |
| 15 | ||Proposed Milestone||2.3|| |
| 16 | ||Assigned PSC guide(s)|| || |
| 17 | ||'''Voting History'''|||| |
| 18 | ||+1|||| |
| 19 | ||+0|||| |
| 20 | ||-0|||| |
| 21 | ||-1|||| |
| 22 | ||Abstained|||| |
| 23 | |
| 24 | == Overview == |
| 25 | |
| 26 | This RFC proposes to add a NEW !GetCapabilites() API to the feature service which contains an additional connection string parameter. This will primarily allow for acquiring the "runtime" capabilities of WFS/WMS providers. |
| 27 | |
| 28 | == Motivation == |
| 29 | |
| 30 | The existing Feature service !GetCapabilties() API works correctly for most providers, but fails to return the true capabilities of the server connected to by a WFS/WMS provider because there is no way to specify the connection string containing the server. |
| 31 | |
| 32 | |
| 33 | |
| 34 | == Proposed Solution == |
| 35 | |
| 36 | Create a NEW !GetCapabilities() API that takes an additional connection string parameter. |
| 37 | |
| 38 | Existing API: |
| 39 | {{{ |
| 40 | MgByteReader* GetCapabilities(CREFSTRING providerName); |
| 41 | }}} |
| 42 | |
| 43 | Proposed NEW API: |
| 44 | {{{ |
| 45 | MgByteReader* GetCapabilities(CREFSTRING providerName, CREFSTRING connectionString); |
| 46 | }}} |
| 47 | |
| 48 | Note: This NEW API will behave exactly the same as the old API if it is given an empty string as the connection string parameter. |
| 49 | |
| 50 | == Implications == |
| 51 | |
| 52 | This change will NOT break existing API compatibility. |
| 53 | |
| 54 | == Test Plan == |
| 55 | |
| 56 | !Build/Run on !Windows/Linux. |
| 57 | |
| 58 | == !Funding/Resources == |
| 59 | |
| 60 | Supplied by Autodesk. |