On 1/23/06, Stéphane RIFF <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Does mapserver can send JPEG2000 file to client ???

Stefane,

Yes, this is possible with a suitably defined outputformat
declaration in your mapfile.  It is also necessary that MapServer
be built with GDAL support, and that GDAL be built with one
of the JPEG2000 drivers that supports output.  I haven't actually
tested it, but I imagine a declaration like this would do the trick
if you had built in the ECW SDK (as in FWTools for instance):

OUTPUTFORMAT
  NAME jpeg2000
  DRIVER "JPWECW"
  MIMETYPE "image/jpeg2000"
  IMAGEMODE RGB
END

I would add that most browsers do not directly support jpeg2000
yet, so having a WMS produce jpeg2000 is of limited value.

Best regards,


--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

Reply via email to