[mapserver-users] getSymbol(): Symbol definition error. (90): (29)
craig.gould at bt.com
craig.gould at bt.com
Wed May 29 01:56:19 PDT 2002
Anders,
As far as I understand the template should be outside the class object (but
then I am new to all this).
For example:
LAYER
NAME "Postcodes"
TYPE POINT
CONNECTIONTYPE OGR
CONNECTION "..\..\MapServerData\CodePoint\CodePoint.TAB"
DATA "..\..\MapServerData\CodePoint\CodePoint.TAB"
STATUS ON
FILTERITEM "Postcode"
CLASSITEM "Postcode"
CLASS
END
TEMPLATE "Templates\Postcodes.html"
HEADER "Templates\Postcodes_header.html"
FOOTER "Templates\SearchResult_footer.html"
END
Craig.
> -----Original Message-----
> From: Anders Knudstrup Hansen LE34 [SMTP:akh at le34.dk]
> Sent: Wednesday, May 29, 2002 7:24 AM
> To: mapserver-users
> Subject: [mapserver-users] getSymbol(): Symbol definition error.
> (90):(29)
>
> When I try to query a layer with a road-line (TAB file) I get this
> error....
>
> getSymbol(): Symbol definition error. (90):(29)
>
> http://localhost/cgi-bin/mapserv?
> mode=itemnquery
> qlayer=Oeresundsbane
> map_Oeresundsbane_filter=90
> map_Oeresundsbane_filteritem=Stationering
> imgext=-79548.210235+126782.144206+-62419.006267+143954.156750
> map=d%3A%2Fmsworkbench%2Fweb%2Fore1%2Foresund.map
> savequery=true
>
> These are the variables I pass to mapserver
>
> My layer Oeresundsbane look like this:
>
> layer
> NAME "Oeresundsbane"
> TYPE Point
> STATUS default
> STYLEITEM "auto"
> labelitem "Stationering"
> connectiontype ogr
> connection "data/stat/Stationering_oeresundsbane.TAB"
> class
> template "stat.html"
> end
> header "stat_header.html"
> footer "stat_header.html"
> end
>
> I'm trying to query the layer by setting filter and filteritem and qlayer
> in my script. Am I missing anything??? If I just browse the map without
> querying everything works fine.
>
>
>
> Thanks
> Anders Knydstrup Hansen
More information about the MapServer-users
mailing list