<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019"></HEAD>
<BODY>
<DIV><SPAN lang=EN>
<P><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN 
class=617522007-17022011>I am trying to create a huge map in JPEG2000 format 
using shp2img or MapServer. On the machine I am using (a windows laptop winxp 
serv pack 3) I have multiple version of gdal (FWTools, OSGEO4W and 
MS4W´).</SPAN></FONT></FONT></FONT></P>
<P><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN 
class=617522007-17022011>The version of gdal_translate that comes with the 
FWTools ( version 2.4.6)&nbsp;lists that the gdal driver for JPEG2000 is 
available. However, when I am trying to use a map file to reference&nbsp;2 
layers:<BR></SPAN></FONT></FONT></FONT><FONT face=Arial><FONT 
color=#000080><FONT size=2><SPAN class=617522007-17022011>1. massive sized 
hillshade&nbsp;in JPEG2000 format (1.1 GB big)<BR>2. satellite imagery from NASA 
Bluemarble (400 MB file size as TIFF)</SPAN></FONT></FONT></FONT></P>
<P><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN 
class=617522007-17022011>The final composite map output has to be a high 
resolution image (yes just one) in 300 dpi ... and I will need it in JPEG2000 
format because that output&nbsp;will result to be about 500 MB 
big...</SPAN></FONT></FONT></FONT></P>
<P><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN 
class=617522007-17022011>However&nbsp; </SPAN>when I try to use shp2img<SPAN 
class=617522007-17022011> from the FWTools\bin&nbsp;directory</SPAN>&nbsp;<BR>or 
MapServer directly with query string<SPAN class=617522007-17022011>) </SPAN>then 
I get an error&nbsp;<SPAN class=617522007-17022011>message&nbsp;</SPAN>say<SPAN 
class=617522007-17022011>ing&nbsp;</SPAN><SPAN class=617522007-17022011>that 
shp2img or MapServer have </SPAN>no such&nbsp;<SPAN 
class=617522007-17022011>JP2ECW </SPAN>(<SPAN class=617522007-17022011>which is 
the </SPAN>jpeg 200<SPAN class=617522007-17022011>0</SPAN>)&nbsp;<SPAN 
class=617522007-17022011>driver </SPAN><SPAN class=617522007-17022011>available 
...</SPAN></FONT></FONT></FONT></P>
<P><SPAN class=617522007-17022011></SPAN><FONT color=#000080 size=2 
face=Arial>I<SPAN class=617522007-17022011> this somehow a path issue ?&nbsp;- 
such that shp2img.exe or mapserv.exe will not use the correct version of gdal 
drivers&nbsp;(and instead another gdal lib&nbsp;hat does not have the 
drivers)?<BR></SPAN></FONT><FONT color=#000080 size=2 face=Arial><SPAN 
class=617522007-17022011>Any ideas what I can do to fix 
this&nbsp;?</SPAN></FONT></P>
<P><FONT color=#000080 size=2 face=Arial><SPAN 
class=617522007-17022011>Cheers<BR>Karsten</SPAN></FONT></P>
<P><FONT color=#000080 size=2 face=Arial><SPAN class=617522007-17022011>PS : 
<FONT color=#000080 size=2 face=Arial><SPAN class=617522007-17022011>Note to 
spice this up, I had the project ready in ArcGIS to export and the export failed 
since ArcGIS does not export maps in JPEG2000 format (it can do individual rater 
data though)&nbsp; and the other formats rendered all night because the output 
was becoming to huge for windows to handle ;)<BR></SPAN></FONT><FONT 
color=#000080 size=2 face=Arial>S<SPAN class=617522007-17022011>o I was hoping 
to tackle this in shp2img / MapServer&nbsp; 
:)<BR></SPAN></FONT></P></SPAN></FONT></SPAN></DIV>
<P class=MsoNormal align=left><FONT size=2><SPAN 
style="FONT-FAMILY: Verdana; FONT-SIZE: 11pt">Karsten 
Vennemann<BR></SPAN></FONT><FONT size=1><SPAN 
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">Principal<BR><BR></SPAN></FONT><FONT 
color=#003264><FONT size=1><SPAN 
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">Terra GIS 
LTD<BR></SPAN></FONT><?xml:namespace prefix = st1 ns = 
"urn:schemas-microsoft-com:office:smarttags" /><st1:Street 
w:st="on"><st1:address w:st="on"><FONT size=1><SPAN 
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">2119 Boyer Ave 
E</SPAN></FONT></st1:address></st1:Street></FONT><FONT color=#003264 
size=1><SPAN style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt"> 
<BR></SPAN></FONT><st1:place w:st="on"><st1:City w:st="on"><FONT color=#003264 
size=1><SPAN 
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">Seattle</SPAN></FONT></st1:City><FONT 
size=1><SPAN style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt"><FONT 
color=#003264>,&nbsp;<st1:State w:st="on">WA</st1:State>&nbsp; 
</FONT><st1:PostalCode w:st="on"><FONT 
color=#003264>98112<BR></FONT></st1:PostalCode></SPAN></FONT></st1:place><st1:country-region 
w:st="on"><st1:place w:st="on"><FONT color=#003264 size=1><SPAN 
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">USA</SPAN></FONT></st1:place></st1:country-region><FONT 
color=#003264 size=1><SPAN 
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">&nbsp;<BR><A 
href="http://www.terragis.net">www.terragis.net</A></SPAN></FONT></P></BODY></HTML>