Hi All,<br><br>I think I'm having an instance of cranial flatulation, but maybe not. Hopefully you can set me straight.<br><br>I need to create an image with Mapserver using mapscript that I can then georeference manually and use in another application. It needs to look exactly the same as the image I can already generate via a WMS call that looks like this:<br>
<br><a href="http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/hydro/hydro.map" target="_blank">http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/hydro/hydro.map</a><br>&SERVICE=WMS<br>&version=%221.1.1%22<br>
&REQUEST=GetMap<br>
&LAYERS=imagery<br>&STYLES=&BBOX=-125,39,-108,54<br>&WIDTH=600<br>&HEIGHT=600<br>&FORMAT=png<br>&SRS=epsg:4326<br><br>I'm testing my mapscript parameters using a simple "mode=map" call to Mapserver, and the results I'm getting so far don't match the appearance of the WMS output at all. My mapfile has the following extent and projection info in it:<br>
<br> PROJECTION<br> "init=epsg:4326"<br> END<br><br> EXTENT -125.0 39.0 -108.0 54.0<br> SIZE 600 600<br><br>In addition to the mapfile projection specification, I am also specifying the same projection info in each of my LAYERS as well.<br>
<br>Is it possible to do what I'm trying to accomplish here?<br><br>Thanks,<br><br>Roger<br>--<br><br>