Re: [MapServer-users] How to add templates(html) to be use with getFeatureInfo for raster data

2023-03-24 Thread Trygve Aspenes via MapServer-users
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

Re: [MapServer-users] How to add templates(html) to be use with getFeatureInfo for raster data

2023-03-24 Thread Kobben, Barend (UT-ITC) via MapServer-users
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

[MapServer-users] How to add templates(html) to be use with getFeatureInfo for raster data

2023-03-24 Thread Trygve Aspenes via MapServer-users
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" "

Re: [MapServer-users] MSSQL plugin path outside of the global CONFIG file

2023-03-24 Thread Steve Lime
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,

Re: [MapServer-users] MS_MAP_PATTERN cannot accept network share

2023-03-24 Thread Steve Lime
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