[mapserver-users] line layer does not appear

Toni Hernández toni at giscampus.udg.es
Thu Oct 3 08:06:57 PDT 2002


hi,

the streets layer doesn't appear even when the query option (in the html
form) es disabled.
That's why I am confused.


----- Original Message -----
From: "Puneet Kishor" <pkishor at geoanalytics.com>
To: "Toni Hernández" <toni at giscampus.udg.es>
Cc: "Mapserver" <mapserver-users at lists.gis.umn.edu>
Sent: Thursday, October 03, 2002 3:06 PM
Subject: Re: [mapserver-users] line layer does not appear


>
> On Thursday, October 3, 2002, at 01:28  AM, Toni Hernández wrote:
>
> > Hi,
> >
> > Thanks for the reply.
> > Is that mean that I can not show a layer and allow the user to make a
> > query
> > filter (in some other window) at the same time?
>
>
> no, not at all... its just that it seems your current filter is not
> matching anything. If you ask the program to match against some item,
> and nothing matches, then nothing will show.
>
> make sure you've got the item name, values, etc., right.
>
> pk/
>
>
> ps. please reply to the entire list, so others may also be able to
> help/benefit. thanks.
>
>
> >
> > ----- Original Message -----
> > From: "Puneet Kishor" <pkishor at geoanalytics.com>
> > To: "'Toni Hernández'" <toni at giscampus.udg.es>;
> > <mapserver-users at lists.gis.umn.edu>
> > Sent: Wednesday, October 02, 2002 7:48 PM
> > Subject: RE: [mapserver-users] line layer does not appear
> >
> >
> >>
> >>
> >>> -----Original Message-----
> >>> From: Toni Hernández [mailto:toni at giscampus.udg.es]
> >>> Sent: Wednesday, October 02, 2002 12:00 PM
> >>> To: mapserver-users at lists.gis.umn.edu
> >>> Subject: [mapserver-users] line layer does not appear
> >>>
> >>>
> >>> hi everybody,
> >>>
> >>> I have a problem with a line layer.
> >>> This is my .map file for the layer called carrers.
> >>> The thing is that if I put # in front of FILTERITEM and
> >>> FILTER the layer
> >>> appears.
> >>
> >>
> >>
> >> are you trying to say that ordinarily (that is, if you *don't* have a
> >> # in
> >> front of FILTERITEM and FILTER), the line layer "carrers" does not
> >> show?
> >>
> >>
> >> When you don't have the # in front of the FILTER* keywords, there is
> >> filtering going on. On those features from "carrers" will show up
> >> where
> > the
> >> item "nom" matches whatever the value of %name% happens to be. Perhaps
> > there
> >> is no match, hence nothing shows up. When you comment the filters out
> >> (by
> >> putting # in front of them), the layer shows up because it is not
> >> being
> > put
> >> through the filter.
> >>
> >> Does this help?
> >>
> >> pk/
> >>
> >>
> >>
> >>
> >>> Anyone know why???
> >>>
> >>>
> >>>  LAYER
> >>>    NAME carrers
> >>>    TYPE LINE
> >>>    DATA carrers
> >>>    STATUS on
> >>>    FILTERITEM "Nom"
> >>>    FILTER "%name%"
> >>>    CLASS
> >>>      NAME "l_carrers"
> >>>      COLOR 0 255 0
> >>>      TEMPLATE "carrers.html"
> >>>    END
> >>>    LABELITEM Nom
> >>>    HEADER "cap_carrers.html"
> >>>    FOOTER "peu_carrers.html"
> >>>  END
> >>>
> >>>
> >>> Thanks a lot
> >>>




More information about the MapServer-users mailing list