[mapserver-users] line layer does not appear
Puneet Kishor
pkishor at GeoAnalytics.com
Wed Oct 2 10:48:38 PDT 2002
> -----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