transparency lost when layer is queried

Ryan, Adam ARyan at CO.LINN.OR.US
Tue Dec 7 11:40:41 EST 2004


> -----Original Message-----
> From: Daniel Morissette [mailto:dmorissette at dmsolutions.ca]
> Sent: Monday, December 06, 2004 3:57 PM
> To: Ryan, Adam
> Cc: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] transparency lost when
> layer is queried
>
>
> Ryan, Adam wrote:
> > Dear List,
> > Has anyone experienced the loss of layer transparency when
> querying?
> > I have the following querymap and layer:
>
> You mean that you lose transparency in the QUERYMAP, right?
> The querymap
> rendering has a bunch of issues, including the lack of support for
> transparency. Hopefully this will be addressed in 4.4/4.6:
> http://mapserver.gis.umn.edu/bugs/show_bug.cgi> ?id=774
>
> In the
> meantime you're out of luck, the simple fix
> would be to avoid the
> combination of querymap + transparency. It should also be possible to
> use a temporary layer or custom classes in mapscript to emulate the
> querymap effect with a normal map->draw() call.
>
> --
> ------------------------------------------------------------
>   Daniel Morissette               dmorissette at dmsolutions.ca
>   DM Solutions Group              http://www.dmsolutions.ca/
> ------------------------------------------------------------
>

Thanks for the reply Daniel.  I can use other techniques in the meantime.

I'm not sure I understand the fix you recommend.  If I have a result set,
say 30 records out of 48000.  How would I display only those without the
query mechanism?  I can't use a filter because the set may be the result of
a spatial query.  I can't generate shapefiles because I routinely save and
load query files, allowing me to refine my selection sets and this wouldn't
be possible if I created entirely new shapefiles.

Thanks for your time.  Cheers,

Adam



More information about the mapserver-users mailing list