Re: [mapserver-users] Re: GD rendering: polygons vs lines
To clarify GD is not being removed. So, rendering issues with GD are and will be of concern. OK, sounds good. Thanks for clarifying. -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GIS Person, Security Network+ Server+ A+ Security+ Linux+ PHP PostgreSQL MySQL DHTML/JavaScript/AJAX No one cares if you can back up — only if you can recover. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Re: GD rendering: polygons vs lines
To clarify GD is not being removed. It's still alive and kicking. It's just more isolated now. That is, AGG doesn't need GD in 6.0 like it has in the past. AGG, GD, Cairo all exist as rendering peers. We have stripped back the GD functionality to be just 8-bit output though. That's what it's good for. So, rendering issues with GD are and will be of concern. You might try a 6.0 build and see if that helps at all. Much of the rendering behavior is much more consistent across renderers thanks to Thomas' work. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] On Behalf Of Gregor at HostGIS [gre...@hostgis.com] Sent: Wednesday, January 26, 2011 10:31 PM To: Stephen Woodbridge Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Re: GD rendering: polygons vs lines A while back someone, maybe Thomas Bonfort, did some performance tests comparing GD to AGG, and if I recall AGG was only slightly slower and in at least a couple of cases it was faster the GD. In our case, GD renders in 1 second and AGG in 3 in these few tests cases we're concerned with. We're thus allowing a choice between fast mode and good quality mode Also I should point out that the GD renderer is getting removed So I'm not sure there is much interest in chasing issue Well, that's good to know. Thanks for the heads-up. I'll wait and see if someone comes up with any ideas before I give up entirely. -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GIS Person, Security Network+ Server+ A+ Security+ Linux+ PHP PostgreSQL MySQL DHTML/JavaScript/AJAX No one cares if you can back up — only if you can recover. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: GD rendering: polygons vs lines
Steve, Thanks for clarifying that. Sorry for the mistake on that. I guess I need to go back and reread the RFC on this. -Steve W On 1/27/2011 3:01 AM, Lime, Steve D (DNR) wrote: To clarify GD is not being removed. It's still alive and kicking. It's just more isolated now. That is, AGG doesn't need GD in 6.0 like it has in the past. AGG, GD, Cairo all exist as rendering peers. We have stripped back the GD functionality to be just 8-bit output though. That's what it's good for. So, rendering issues with GD are and will be of concern. You might try a 6.0 build and see if that helps at all. Much of the rendering behavior is much more consistent across renderers thanks to Thomas' work. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] On Behalf Of Gregor at HostGIS [gre...@hostgis.com] Sent: Wednesday, January 26, 2011 10:31 PM To: Stephen Woodbridge Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Re: GD rendering: polygons vs lines A while back someone, maybe Thomas Bonfort, did some performance tests comparing GD to AGG, and if I recall AGG was only slightly slower and in at least a couple of cases it was faster the GD. In our case, GD renders in 1 second and AGG in 3 in these few tests cases we're concerned with. We're thus allowing a choice between fast mode and good quality mode Also I should point out that the GD renderer is getting removed So I'm not sure there is much interest in chasing issue Well, that's good to know. Thanks for the heads-up. I'll wait and see if someone comes up with any ideas before I give up entirely. -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GIS Person, Security Network+ Server+ A+ Security+ Linux+ PHP PostgreSQL MySQL DHTML/JavaScript/AJAX No one cares if you can back up — only if you can recover. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: GD rendering: polygons vs lines
On 1/26/2011 10:57 PM, Gregor at HostGIS wrote: *bump* Any developers out there care to comment on the visual artifacts? https://www.cartograph.com/~gregor/1.gif Normal polygons with corners aren't a real problem, but circles and curves like this render better as lines than polygons. Any ideas as to how we can smooth these out, still using GD? Or is it a lost cause for GD? Like I said, Plan B would be to render a line layer and then a no-outline fill layer; but the performance hit would obviate the advantage of GD. Hi Gregor, A while back someone, maybe Thomas Bonfort, did some performance tests comparing GD to AGG, and if I recall AGG was only slightly slower and in at least a couple of cases it was faster the GD. That said, I can't find the posts I was think of. And this very limited test of one single image: http://www.perrygeo.net/wordpress/?p=77 Implies the GD is about 2x the speed of AGG. More here if you care to look: http://www.google.com/#q=mapserver+performance+gd+agg Also I should point out that the GD renderer is getting removed in 6.0 as part of the rendering pipeline refactoring, unless that plan has changed. So I'm not sure there is much interest in chasing issue in the gd renderer. Best regards, -Steve W ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: GD rendering: polygons vs lines
A while back someone, maybe Thomas Bonfort, did some performance tests comparing GD to AGG, and if I recall AGG was only slightly slower and in at least a couple of cases it was faster the GD. In our case, GD renders in 1 second and AGG in 3 in these few tests cases we're concerned with. We're thus allowing a choice between fast mode and good quality mode Also I should point out that the GD renderer is getting removed So I'm not sure there is much interest in chasing issue Well, that's good to know. Thanks for the heads-up. I'll wait and see if someone comes up with any ideas before I give up entirely. -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GIS Person, Security Network+ Server+ A+ Security+ Linux+ PHP PostgreSQL MySQL DHTML/JavaScript/AJAX No one cares if you can back up — only if you can recover. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users