<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Re: [UMN_MAPSERVER-USERS] Raster zoom problem with ERDAS Imagine Files</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Frank, <BR>
<BR>
On 7/13/05 4:14 PM, "Frank Warmerdam" <fwarmerdam@gmail.com> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
Paul, <BR>
<BR>
Sorry, I am not sure what this would be related to. Did you rebuild MapServer <BR>
with the new GDAL too? C++ ABI changes in OGR mean that you can't <BR>
generally substitute different versions of GDAL without rebuilding MapServer. <BR>
<BR>
Also, does shp2img work at the commandline? Does "mapserv -v"? When <BR>
running into web environment problems, my first effort is to see if they can <BR>
be reproduced in a non web environment where better error messages <BR>
are often available. <BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Best regards, <BR>
<BR>
I rebuild MapServer after every time I build and install a different GDAL.<BR>
<BR>
I tried your suggestions from the command line and “mapserv –v” gave me<BR>
MapServer version 4.6.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT INPUT=TIFF INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<BR>
<BR>
But, shp2img doesn’t produce any output it just hangs. The following is the terminal output.<BR>
<BR>
[swc2:/MapServerSource/src/mapserver-4.6.0] pmoen% ./shp2img -m /Applications/4DWebSTAR/WebServer/DefaultSite/mapfiles/test.map –l North -o test.png<BR>
<BR>
The command prompt never returns when running shp2img. The only way to get the command prompt back is to ctrl-c. If I try the GDAL 1.2.6 (non cvs version) shp2img works fine. It returns me to the command prompt immediately and exports the attached image. It is only with the cvs version that the problem occurs. <BR>
<BR>
test.map is a very simple mapfile with one layer, “North” which is a polygon of North Dakota.<BR>
<BR>
Thank you for your patience and time,<BR>
<BR>
Paul T. Moen<BR>
pmoen@state.nd.us<BR>
ND State Water Commission<BR>
</SPAN></FONT>
</BODY>
</HTML>