[mapserver-users] how to use attribute name in template with "_"

Donald Kerr donald.kerr at dkerr.co.uk
Wed Aug 1 00:08:00 PDT 2012


Try this line in the LAYER METADATA:

LAYER
	METADATA
		"gml_featureid" "ogc_fid"
	END
END

Regards,

Donald


    METADATA
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of
alexkartatemp-1 at yahoo.com
Sent: 31 July 2012 23:42
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] how to use attribute name in template with "_"


Hello,
I use mapserver 6.0.3


I created template for getting info from (OpenLayers WMSGetFeatureInfo
method) spatilite file.
I can't get access to the field "ogc_fid" from template. I think it is
because of symbol "_" in field name.


What I can do to get [ogc_fid] value from template?


Thank you



More information about the mapserver-users mailing list