Re: [mapserver-users] WMS GetfeatureInfo (GetMap Formats)

2010-04-02 Thread Daniel Morissette

SAEZ Laurent - CETE Méditerr./DI/ETER wrote:


Do you have a solution to manage the advertiz of formats in the WMS / 
GetCapabilities GetMap for?

I tried Wms_getmap_formatlist , but it changes nothing.



The new "wms_getmap_formatlist" metadata is the only solution I can 
think of, but it will be available only in 6.0 in a few months:

  https://trac.osgeo.org/mapserver/ticket/3172

In the meantime, if you can build MapServer from source, then you could 
apply the patch corresponding to revision r9635 to your 5.6.x source and 
rebuild:

  https://trac.osgeo.org/mapserver/changeset/9635?format=diff&new=9635

I didn't test to confirm that the r9635 patch will apply smoothly on 
5.6, but since it was done at the very beginning of development after 
the 5.6 release, I am confident that the trunk source had not changed 
much at that point and the patch should work.


Daniel
--
Daniel Morissette
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] WMS GetfeatureInfo (GetMap Formats)

2010-04-02 Thread SAEZ Laurent - CETE Méditerr./DI/ETER

Hi,

I have some problems with WMS / GetCapabilities responses .
The format proposed in section GetMap are not really those that can 
provide MapServer.
According to the documentation 
(http://mapserver.org/ogc/wms_client.html): "...  Also note that WMS 
Servers only advertize supported formats that are part of the GD/GDAL 
libraries.". And unfortunately this is true!
If I add one OUTPUTFORMAT  that uses the driver AGG to generate (for 
example "image / png") that format is no longer presented in the WMS / 
GetCapabilities.


Some software, such as MapInfo ®, interrogates, and it is normal, the 
server in a format advertized in the GetCapabilities. So I'm stuck and I 
can't use my WMS layers in MapInfo ® because the styles I use in my 
mapfiles require the AGG driver.


Do you have a solution to manage the advertiz of formats in the WMS / 
GetCapabilities GetMap for?

I tried Wms_getmap_formatlist , but it changes nothing.

Regards

Laurent
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] WMS SLD GetMap request

2010-04-02 Thread Arnaud De Groof
Hi,



I will apply a SLD for a WMS.

Is it possible to apply a SLD with a GetMap request without use the SLD 
parameters (&SLD=foo) in this request?

I tested to add in the mapfile the following parameters to the METADATA section 
of the LAYER without success:

  "wms_style" "default"

  "wms_style_default_sld" "foo"

  "wms_sld_url" "foo"



Thanks



Arnaud



___
E-MAIL DISCLAIMER

The present message may contain confidential and/or legally privileged 
information.
If you are not the intended addressee and in case of a transmission error,
please notify the sender immediately and destroy this E-mail.
Disclosure, reproduction or distribution of this document and its possible
attachments is strictly forbidden.

SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted,
(partly) destroyed, lost and/or belated transmission of the current information
given that unencrypted electronic transmission cannot currently be guaranteed
to be secure or error free. Upon request or in conformity with formal, 
contractual
agreements, an originally signed hard copy will be sent to you to confirm
the information contained in this E-mail.

SPACEBEL denies all liability where E-mail is used for private use.

SPACEBEL cannot be held responsible for possible viruses that might corrupt this
message and/or your computer system.




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users