TIFF displays and displays not

Ed McNierney ed at TOPOZONE.COM
Thu Jan 13 09:08:53 PST 2005


Stef -
 
If I recall correctly, the INPUT=TIFF support reads GeoTIFF but not TFW
world files.  Exporting the file as a GeoTIF would then fix this
problem, consistent with your observation.  I'm not sure my memory is
correct, but the "built-in" TIFF support is now deprecated and you
really should remove it - GDAL will provide much better TIFF support for
you.
 
     - Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 


________________________________

From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Stefan Schwarzer
Sent: Thursday, January 13, 2005 5:07 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] TIFF displays and displays not


Thanks to everyone for the feedback. 

It seems to be a problem on the image side. I don't understand why, but
although it displays nicely in ArcView and Photoshop, the screen keeps
blank with Mapserver. (I had the impression that ArcExplorer-Java for
Mac didn't display it either.) But when I exported the TIF in ERDAS as
GeoTIF and loaded it into the app it worked. 

Stef 



        Hi, 

        On Thu, 13 Jan 2005, Stefan Schwarzer wrote: 


                Ed, 

                thanks for that. 

                Still, I can't see the reason for that. I have two TIFF
images, which 
                seem to be perfectly similar. I have saved them both
from Photoshop. So 
                no GeoTIIFF, only normal TIFF. 

                How do I get the "mapserv -v" on a Windows machine? 


        Change directory to your cgi-bin and type 
        mapserv.exe -v 


                The Linux machine is giving me this: 
                MapServer version 4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF 
                SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT 
                INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS
INPUT=OGR INPUT=GDAL 
                INPUT=SHAPEFILE 


        Recently I had trouble on Linux, having both native INPUT=TIFF
and 
        INPUT=GDAL. The gdal tiff support is more powerful then mapserv
native 
        solution so configure mapserverver --without-tiff and
--with-gdal. 
        I check my windows mapserv.exe which I downloaded in a binary
pachage, and 
        no INPUT=TIFF support involved. 

        Bye 
        Zoltan 





                        Stefan - 
                        The first thing I'd do is run "mapserv -v" on
each machine and look 
                        for configuration differences in your two
MapServer installations.  
                        Also, check whether both are GeoTIFFs. 
                             - Ed 

                        Ed McNierney 
                        President and Chief Mapmaker 
                        TopoZone.com / Maps a la carte, Inc. 
                        73 Princeton Street, Suite 305 
                        North Chelmsford, MA  01863 
                        ed at topozone.com 
                        (978) 251-4242 


                        From: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] 
                        On Behalf Of Stefan Schwarzer 
                        Sent: Wednesday, January 12, 2005 8:21 AM 
                        To: MAPSERVER-USERS at LISTS.UMN.EDU 
                        Subject: [UMN_MAPSERVER-USERS] TIFF displays and
displays not 

                        Hi, 


                        gush, what a strange thing. I have to TIFFs with
a worldfile each. 
                        Using PHP/MapScript, on my windows machine, both
display nicely. On 
                        our Linux machine however, only one of the two
displays. When I select 
                        the other, white space... Nothing. 


                        I added one of the TIFFs only now, the other
already a couple of days 
                        ago. Sure, this can't be the reason. But ....
Actually, I have no 
                        idea. They are both 8 bit, and RGB color mode. 


                        Any idea whatsoever? Thanks for letting me know.
I am really stuck... 


                        Stef 


                                _______________________________________ 


                                Stefan Schwarzer 

                                GIS & Data Management 


                                UNEP/DEWA/GRID-Geneva 
                                Chemin des Anemones 11 
                                CH - 1219 Chatelaine 
                                Switzerland 


                                Tel: (+41) 22.917.83.49 
                                Fax: (+41) 22.917.80.29 


                                Internet: http://geodata.grid.unep.ch/ 
                                _______________________________________ 



                        _______________________________________ 

                        Stefan Schwarzer 
                        GIS & Data Management 

                        UNEP/DEWA/GRID-Geneva 
                        Chemin des Anemones 11 
                        CH - 1219 Chatelaine 
                        Switzerland 

                        Tel: (+41) 22.917.83.49 
                        Fax: (+41) 22.917.80.29 

                        Internet: http://geodata.grid.unep.ch/ 
                        _______________________________________ 





        _______________________________________ 

        Stefan Schwarzer 
        GIS & Data Management 

        UNEP/DEWA/GRID-Geneva 
        Chemin des Anemones 11 
        CH - 1219 Chatelaine 
        Switzerland 

        Tel: (+41) 22.917.83.49 
        Fax: (+41) 22.917.80.29 

        Internet: http://geodata.grid.unep.ch/ 
        _______________________________________ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050113/acc66665/attachment.htm>


More information about the MapServer-users mailing list