Re: [mapserver-users] Multi template

2017-04-18 Thread pe_lord
Here the kind of html template i would like to both call in html and json I know that i would need to simplify the data in json but it's simply an example: GetInfo HTML with joins

Re: [mapserver-users] Multi template

2017-04-18 Thread pe_lord
But more specificly, two template on the same layer managing [join], one in html, the other in json or whatever... I do not understant how to configure it or which call to make to retrieve the right template... INFO_FORMAT=text/html VS Queryformat = application/json -- View this message in

Re: [mapserver-users] Multi template

2017-04-18 Thread Lime, Steve D (MNIT)
You can certainly have multiple templates associated with the same mapfile by using the template output format. See http://mapserver.org/development/rfc/ms-rfc-36.html... Then you can change templates via WMS or via the queryformat CGI parameter. --Steve From: mapserver-users [mailto:mapserver-

Re: [mapserver-users] geotiff 48bit with mapserver 7 wms

2017-04-18 Thread David
So, i did some testing. The wms is not serving the images with float32 as data type. It shows the same issue, false colors. The wcs is working and serving the float32 data type data. For my use-case setting the MAXSIZE higher than the tile dimension was important. Well QGIS does show just a

Re: [mapserver-users] geotiff 48bit with mapserver 7 wms

2017-04-18 Thread David
Hi Cora, do you use PROCESSING "SCALE=AUTO" with you LAYER definition? SCALE[_n]=AUTO or min,max This directive instructs the GDAL reader to pre-scale the incoming raster data. It is primarily used to scale 16bit or floating point data to the range 0-255, but can also be used to constrast stre

Re: [mapserver-users] geotiff 48bit with mapserver 7 wms

2017-04-18 Thread Berger, Cora
Dear David, Steve, Ben, etc. I am working with MapServer-WCS. I still have problems defining the correct output formats. Input to most of our WCS are 8bit Geotiffs. The MapServer WCS-output is either tiff, png or jpeg with 24bit or Png;mode=8bit with 8 bit (if no output format is defined). The p

Re: [mapserver-users] geotiff 48bit with mapserver 7 wms

2017-04-18 Thread David
Hi Ben, Thank you for your input. I did set up a WCS yesterday and found the same issues. I will change the data type to FLOAT32 and give it a try. Cheers David -- Original Message -- From: "Schepers, Benjamin" To: "mapserver-users@lists.osgeo.org" Sent: 4/18/2017 9:12:46 AM Subject:

[mapserver-users] Multi template

2017-04-18 Thread pe_lord
I would like to know if Mapserver is able to maintain 2 template (or more) as the same time.I want to maintain a HTML and a JSON template at the same time, depending my call's parameters on my WMS getfeatureinfo. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Multi-templat

Re: [mapserver-users] geotiff 48bit with mapserver 7 wms

2017-04-18 Thread Schepers, Benjamin
Hi, maybe it would the better way to use the WCS-Interface? To be honest, I didn't use it that way by myself. But it sounds like that would be an proper scenario for WCS (doing some "more" with that data besides the classic "viewing"). To configure WCS shouldn't be that hard, I think: http://ma