Thomas, You've totally made my day. I was finally able to get your patch applied today. I tested it out and it works wonderfully. My mapfile went from a whopping 17sec down to a little over 5sec. I don't know if this feature would ever actually make it into the full release but it's a keeper as far as I'm concerned.
---- Timothy J Nolte - [EMAIL PROTECTED] Associate Network Planning Engineer iPCS Wireless, Inc. 4717 Broadmoor Ave, Suite G Kentwood, MI 49512 Office: 616-656-5163 PCS: 616-706-2438 Fax: 616-554-6484 Web: www.ipcswirelessinc.com -----Original Message----- From: thomas bonfort [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 18, 2007 1:46 PM To: Nolte, Tim Cc: [email protected] Subject: Re: [UMN_MAPSERVER-USERS] MapServer 5.0.0 released! On 9/18/07, Nolte, Tim <[EMAIL PROTECTED]> wrote: > Thomas, > > I'll give this a try, and see what I get. Thanks. I'll let you how it > works. Just so I get this straight I add "ANTIALIAS FALSE" to my layer > after the patch and that layer won't be antialiased, correct? nope, that's not it.. you create the symbol definition in your symbol file or inlined in your mapfile. and then you set the layers you want rendered fast to LAYER NAME blablba DATA ... CLASS STYLE COLOR r g b SYMBOL 'aliased' END END END it's slower than gd but did speed up dense line drawings by a factor of 3 when i tried it, less with polygons. tb > > > ---- > Timothy J Nolte - [EMAIL PROTECTED] > Associate Network Planning Engineer > > iPCS Wireless, Inc. > 4717 Broadmoor Ave, Suite G > Kentwood, MI 49512 > > Office: 616-656-5163 > PCS: 616-706-2438 > Fax: 616-554-6484 > Web: www.ipcswirelessinc.com > > > -----Original Message----- > From: thomas bonfort [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 18, 2007 12:31 PM > To: Nolte, Tim > Cc: [email protected] > Subject: Re: [UMN_MAPSERVER-USERS] MapServer 5.0.0 released! > > Tim, > > Attached is a patch you can apply to mapagg.cpp - if you can't apply > it I'll mail you the whole file. > > it basically switches to aliased rendering if you use > SYMBOL > TYPE SIMPLE > ANTIALIASED FALSE > NAME 'aliased' > END > > it'll work *only* on line and polygon layers, if you specify a > STYLE > NAME 'aliased' > COLOR r g b > END > > nothing other is supported (line widths, or polygon outlines) > > I'd be interested to hear about timings if you can try it > > tb >
