<div>mapserver rocks on-the-fly!</div>
<div>&nbsp;</div>
<div>now what's the best way to avoid on-the-fly proj because that decreases performance. do i have to manually rectify geotiff to vector in arcmap (think human error)?</div>
<p>thanks a bunch man</p>
<p>jzs</p>
<p><a href="http://mapserver.gis.umn.edu/docs/howto/raster_data/#raster-display-performance-tips">http://mapserver.gis.umn.edu/docs/howto/raster_data/#raster-display-performance-tips</a><br><br></p>
<div><span class="gmail_quote">On 11/16/06, <b class="gmail_sendername">Frank Warmerdam</b> &lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">John Smith wrote:<br>&gt; guys,<br>&gt; trying to put a geotiff in- works but not right. here's what's happening:
<br>&gt;<br>&gt; i download the geotiff from national atlas. when i give no proj info<br>&gt; under LAYER it shows up but not where it should (nwis). so i copy MAP<br>&gt; proj to LAYER proj hoping for some on-the-fly magic- again it shows up
<br>&gt; but nwis.<br>&gt;<br>&gt; well i go over to proj_list<br>&gt; &lt;<a href="http://www.remotesensing.org/geotiff/proj_list/">http://www.remotesensing.org/geotiff/proj_list/</a>&gt; and look up the epsg<br>&gt; (EPSG?) code (9820) from metadata but it throws the
<br>&gt; &quot;msProcessProjection(): Projection library error. no options found in<br>&gt; 'init' file&quot; error. then i try all epsg codes given by gdalinfo ;) but<br>&gt; same error. although when i try the MAP epsg code (4326) it shows up but
<br>&gt; nwis.<br>&gt;<br>&gt; so what's wrong here? think proj.exe geod.exe cs2cs.exe libgeotiff<br>&gt; listgeo'd help? now i don't think wld is needed because it's included<br>&gt; with the geotiff but i've tried with wld and no luck. i just hope i
<br>&gt; don't have to rectify in arcmap. btw IMAGETYPE=png24 in case that matters.<br><br>John,<br><br>I don't believe there is an EPSG code corresponding to this coordinate<br>system:<br><br>PROJCS[&quot;TIFF 6.0, GeoTIFF Revision 
1.0&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;GEOGCS[&quot;WGS 84&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DATUM[&quot;WGS_1984&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SPHEROID[&quot;WGS 84&quot;,6378137,298.2572235630016,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PRIMEM[&quot;Greenwich&quot;,0],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UNIT[&quot;degree&quot;,0.0174532925199433],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]],<br>&nbsp;&nbsp;&nbsp;&nbsp;PROJECTION[&quot;Lambert_Azimuthal_Equal_Area&quot;],
<br>&nbsp;&nbsp;&nbsp;&nbsp;PARAMETER[&quot;latitude_of_center&quot;,45],<br>&nbsp;&nbsp;&nbsp;&nbsp;PARAMETER[&quot;longitude_of_center&quot;,-100],<br>&nbsp;&nbsp;&nbsp;&nbsp;PARAMETER[&quot;false_easting&quot;,0],<br>&nbsp;&nbsp;&nbsp;&nbsp;PARAMETER[&quot;false_northing&quot;,0],<br>&nbsp;&nbsp;&nbsp;&nbsp;UNIT[&quot;metre&quot;,1,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AUTHORITY[&quot;EPSG&quot;,&quot;9001&quot;]]]<br><br>But the corresponding PROJECTION block to put in the LAYER definition<br>is:<br><br>PROJECTION<br>&nbsp;&nbsp;&quot;+proj=laea +lat_0=45 +lon_0=-100 +x_0=0 +y_0=0 +datum=WGS84 +units=m&quot;
<br>END<br><br>At one time you could also put:<br>PROJECTION<br>&nbsp;&nbsp;&quot;AUTO&quot;<br>END<br><br>and MapServer would read it from the geotiff file, but I'm not sure if this<br>still works.<br><br>Best regards,<br>--<br>---------------------------------------+--------------------------------------
<br>I set the clouds in motion - turn up&nbsp;&nbsp; | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam">http://pobox.com/~warmerdam
</a><br>and watch the world go round - Rush&nbsp;&nbsp;&nbsp;&nbsp;| President OSGeo, <a href="http://osgeo.org">http://osgeo.org</a></blockquote></div>