[Geomoose-users] Adding an Image

Len Kne lkne at houstoneng.com
Tue Oct 19 12:53:16 EDT 2010


I'm guessing that you have something in the geomoose_globals.map file that is overriding the OUTPUT.  Look for the IMAGETYPE tag geomoose_globals and make sure it is set to "jpeg".  You should probably move the INCLUDE for geomoose_globals above your OUTPUTFORMAT as well (or possible comment it out totally).

Len

From: Jacob Rodel [mailto:jacob.rodel at co.todd.mn.us]
Sent: Tuesday, October 19, 2010 11:25 AM
To: geomoose-users at lists.sourceforge.net
Subject: [Geomoose-users] Adding an Image

I am trying to add our aerial photography.  I have a .sid image and an .ecw.  I can get them to show up but they look really weird.  Here is my mapfile.  I've read some of the other threads about outputting as jpeg but obviously I am doing something wrong.  Any ideas?


MAP
      NAME 'photo'
      SIZE 800 650
      STATUS ON
      EXTENT 333610.042182818 5070249.37869356 373071.208536793 5137292.54244199
      UNITS METERS
      TRANSPARENT true
      IMAGETYPE jpeg
      OUTPUTFORMAT
            NAME jpeg
            DRIVER "GD/JPEG"
            MIMETYPE "image/jpeg"
            IMAGEMODE RGB
            EXTENSION "jpg"
      END

      INCLUDE "/ms4w/apps/trails/maps/geomoose_globals.map"


      PROJECTION
            'init=epsg:26915'
      END

      LEGEND
            STATUS ON
            LABEL
            TYPE TRUETYPE
            FONT vera_sans
            SIZE 8
            COLOR 0 0 0
            END
      END


  LAYER
      NAME 'photo'
      DATA 'BARTLETT.ecw'
          STATUS DEFAULT
          TYPE RASTER

  End #layer  2008 Pictometry photos



END ## end Map

Jacob Rodel
GIS Technician
Todd County GIS & Land Services Dept.
347 Central Ave. Suite 1
Long Prairie, MN 56347
(320) 732-4248

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20101019/427ebca3/attachment.html


More information about the Geomoose-users mailing list