Thanks
I have already tried all kind of options with template and filenames.
What I was missing was the query option "info_format=text/html" doing
eg. curl.
So my setup was working all the time, but my test curl was wrong.
Trygve
Den 2023-03-24 18:09, skrev Kobben, Barend (UT-ITC):
The line
The line
TEMPLATE "empty"
Should be
TEMPLATE ""
--
Barend Köbben
On 24/03/2023, 17:48, "MapServer-users"
wrote:
Hi Users list!
I'm trying to get getFeatureRequest to reply with a html template with
pixel values from a geotiff raster image.
I have my layer like this:
LAYER
NAME "Ov
Hi Users list!
I'm trying to get getFeatureRequest to reply with a html template with
pixel values from a geotiff raster image.
I have my layer like this:
LAYER
NAME "Overview"
STATUS ON
TYPE raster
TEMPLATE "empty"
DATA
METADATA
"wms_title" "Overview"
"
One point of clarification. If a config file is referenced then when the
mapfile is read then the value for PLUGIN is always interpreted as a key to
the list of plugins. That is always the case for CGI/FastCGI where a config
file is required. In the case of MapScript (or shp2map) loading a mapfile,
Hi Benedek: You'll need to fiddle with MS_MAP_BAD_PATTERN. Looking at the
sample configuration file it's value is:
MS_MAP_BAD_PATTERN "[/\\]{2}|[/\\]?\\.+[/\\]|,"
If a mapfile path matches any of those, it's rejected. By default it's
blocking anything with \\, //, back references or commas anyw