Re: [mapserver-users] getting corrupted png with WMS request to mapserv CGI on command line

2015-05-27 Thread Renzo Kottmann
nope. I tried IMAGEPATH /tmp/ and IMAGEPATH /tmp both still result in corrupt pngs. thx,renzo On Wed, 27 May 2015 12:12:02 +0200, thomas bonfort thomas.bonf...@gmail.com wrote: IMAGEPATH /tmp/ should be changed to IMAGEPATH /tmp/ -- thomas On 27 May 2015 at 11:47, Renzo Kottmann

[mapserver-users] getting corrupted png with WMS request to mapserv CGI on command line

2015-05-27 Thread Renzo Kottmann
Hi All, I have installed mapserver 6.4.1 in a docker container based on debian jessie (see dockerfile below) If I run: /usr/lib/cgi-bin/mapserv -nh

Re: [mapserver-users] getting corrupted png with WMS request to mapserv CGI on command line

2015-05-27 Thread thomas bonfort
IMAGEPATH /tmp/ should be changed to IMAGEPATH /tmp/ -- thomas On 27 May 2015 at 11:47, Renzo Kottmann rkott...@mpi-bremen.de wrote: Hi All, I have installed mapserver 6.4.1 in a docker container based on debian jessie (see dockerfile below) If I run: /usr/lib/cgi-bin/mapserv -nh

[mapserver-users] RE Setting up many vitual hosts

2015-05-27 Thread Steve . Toutant
Jacques it is possible to create many virtual host on apache, but what do you mean by add my data in a new virtual host. The virtual hosts can use the same mapserverUnless you want to have several instance of mapserver...? Mérette,Jacques (Consultant) jacques.merett...@mtq.gouv.qc.ca

Re: [mapserver-users] getting corrupted png with WMS request to mapserv CGI on command line

2015-05-27 Thread Fabian Schindler
Renzo, As far as I remember you have to remove the HTTP headers from the response (the first 2-4 lines or so) when you use mapserv -nh with OGC services. Regards, Fabian On 27.05.15 13:02, Renzo Kottmann wrote: nope. I tried IMAGEPATH /tmp/ and IMAGEPATH /tmp both still result in corrupt pngs.

Re: [mapserver-users] getting corrupted png with WMS request to mapserv CGI on command line

2015-05-27 Thread Lime, Steve D (MNIT)
What do you see if you view the corrupt PNG file in a text editor? -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Renzo Kottmann Sent: Wednesday, May 27, 2015 4:47 AM To: mapserver-users@lists.osgeo.org

Re: [mapserver-users] RE Setting up many vitual hosts

2015-05-27 Thread Steve . Toutant
easy yes... I suggest you read this, so you can choose your preferred method to do what you want http://mapserver.org/ogc/wms_server.html#changing-the-online-resource-url we use this method http://mapserver.org/ogc/wms_server.html#wrapper-script-unix But I just read that it is not

Re: [mapserver-users] RE Setting up many vitual hosts

2015-05-27 Thread Consultant
Bonjour Steve, Excellent…. I want to have only one instance of mapserver bit many virtual hosts on Apache. Each virtual host will have its own “mapfile” (that is what I mean by “add my data in a new virtual host”). Following my understanding, it should be quite easy…. MErci! J. From:

Re: [mapserver-users] ScribeUI on Google Summer of Code 2015

2015-05-27 Thread Samuel Lapointe
Hello everyone, Small update: the blog's URL is now http://blog.scribeui.org/ I will work on getting the guides and links on http://scribeui.org today. Have a good day! On 26 May 2015 at 19:20, Samuel Lapointe samuellapoi...@gmail.com wrote: Hello Steve. If there are any issues that arise,

Re: [mapserver-users] stretching imagery in MapServer

2015-05-27 Thread Andy Colson
Hi Mark. Two questions for you: 1) I know it might be a bunch of extra work, but I don't suppose you could post some before and after shots (or urls or whatever). I really have no idea what sort of change your talking about. 2) Holy freaking cow you have fast imagery. I don't suppose you

[mapserver-users] Named WMS styles - CLASSGROUP and GROUP

2015-05-27 Thread lars . schylberg
Hi, I have tried to understand how to create named styles in a WMS configuration, for some time. I would like to have one style that is color and one style for grey scale. The manual says the You can do that: http://mapserver.org/ogc/sld.html#named-styles-support   With the basic set up I get

Re: [mapserver-users] RE Setting up many vitual hosts

2015-05-27 Thread Steve . Toutant
And if you need to do some stuff before making the request, a wrapper might a good solution http://mapserver.org/ogc/mapscript.html#php-example it could be plain php also instead of mapscript. And you can send the ows parameters as POST Really there are several ways to do what you want

Re: [mapserver-users] stretching imagery in MapServer

2015-05-27 Thread Rahkonen Jukka (MML)
Hi Mark, That's how LUT works. In Mapserver 7.0 final it should be possible to set LUT and other PROCESSING options easily from the client side by using variable substitution which may be an interesting thing to test with some image interpretation tasks. It can be difficult to find details

Re: [mapserver-users] getting corrupted png with WMS request to mapserv CGI on command line

2015-05-27 Thread Renzo Kottmann
Hi Fabian, yes, that's what I do (see below) and I re-checked again. Still the same problem. thx,renzo On Wed, 27 May 2015 15:36:32 +0200, Fabian Schindler fabian.schind...@eox.at wrote: Renzo, As far as I remember you have to remove the HTTP headers from the response (the first 2-4 lines or

Re: [mapserver-users] RE Setting up many vitual hosts

2015-05-27 Thread Rahkonen Jukka (MML)
Hi, Here comes yet another version of Apache rewrite rule spiced with a per-service list of authorized users - if WMS request goes to cgi-bin/my_wms1, use mapfile home/maps/my_wms1.map - allow the use of cgi-bin/my_wms1 only for users user1_wms1 and user2_wms1

Re: [mapserver-users] stretching imagery in MapServer

2015-05-27 Thread Mark Volz
Andy, The 2015 leaf off air photos were flown while it was still cold here, which is good because it is easy to identify buildings, but bad because the image is brown. I had experimented with a couple changes using LUT. However the Highway Department mentioned that they still prefer the