I've added the TEMPLATE tag to my shp layers and all works finally well with
query.
Thanks a lot Armin.
Bye, Francesca.
--- Mar 14/7/09, Armin Burger ha scritto:
Da: Armin Burger
Oggetto: Re: [pmapper-users] query works only on point shape files
A: "francesca bader"
Cc
Check your mapscript and add "TEMPLATE void". For example:
LAYER
NAME "County"
TYPE polygon
DATA "County"
CLASS
Name 'County'
STYLE
COLOR 255 255 255
END
STYLE
SIZE 4
SYMBOL 'circle'
OUTLINECOLOR 0 0 0
Francesca
you probably have no TEMPLATE tag (the value doesn't matter) defined
for the layer. Just add a line
TEMPLATE "pippo"
and it should work. It should be also mentioned on the p.mapper docs,
it might be placed more visible. This is an isue existing since ever
with Mapserver, coming from th