Re: [mapserver-users] How to deal with (visible) CONNECTION information in .MAP file for WMS purposes

2014-01-07 Thread Stefan Schwarzer
Thanks for all the valuable help! If I place the .MAP file somewhere where only the system can read it, the request looks a bit awkward: ….map=/home/include/mapfiles/my_map.map…. Would there a possibility to juste use …map=my_map… and have the path then get added/understood by some internal

Re: [mapserver-users] How to deal with (visible) CONNECTION information in .MAP file for WMS purposes

2014-01-07 Thread Siki Zoltan
Dear Stefan, you can create one wrapper script for each maps file or you can ask only the name (without path) of the map file and your wrapper adds the path to the name. Regards, Zoltan On Tue, 7 Jan 2014, Stefan Schwarzer wrote: Thanks for all the valuable help! If I place the .MAP file

Re: [mapserver-users] How to deal with (visible) CONNECTION information in .MAP file for WMS purposes

2014-01-07 Thread Daniel Morissette
On 14-01-07 5:47 AM, Stefan Schwarzer wrote: Thanks for all the valuable help! If I place the .MAP file somewhere where only the system can read it, the request looks a bit awkward: ….map=/home/include/mapfiles/my_map.map…. Would there a possibility to juste use …map=my_map… and have the path

Re: [mapserver-users] How to deal with (visible) CONNECTION information in .MAP file for WMS purposes

2014-01-07 Thread Steve . Toutant
To use this url http://my_url.org/my_script I would create a file my_script in cgi-bin per example See here http://mapserver.org/fr/cgi/wrapper.html I use a mix of above and this http://mapserver.org/fr/ogc/mapscript.html Steve Stefan Schwarzer stefan.schwar...@unep.org@lists.osgeo.org

[mapserver-users] MapServer legend image as straight line not as a rolling line with MapServer 6.x

2014-01-07 Thread Astrid Emde
Hello, with MapServer 5.x it was possible to set the KEYSIZE 40 1 to get straight lines as legend images. Now with MapServer 6.x the line is rolling although KEYSIZE is set to KEYSIZE 40 1. Is it a feature? Or is there a way to get a straight line as legendimage. Thanks for your help. --

Re: [mapserver-users] MapServer legend image as straight line not as a rolling line with MapServer 6.x

2014-01-07 Thread thomas bonfort
Astrid, What do you mean by the line is rolling , do you have example outputs? -- thomas On 07 Jan 2014, at 14:50, Astrid Emde astrid.e...@wheregroup.com wrote: Hello, with MapServer 5.x it was possible to set the KEYSIZE 40 1 to get straight lines as legend images. Now with

Re: [mapserver-users] MapServer legend image as straight line not as a rolling line with MapServer 6.x

2014-01-07 Thread Astrid Emde
Hello Thomas, I thought rolling line is the right translation. For better demonstration I uploaded two legend images Straight line with MB 5.x http://picpaste.com/pics/MS_5_legend_straight_line_keysize_30_1-xpoVeAbb.1389103182.png rolling Line

Re: [mapserver-users] How to deal with (visible) CONNECTION information in .MAP file for WMS purposes

2014-01-07 Thread thomas bonfort
Would there a possibility to juste use …map=my_map… and have the path then get added/understood by some internal configuration (mod_rewrite perhaps?)? Using that with an environment variable as others have pointed out, or other rewrite techniques from

Re: [mapserver-users] MapServer legend image as straight line not as a rolling line with MapServer 6.x

2014-01-07 Thread thomas bonfort
You /should/ be able to get a straight line if you set your legend keysize height to the same value as your line width. Of course if you have different line widths/sizes across your different classes then that won't work for all of them. For reference, this is why we're doing this:

Re: [mapserver-users] MapServer legend image as straight line not as a rolling line with MapServer 6.x

2014-01-07 Thread Astrid Emde
Hello thomas, thanks for the info. I tested it. It works fine. But true, I have different sizes accross my mapfile. Astrid Am 07.01.2014 15:36, schrieb thomas bonfort: You /should/ be able to get a straight line if you set your legend keysize height to the same value as your line width. Of

[mapserver-users] Fwd: [UMN_MAPSERVER-USERS] fill opacity in SLD

2014-01-07 Thread Bruce Raup
Hello all, I have set up an SLD for a raster WMS as a test. I want our WMS user to be able to supply their own SLD, with the aim of presenting a raster with categorical values in various colors according to pixel value, with some of them, which represent flag values, transparent. Based on my

[mapserver-users] hide mapserv? messages

2014-01-07 Thread John Smith
guys, you know how you get a message when you go to ../cgi-bin/mapserv? etc: No query information to decode.. etc. well, what do you do with such messages on your prod w*s servers? do you hide them? if so, how? they are getting flagged as xss etc errors and i need a way to handle them