Setting up a Queriable layer?

James Net james_marsnett at HOTMAIL.COM
Mon Jan 30 14:49:34 PST 2006


Hi all,

How do I setup a queriable layer in my map file?

Here's what I've got, please tell me what I have missed / overlooked:

   LAYER
      NAME        "my_point"
      DATA        "/home/data/my_point_GDA94.shp"
      TYPE        POINT
      STATUS      ON
      TRANSPARENCY ALPHA
      LABELITEM   "NAME"
      MAXSCALE    1000000.0
      MINSCALE    1.0
      SYMBOLSCALE 10000.0
      TOLERANCE   5
      DUMP        TRUE # Allow GML export.
      CLASS
         LABEL
            ANTIALIAS   true
            FONT        "sans"
            COLOR       255 255 255
            POSITION    lr
         END
         STYLE
            COLOR          255 0 0
            SYMBOL        'circle'
            SIZE        1
         END
      END
      METADATA
         wms_title            "my_point"
         wms_srs              "EPSG:4326"
         wms_abstract         "my points"
         "gml_include_items"  "all"
      END
   END

I only need the GML response. I'm not using mapserver as the client!

Cheers,

James

_________________________________________________________________
Buy now @ Tradingpost.com.au 
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fad%2Eau%2Edoubleclick%2Enet%2Fclk%3B24875379%3B12369854%3Ba%3Fhttp%3A%2F%2Fwww%2Etradingpost%2Ecom%2Eau%3Freferrer%3DnmsnHMetagv1&_t=752643439&_r=hotmailtagline&_m=EXT



More information about the MapServer-users mailing list