[mapserver-users] Simple QUERY problem (fwd)

Wolfgang W. Wasserburger wasserburger at plan.at
Tue Aug 28 07:14:17 EDT 2001


Teb,

the Header and Footer ahs to be transfered to the Web-Section of teh mapfile
and it will work.

Greetings from sunny Vienna, Austria

Wolfgang W. Wasserburger
WWW: http://www.plan.at/ - http://www.punktgenau.at/ -
http://www.plan.at/home/mitarbeiter/wwa/
  -----Original Message-----
  From: owner-mapserver-users at lists.gis.umn.edu
[mailto:owner-mapserver-users at lists.gis.umn.edu]On Behalf Of teb
  Sent: Wednesday, August 22, 2001 5:36 PM
  To: mapserver-users at lists.gis.umn.edu
  Cc: robbrown99 at hotmail.com
  Subject: [mapserver-users] Simple QUERY problem (fwd)


  Hello all,

  I am trying to get a simple query to work using v3.5 and the Mapplet. I
have used the QUERY command in the map file and have created a template,
header and footer. However, when I initialise the map from the form I get
the following message:
  loadLayer(): Unknown identifier. (QUERY):(451)


  I commented out the query commands in the map file and the map then
worked, but of course no query capability!

  Does anyone know where I might have gone wrong? Part of my map file looks
like this:


  LAYER
      NAME "PROW_Nodes"
      TYPE POINT
      DATA PROW_Link_point
      LABELITEM "REF_NO"
      STATUS OFF
      CLASS
        COLOR 255 51 0
        NAME "Public Right of Way Nodes (Queryable)"
        SYMBOL "signpost"
        LABEL
          SIZE SMALL
          COLOR 0 0 0
          BACKGROUNDCOLOR -1 -1 -1
          OUTLINECOLOR 255 255 255
          POSITION AUTO
          TYPE BITMAP
          BUFFER 2
        END
    ! ! ! ;  END
      HEADER "PROW_Node_header.html"
      FOOTER "PROW_Node_footer.html"
      QUERY
        TEMPLATE "PROW_Node_template.html"
      END
  END

  I would be grateful for any suggestions. Thanks for your time.

  Regards,

  Rob


----------------------------------------------------------------------------
--
  Get your FREE download of MSN Explorer at http://explorer.msn.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20010828/4101464b/attachment.html


More information about the mapserver-users mailing list