[mapserver-users] png problems

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu Apr 3 04:05:16 PDT 2008


How do you georeference your jpeg and png images?  If it goes wrong with png then Mapserver believes that image origo is at coordinates (0,0) 
and that probably does not suit the bounding box of your request.
 
-Jukka Rahkonen-


________________________________

	Lähettäjä: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Ibon Tamayo
	Lähetetty: 3. huhtikuuta 2008 13:52
	Vastaanottaja: mapserver-users at lists.osgeo.org
	Aihe: [mapserver-users] png problems
	
	
	Hi all, 
	 
	I'm having troubles with drawing png shapes. I dont have any problem to visualize the jpg but it has white areas out of the image, so I can't see what is under this shape. I decided to convert to png but now I can't see the image in the mapserver. 
	 
	what is the problem?
	 
	LAYER  #Foto.png
	    TRANSPARENCY 100
	    NAME 'Foto'
	    TOLERANCE 3
	    TOLERANCEUNITS pixels
	    DATA 'Foto.png'
	    LABELCACHE on
	    STATUS on
	    DEBUG false
	    TRANSFORM true
	    TYPE raster
	    MINSCALE 100000
	    PROCESSING "DITHER=NO"
	    PROCESSING "BANDS=1,2,3"
	    PROCESSING "SCALE_1=auto"
	    PROCESSING "SCALE_2=auto"
	    PROCESSING "SCALE_3=auto"
	  END  #LAYER
	 
	Regards, 
	Ibon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080403/52c74698/attachment.htm>


More information about the MapServer-users mailing list