<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=703202903-26082004><FONT face=Arial 
color=#0000ff size=2>Brant -</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=703202903-26082004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=703202903-26082004><FONT face=Arial 
color=#0000ff size=2>You mentioned "tile", so I assume you're using a 
TILEINDEX.&nbsp; You mention changing the PATH attribute of the shapefile - 
could you be a little more specific?&nbsp; Could you post the LAYER definition 
in your MAP file for this layer?&nbsp; I would expect that you would use 
gdaltindex to create a new TILEINDEX shapefile with the new filenames in it 
(remember that gdaltindex will add to an existing file, so you'll want to create 
a new one).&nbsp; Then you would change the TILEINDEX statement in your MAP file 
to refer to this new shapefile.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=703202903-26082004><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=703202903-26082004>&nbsp;&nbsp;&nbsp; <FONT 
face=Arial color=#0000ff size=2>- Ed</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=703202903-26082004><!-- Converted from text/plain format -->
<P><FONT size=2>Ed McNierney<BR>President and Chief Mapmaker<BR>TopoZone.com / 
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North Chelmsford, 
MA&nbsp; 01863<BR>Phone: +1 978 251-4242&nbsp;&nbsp; Fax: +1 978 251-1396 
</FONT></P></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List 
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Brant 
Anderson<BR><B>Sent:</B> Thursday, August 26, 2004 1:21 AM<BR><B>To:</B> 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] JPEG 2000 
format instead of TIFF for a RASTER layer<BR></FONT><BR></DIV>
<DIV></DIV>I am trying to tile ortho photos using the JPEG 2000 (jp2) format. I 
have created a working tif version.<BR><BR>I converted the TIF images to JP2 
files using jasper. Then I updated the PATH attribute of the shapefile to 
reflect the new file extension. This, however, created unexpected results. I am 
getting an Internal Server Error.<BR><BR>Here is my MapServer output: (mapserv 
-v)<BR>MapServer version 4.2.2 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF 
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER INPUT=EPPL7 INPUT=OGR 
<B>INPUT=GDAL</B> INPUT=SHAPEFILE<BR><BR>Here is my gdal-config output: 
(gdal-config --formats)<BR>gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 xpm 
sdts raw dted mem jdem envisat elas fit vrt usgsdem l1b nitf bmp pcidsk bsb 
<B>jpeg2000</B> gif jpeg png grass<BR><BR><BR>Does anybody know if it is 
possible to use JPEG 2000 instead of TIFF for this?<BR><BR>I would like to use 
this format if possible, as the file sizes are 2-3x smaller than with the .tif, 
and the quality differences are unnoticeable.<BR><BR>Any help/suggestions 
welcome.<BR><BR><BR>Thank you,<BR><BR>Brant Anderson<BR></BODY></HTML>