|Version 4 (modified by 15 years ago) ( diff ),|
MapGuide RFC 40 - Support for using the AGG renderer
This page contains an change request (RFC) for the MapGuide Open Source project. More MapGuide RFCs can be found on the RFCs page.
|RFC Template Version||(1.0)|
|Submission Date||(Date/Time submitted)|
|Last Modified||Tom Fukushima Timestamp|
|RFC Status||proposed <frozen for vote, adopted, retracted, or rejected>|
|Implementation Status||under development <completed>|
|Assigned PSC guide(s)||(when determined)|
|Voting History||(vote date)|
Provide support for using the AGG library to render the map and legend images.
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 turned on staircasing occurs. The AGG library will get us around these limitations.
An AGG renderer will be added to the server. When the server starts, it will read the serverconfig.ini file for a "Renderer" setting in the "GeneralProperties" section and:
1) if it is not there, default to the GD renderer
2) if it is set to "AGG" use the AGG renderer
3) otherwise use the GD renderer
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.
We will be forking the agg library from version 2.4, where it was still under a compatible licensing model and storing this version in our subversion repository.
There are no backwards compatibility issues.
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.