[mapserver-dev] rendering plugin status
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Mon Jul 26 13:27:03 EDT 2010
Hi Thomas: How do you want bugs reported? Here's a series of samples with 5.4 and the sandbox version (from this morning):
- AGG, 24-bit PNG
http://maps.dnr.state.mn.us/cgi-bin/mapserv54?map=COMPASS_MAPFILE&mode=map&mapsize=1259%20484&mapext=381482.421875%205035765.625%20435580.078125%205056562.5&map.imagetype=aggpng24
Biggest visual differences are:
1) outlines, especially around text are not as strong in the new version
2) some outlines are missing altogether, look at the highway shield numbered "10" just above the "S" in "Sand Prairie WMA" (note this is present in 5.6 also)
- AGG, forced palette:
http://maps.dnr.state.mn.us/cgi-bin/mapserv54?map=COMPASS_MAPFILE&mode=map&mapsize=1259%20484&mapext=381482.421875%205035765.625%20435580.078125%205056562.5
http://maps.dnr.state.mn.us/cgi-bin/mapserv_rp?map=COMPASS_MAPFILE&mode=map&mapsize=1259%20484&mapext=381482.421875%205035765.625%20435580.078125%205056562.5
Biggest visual differences are:
1) color variations, especially in the blues. Note the darker blue water trail that runs down the center of the image. It's obliterated against the new version
2) outlines, especially around text are not as strong in the new version
- GD, GIF
http://maps.dnr.state.mn.us/cgi-bin/mapserv54?map=COMPASS_MAPFILE&mode=map&mapsize=1259%20484&mapext=381482.421875%205035765.625%20435580.078125%205056562.5&map.imagetype=gif
http://maps.dnr.state.mn.us/cgi-bin/mapserv_rp?map=COMPASS_MAPFILE&mode=map&mapsize=1259%20484&mapext=381482.421875%205035765.625%20435580.078125%205056562.5&map.imagetype=gif
Biggest visual differences are:
1) outlines are still pretty different. White around text is more consistent, although the black around the white shields is more grey than black which is unexpected.
2) stacked styles used to draw interstate labels aren't aligned, note the floating "crown".
3) some features aren't showing up (small roads) in the 5.4 image, that are there in the new version, looks like bug was fixed!
I'm gonna hookup this new version to an app here that draws 20 layers or so, should be an interesting visual comparison. Will share that link ASAP.
Steve
-----Original Message-----
From: mapserver-dev-bounces at lists.osgeo.org [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of thomas bonfort
Sent: Friday, July 09, 2010 7:13 AM
To: MapServer Dev Mailing List
Subject: [mapserver-dev] rendering plugin status
Devs,
I've been working on the rendering overhaul for mapserver 6.0 in the
mapserver6 sandbox.
Featurewise, I think the transition is complete, and would now
appreciate it if you guys could give it a try on your platforms and
data, and report back on the problems that will inevitably arise.
The renderer directory in msautotest contains "unit" tests of the
functionality that should render smoothly across the different
rendering backends (aside from bitmap fonts and scalebar/legend
embedding with svg and pdf cairo backends).
Summary of the most disruptive changes:
* MapScripts are broken and won't compile, as there have been some api
changes to remove everything GD-specific.
* AGG backend is enabled by default and not optional.
* The GD backend only supports PC256 imagemodes. Setting RGB or RGBA
imagemodes should fall back to the AGG backend.
* the default imagetypes have somewhat changed:
- png and gif : GD
- png24 and jpeg : AGG
- aggpng24 and aggjpeg have been removed
* PDF and SVG backends have been removed and replaced by their cairo
counterparts. The corresponding outputformat drivers are CAIRO/PDF
and CAIRO/SVG, or the default "svg" and "pdf" imagetypes.
* png, jpeg, gif and freetype headers are required for compilation
* kml output is broken for now and won't compile, don't enable it
* probably some other points I've forgotten about.
good luck :)
thomas
_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
More information about the mapserver-dev
mailing list