WMS - Reprojecting and losing transparency?

Peter Giencke pgiencke at GLC.ORG
Tue Sep 6 16:43:31 PDT 2005


Hi,

Am I right to assume that under in the following circumstance, a
'reprojected' wms layer will lose its transparency? I did some digging and
couldn't find a straight answer...

Below is a parred down version of the mapfile I'm using; it becomes
untransparent after the projection to UTM. Hopefully I'm wrong and there's a
way to do this....

-pete

##################################

MAP
  IMAGETYPE      PNG24 #IMAGETYPE DOESN'T SEEM TO MATTER HERE
  EXTENT 1074253.10 4816300.87 1617397.14 5238582.46
  UNITS meters

     PROJECTION           ##########UTM 17N
      "init=epsg:26916"
     END 
END


 LAYER
       NAME jpl3
       METADATA
         "wms_title" "jpl2"
         "wms_srs"   "EPSG:4326"
       END
       TYPE RASTER
       TRANSPARENCY 40
       STATUS default
       CONNECTIONTYPE WMS
       CONNECTION
"http://wms.jpl.nasa.gov/wms.cgi?SERVICENAME=OGC:WMS&VERSION=1.1.1&REQUEST=G
etMap&layers=global_mosaic&styles=&srs=EPSG:4326&format=image/png"

       PROJECTION
         "init=epsg:4326"  ##########GEOGRAPHIC
       END
  END  
END



More information about the MapServer-users mailing list