MapServer GetFeatureInfo
Bart van den Eijnden
bartvde at XS4ALL.NL
Tue Oct 18 23:29:53 PDT 2005
Use the following in your LAYER definition:
TEMPLATE "blank.html"
DUMP TRUE (which you most likely already have)
blank.html does not have to exist btw, it's just a dummy value.
TEMPLATE will make sure your layers get queryable="1".
Btw also use:
METADATA
..
gml_include_items "all"
..
END
to get attributes exported (needed for Mapserver 4.6 and above).
Best regards,
Bart
> Hi Bruce,
> sorry to rebound on your topic, but how do you enable your WMS Layers to
> be queried with GetFeatureInfo ?
> I'm using POSTGIS as a data source for my vector points, and my layers are
> automatically marked with the attribue : queryable="0"
> (using Mapserver 4.6.1 on Linux)
>
> thanks,
> Frederic Claudel
>
>
>
> --
> This message is subject to the CSIR's copyright, terms and conditions and
> e-mail legal notice. Views expressed herein do not necessarily represent
> the
> views of the CSIR.
>
> CSIR E-mail Legal Notice
> http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html
>
> CSIR Copyright, Terms and Conditions
> http://mail.csir.co.za/CSIR_Copyright.html
>
> For electronic copies of the CSIR Copyright, Terms and Conditions and the
> CSIR
> Legal Notice send a blank message with REQUEST LEGAL in the subject line
> to
> HelpDesk at csir.co.za.
>
>
> This message has been scanned for viruses and dangerous content by
> MailScanner,
> and is believed to be clean. MailScanner thanks Transtec Computers for
> their support.
>
>
More information about the MapServer-users
mailing list