I have installed ms4w on XP and am trying to display a simple map with the 
following map file.

 

MAP

  IMAGETYPE png

  SIZE 600 400

  EXTENT -120 49 -110 60

  UNITS dd

  SHAPEPATH "R:/GIS/"

  LAYER

    NAME "Elevation"

    TYPE raster

    DATA "srtm/elevation.tif"

  END

END

 

I am testing mapserv from the command line with the following command

 

mapserv -nh 
"QUERY_STRING=map=R:/Program_Dev/DHildebrand/geoprocessing_server/MapServer/sample.map&mode=map"

 

The following output is returned, which, I presume, is a PNG stream but there 
are no errors generated.

 

ëPNG

→

IHDR  ☻X  ☺É☺♥  ☺?ⁿ╝M   ♥PLTE   º─←╚   5IDATx£φ┴ü    ├á∙S_ß U☺

           |♠y↑ ☺░→ä♀    IEND«B`é

 

 

When but when I redirect the output to a *.png file, though, I simply get a 
blank white image.  Any clues?

 

Thanks.

 

 

===========================
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca <about:www.afsc.ca>  <http://www.afsc.ca <http://www.afsc.ca/> >
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.

 

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to