MapServer 5.0.0 released!

Nolte, Tim Tim.Nolte at IPCSWIRELESSINC.COM
Thu Sep 27 14:12:23 EDT 2007


Thomas,

If I don't use the "aliased" symbol the legend key images show up fine,
even with MIN/MAXSCALE, as I have this on other layers without issue.
The example I gave you is for a few layers that I wanted to use the
"aliased" symbol and for those the legend key images don't show up.

----
Timothy J Nolte - tnolte at ilpcs.com
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:thomas.bonfort at gmail.com] 
Sent: Thursday, September 27, 2007 1:50 PM
To: Nolte, Tim
Subject: Re: [UMN_MAPSERVER-USERS] MapServer 5.0.0 released!

Tim,

is the legend icon not appearing happening *only* when using the
"aliased" symbol ?
the mentionned bug would kick in also if you've defined a
minscale/maxscale on the layer level, but from your snippet this
doesn't seem to be the case.

thanks for helping out on this...

tb

On 9/27/07, Nolte, Tim <Tim.Nolte at ipcswirelessinc.com> wrote:
> Thomas,
>
> Actually, I did take your initial suggestion and removing the
> MIN/MAXSCALE didn't fix the issue with the keyimage not showing up.
> Thanks anyways.
>
> ----
> Timothy J Nolte - tnolte at ilpcs.com
> 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:thomas.bonfort at gmail.com]
> Sent: Wednesday, September 26, 2007 9:39 AM
> To: Nolte, Tim
> Subject: Re: [UMN_MAPSERVER-USERS] MapServer 5.0.0 released!
>
> tim, if you want to fix this it's quite easy:
> http://trac.osgeo.org/mapserver/changeset/6907
>
> just change each second instance of maxscaledenom to minscaledenom in
> maplegend.c
>
> cheers, tb
>
>
> On 9/26/07, Nolte, Tim <Tim.Nolte at ipcswirelessinc.com> wrote:
> > Thomas,
> >
> > Thanks for getting back to me on this. I sort of suspected this
could
> be
> > the issue as I've seen the posts come across the group. I was sort
of
> > impatient so I found a workaround using KEYIMAGE and just specifying
> an
> > image to use for my legend. I can't actually run in production
without
> > the MIN/MAXSCALE options, but when I get a chance I'll run through
> this
> > on my test environment. Thanks again!
> >
> > - Tim
> >
> > ----
> > Timothy J Nolte - tnolte at ilpcs.com
> > 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:thomas.bonfort at gmail.com]
> > Sent: Wednesday, September 26, 2007 9:03 AM
> > To: Nolte, Tim
> > Subject: Re: [UMN_MAPSERVER-USERS] MapServer 5.0.0 released!
> >
> > there's a bug in the 5.0 code concerning maxscale and minscale.
could
> > you try without these keywords and report if your legends are
drawing?
> > if that's the case the fix will be in 5.0.1
> >
> > tb
> >
> > On 9/21/07, Nolte, Tim <Tim.Nolte at ipcswirelessinc.com> wrote:
> > > Ok, here is my symbol and layer definitions.
> > >
> > > SYMBOL
> > > NAME 'aliased'
> > > TYPE SIMPLE
> > > ANTIALIAS FALSE
> > > END
> > >
> > >   LAYER
> > >     GROUP "Propagations"
> > >     NAME "-98dBm to -104dBm (Outdoor Rural)"
> > >     STATUS ON
> > >     TILEINDEX "propagations/104/tileindex"
> > >     TILEITEM "location"
> > >     TYPE POLYGON
> > >     # --------------------------------------------------
> > >     # Class: -98dBm to -104dBm (Outdoor Rural)
> > >     # --------------------------------------------------
> > >     CLASS
> > >       NAME "-98dBm to -104dBm (Outdoor Rural)"
> > >       MINSCALE 0
> > >       MAXSCALE 1200000
> > >       STYLE
> > >         SYMBOL "aliased"
> > >         COLOR 255 128 0
> > >         OUTLINECOLOR 255 128 0
> > >       END
> > >     END
> > >   END
> > >
> > > Does anyone see something that isn't right? My default application
> > > interface is Chameleon, however just using the basic cgi
index.html
> &
> > > viewer-template.html ways of rendering are outputting the same
thing
> > (no
> > > legend images for layers using SYMBOL "aliased"). Prior to this
> patch
> > > those legend images showed up fine. I'm pretty sure it has
something
> > to
> > > do with adding a symbol to the class.
> > >
> > > ----
> > > Timothy J Nolte - tnolte at ilpcs.com
> > > 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:thomas.bonfort at gmail.com]
> > > Sent: Thursday, September 20, 2007 10:28 AM
> > > To: Nolte, Tim
> > > Subject: Re: [UMN_MAPSERVER-USERS] MapServer 5.0.0 released!
> > >
> > > I can't reproduce this here... the legend icon shows up correctly
> > (i.e.
> > > aliased)
> > > how are you drawing the legend icons?
> > >
> > > tb
> > >
> > > On 9/20/07, Nolte, Tim <Tim.Nolte at ipcswirelessinc.com> wrote:
> > > > I guess I'm not totally out of the dark yet. I didn't notice it
> but
> > > when
> > > > using the patch the legend images for the layers I've added the
> > SYMBOL
> > > > 'aliased' to don't show up now. Any tip? I'm assuming that this
> > patch
> > > is
> > > > looking specifically for the "SYMBOL 'aliased'" so I can't
simply
> > add
> > > > more symbols that have the correct color. I think this might be
> the
> > > > problem because it's trying to use that symbol to make the
legend
> > > image.
> > > >
> > > > ----
> > > > Timothy J Nolte - tnolte at ilpcs.com
> > > > 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:thomas.bonfort at gmail.com]
> > > > > Sent: Tuesday, September 18, 2007 1:46 PM
> > > > > To: Nolte, Tim
> > > > > Cc: MAPSERVER-USERS at lists.umn.edu
> > > > > Subject: Re: [UMN_MAPSERVER-USERS] MapServer 5.0.0 released!
> > > > >
> > > > > On 9/18/07, Nolte, Tim <Tim.Nolte at ipcswirelessinc.com> 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
> > > >
> > >
> > >
> >
> >
>
>



More information about the mapserver-users mailing list