| 1 | = !MapGuide RFC 40 - Support for using the AGG renderer = |
| 2 | |
| 3 | This page contains an 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||(Date/Time submitted)|| |
| 11 | ||Last Modified||Tom Fukushima [[Timestamp]]|| |
| 12 | ||Author||Tom Fukushima, Traian Stanev|| |
| 13 | ||RFC Status||draft <proposed, frozen for vote, adopted, retracted, or rejected>|| |
| 14 | ||Implementation Status||pending <under development, completed>|| |
| 15 | ||Proposed Milestone||2.0|| |
| 16 | ||Assigned PSC guide(s)||(when determined)|| |
| 17 | ||'''Voting History'''||(vote date)|| |
| 18 | ||+1|||| |
| 19 | ||+0|||| |
| 20 | ||-0|||| |
| 21 | ||-1|||| |
| 22 | |
| 23 | == Overview == |
| 24 | Provide support for using the AGG library to render the map and legend images. |
| 25 | |
| 26 | == Motivation == |
| 27 | |
| 28 | The GD renderer currently used to render the map and legend images works, but there are limitations to it in that the images it generates could be better. For example, when drawing a wide line, even though we have antialiasing on staircasing occurs. The AGG library will get us around these limitations. |
| 29 | |
| 30 | == Proposed Solution == |
| 31 | |
| 32 | An AGG renderer will be added to the server. When the server starts, it will read the serverconfig.ini file for a <???> setting in the <???> section and: |
| 33 | 1) if it is not there, default to the GD renderer |
| 34 | 2) if it is set to "AGG" use the AGG renderer |
| 35 | 3) otherwise use the GD renderer |
| 36 | |
| 37 | The reason that we default to the GD renderer is because the AGG renderer needs to be tested and stabilized before exposing it to general community. |
| 38 | |
| 39 | We will be forking the AGG renderer from the version where it was still under a compatible licensing model and storing this version in our subversion repository. |
| 40 | |
| 41 | == Implications == |
| 42 | |
| 43 | There are no backwards compatibility issues. |
| 44 | |
| 45 | == Test Plan == |
| 46 | |
| 47 | We are initially putting it in the product to get some testing done. Also, the unit tests that exist for the GD renderer will be replicated to use the AGG renderer. |
| 48 | |
| 49 | == Funding/Resources == |
| 50 | |
| 51 | Autodesk |