Hi! Thanks! The patch works great, just the way I expected. I guess that the same logic has to be implemented on GetLegendGraphics as well.
Regards, Pål Kristensen Yewondwossen Assefa wrote: > > ticket is updated with a possible patch. > > best regarads > >> Yewondwossen Assefa wrote: >>> Hi, >>> >>> There was a ticket opened for that years ago with a path to implement >>> it, but was never addressed: >>> (http://trac.osgeo.org/mapserver/ticket/455) >>> It seems to be less controversial in functionality than the recent >>> "Hiding/Enabling/Ignoring Layers in OGC Web Services" thread, but >>> introduces another new metadata and that by it self may be >>> controversial. I am willing to provide a patch for now following what >>> is discussed in the bug and depending on how the OGC metadata >>> organization evolves in the coming months, we would adapt that patch. >>> Please add yourself in cc to this bug. >>> >>> Best Regards >>> >>> >>> paalkr wrote: >>>> Hi! >>>> >>>> Is there a way to prevent the default outputformats to be exposed in >>>> the >>>> capabilities document? I have a map service where I have used AGG >>>> specific >>>> rendering capabilities, and requesting e.g a GIF image then makes a bad >>>> looking map and does not make sense. I would like the opportunity to >>>> only >>>> expose explicit defined formats specified with one or more OUTPUTFORMAT >>>> blocks. >>>> >>>> I don't want to disable the different drivers though, only control the >>>> outputformat list in the GetCapabilities response. If the only way to >>>> achieve this is to patch the source code, I would be glade if any of >>>> the >>>> devs could point me in the right direction. >>>> >>>> Regards, >>>> Pål Kristensen >>>> >>>> >>>> >>>> Frank Warmerdam wrote: >>>>> Rahkonen Jukka wrote: >>>>>> Hi, >>>>>> >>>>>> By default, without having any OUTPUTFORMAT sections in the mapfile, >>>>>> Mapserver is advertising following imageformats in WMS >>>>>> GetCapabilities >>>>>> document: >>>>>> >>>>>> <GetMap> >>>>>> <Format>image/gif</Format> >>>>>> <Format>image/png</Format> >>>>>> <Format>image/png; mode=24bit</Format> >>>>>> <Format>image/jpeg</Format> >>>>>> <Format>image/vnd.wap.wbmp</Format> >>>>>> <Format>image/tiff</Format> >>>>>> <Format>image/svg+xml</Format> >>>>>> >>> >>> -- >>> ---------------------------------------------------------------- >>> Assefa Yewondwossen >>> Software Analyst >>> >>> Email: ass...@dmsolutions.ca >>> http://www.dmsolutions.ca/ >>> >>> Phone: (613) 565-5056 (ext 14) >>> Fax: (613) 565-0925 >>> ---------------------------------------------------------------- >>> >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >> > > > -- > ---------------------------------------------------------------- > Assefa Yewondwossen > Software Analyst > > Email: ass...@dmsolutions.ca > http://www.dmsolutions.ca/ > > Phone: (613) 565-5056 (ext 14) > Fax: (613) 565-0925 > ---------------------------------------------------------------- > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- View this message in context: http://n2.nabble.com/Re%3A-Two-questions-about-WMS-and-outputformats-tp2486969p2508701.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users