Raster zoom problem with ERDAS Imagine Files

Moen, Paul T. pmoen at STATE.ND.US
Thu Jul 14 06:00:05 PDT 2005


Frank, 

On 7/13/05 4:14 PM, "Frank Warmerdam" <fwarmerdam at gmail.com> wrote:



Paul, 

Sorry, I am not sure what this would be related to.  Did you rebuild
MapServer 
with the new GDAL too?  C++ ABI changes in OGR mean that you can't 
generally substitute different versions of GDAL without rebuilding
MapServer. 

Also, does shp2img work at the commandline?  Does "mapserv -v"?  When 
running into web environment problems, my first effort is to see if they can

be reproduced in a non web environment where better error messages 
are often available. 



Best regards, 

I rebuild MapServer after every time I build and install a different GDAL.

I tried your suggestions from the command line and "mapserv -v"  gave me
    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

But, shp2img doesn't produce any output it just hangs.  The following is the
terminal output.

    [swc2:/MapServerSource/src/mapserver-4.6.0] pmoen% ./shp2img -m
/Applications/4DWebSTAR/WebServer/DefaultSite/mapfiles/test.map -l North -o
test.png

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.  

test.map is a very simple mapfile with one layer, "North" which is a polygon
of North Dakota.

Thank you for your patience and time,

Paul T. Moen
pmoen at state.nd.us
ND State Water Commission

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050714/ddcad86c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: application/octet-stream
Size: 4045 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050714/ddcad86c/attachment.obj>


More information about the MapServer-users mailing list