<DIV>
<DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>I am still having the problem of reprojecting WMS layers into other projection.</DIV>
<DIV>USGS provides it's Urban color ortho coverage only in epsg:4326 and I would like it to be in either local UTM zone or local state plate.</DIV>
<DIV> </DIV>
<DIV>I have wms_srs set and PROJECTION tag set to 4326 at the layer level and output projection set via the cgi interface (a method which works fine with reprojecting shape files) The 2 output image is almost identical. There is a small "rotation" effect visible if I switch back and forth from the 2 images, but when I overlay a shapefile layer on it (which is correctly reprojected) the original projection 4326 creates a nicely overlayed image, while the reprojected one has the WMS and shape layer messed up, they do not correctly overlay.</DIV>
<DIV> </DIV>
<DIV>Can I send 2 jpg attachment to the list to demonstrate?</DIV>
<DIV> </DIV>
<DIV>The question therefore: is there any known trick with reprojecting WMS raster layer as opposed to locally stored raster and shape layer? Did anybody has this problem before?</DIV>
<DIV>Help me out on this as I am stucked for weeks already.</DIV>
<DIV> </DIV>
<DIV>Here is my mapfile:</DIV>
<DIV>MAP <BR> NAME USGSUrban<BR> SHAPEPATH "/usr/local/mapdata/" <BR> SIZE 600 400 <BR> IMAGETYPE PNG24 <BR> IMAGECOLOR 0 0 0<BR> WEB<BR> IMAGEPATH /usr/local/httpd/htdocs/tmp/<BR> END </DIV>
<DIV> LAYER<BR> NAME "SanFrancisco01"<BR> TYPE RASTER<BR> PROJECTION<BR> "init=epsg:4326"<BR> END<BR> STATUS OFF <BR> CONNECTION "<A href="http://gisdata.usgs.net/servlet/com.esri.wms.Esrimap/USGS_EDC_Ortho_133Urban">http://gisdata.usgs.net:80/servlet/com.esri.wms.Esrimap/USGS_EDC_Ortho_133Urban</A>?"<BR> CONNECTIONTYPE WMS<BR> METADATA<BR> "wms_srs" "EPSG:4326"<BR> "wms_name" "SanFrancisco01"<BR> "wms_server_version" "1.1.0"<BR> "wms_formatlist" "image/png,image/jpeg"<BR> "wms_format"
"image/png"<BR> END<BR> END <BR>END</DIV>
<DIV> </DIV>
<DIV>The 2 url which should generate to different projection of the WMS layer is:</DIV>
<DIV>mapserv?mode=map&map=/usr/local/mapapp/map.map&layer=SanFrancisco01&mapext=-122.226813776775+37.4764381661621+-122.213167520107+37.4835588561656&mapsize=600+400&map_projection=init%3Depsg:26910</DIV>
<DIV> </DIV>
<DIV>mapserv?mode=map&map=/usr/local/mapapp/map.map&layer=SanFrancisco01&mapext=-122.226813776775+37.4764381661621+-122.213167520107+37.4835588561656&mapsize=600+400&map_projection=init%3Depsg:4326</DIV>
<DIV> </DIV>
<DIV>Let me know if anyone has some idea of what's going wrong here.</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>Thomas</DIV>
<DIV> </DIV></DIV><p>
<hr size=1>Do you Yahoo!?<br>
Express yourself with Y! Messenger! Free. <a
href="http://us.rd.yahoo.com/mail_us/taglines/msgr/evt=26089/*http://messenger.yahoo.com">Download now</a>.