I want my mapfile to support the GetFeatureInfo-request for some layers.
I added the following line to the layer:
TEMPLATE "change-template.txt"
And the fileitself looks like follows (only for testing-purposes until now):
# MapServer Template
[version]
test123
If I make my GetFeatureInfo-request, I get the following output:
GetFeatureInfo results:
Layer 'Change-North'
Feature 3150:
So it hits a feature (if I change the coordinates I get different Feature-numbers), but I cannot get any stuff from my template. The mapserver respects my TEMPLATE-line, because if I comment it out, the GetFeatureInfo-request doesn't work any longer: 'Requested layer(s) are not queryable.'
What is wrong here?