[mapserver-users] Persistent Selection
Ryan, Adam
ARyan at co.linn.or.us
Wed May 29 13:43:43 PDT 2002
Hi,
I have the following in my map file:
QUERYMAP
STATUS ON
STYLE HILITE
COLOR 255 0 0
END
I used style = hilite because I want to show all lots (polygons) normally
but the selected lot(s) in some different color. But the selected lots are
always filled and I want to see the image behind them so I'd like to make
the selected lots outlined, not filled.
Should I add an additional layer when I query and set the querymap style =
selected?
I'm sorry to beat this to a dead horse but I'm rather confused.
Thanks for any help,
Adam
-----Original Message-----
From: Puneet Kishor [mailto:pkishor at GeoAnalytics.com]
Sent: Wednesday, May 29, 2002 10:55 AM
To: 'Ryan, Adam'
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [mapserver-users] Persistent Selection
Hi Adam,
I am not sure why you having a problem. Just turn the FILLED off or use a
COLOR -1 -1 -1 (I think... look at the mapfile reference)... make the
OUTLINECOLOR somethingbright, increase the line thickness, etc.
> -----Original Message-----
> From: Ryan, Adam [mailto:ARyan at co.linn.or.us]
> Sent: Wednesday, May 29, 2002 12:18 PM
> To: Stephen Woodbridge
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: RE: [mapserver-users] Persistent Selection
>
>
>
> Thanks, I got it.
>
> I'm still unable to make a selection outlined rather than filled.
>
> Any hints?
>
> Adam
>
> -----Original Message-----
> From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com]
> Sent: Tuesday, May 28, 2002 6:01 PM
> To: Ryan, Adam
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: Re: [mapserver-users] Persistent Selection
>
>
> You need to look at the CGI Reference. There are two cgi variables:
> savequery and queryfile that let you do this. Sorry, I can be more
> specific, I use mapscript :)
>
> -Steve
>
> "Ryan, Adam" wrote:
> >
> > I understand that. But how do you then tell map server to
> simultaneously
> > pan (mode = "browse") and also keep querying (mode =
> "query") for the
> > [feature_value]?
> >
> > AR
> >
> > -----Original Message-----
> > From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com]
> > Sent: Tuesday, May 28, 2002 5:24 PM
> > To: Ryan, Adam
> > Cc: mapserver-users at lists.gis.umn.edu
> > Subject: Re: [mapserver-users] Persistent Selection
> >
> > The basic theory is to add the selected item to a hidden
> form field to
> > your template, like:
> >
> > <input type="hidden" name="feature_name" value="[feature_value]">
> >
> > in your template. Where feature_name and [feature_value] are the
> > appropriate mapserver/template names.
> >
> > -Steve
> >
> > "Ryan, Adam" wrote:
> > >
> > >
> > > Help me list...you're my only hope.
> > >
> > > I remember reading somewhere and seeing an example of a mapserver
> > interface
> > > that allowed the selected feature to persist as the user
> panned and
> > zoomed.
> > > And, the selection was outlined and not filled.
> > >
> > > How can I do either of these things (without using mapscript)?
> > >
> > > Thanks for any help on this,
> > >
> > > Adam Ryan
> > > Linn County GIS
> > >
> > > PS Kudos to y'all. I couldn't do squat were it not for
> this list.
>
More information about the MapServer-users
mailing list