<br>Yes some of it definitely sounds useful, I will give it a try and get back to you with my results.<br><br>The poor image quality is a strange one because i managed to tweak the images so they were looking good on Mapserver, it is just with an import to OpenLayers that they really deteriorate.
<br><br><div><span class="gmail_quote">On 7/6/07, <b class="gmail_sendername">Richard Duivenvoorde</b> &lt;<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hey Bradley,<br>is your mapserver configuration ok? I would say: install qgis<br>(<a href="http://www.qgis.org">www.qgis.org</a>). This gives you an easy and alternative way to look at<br>wms-layers. Just give it the url of your mapserver and the name of your
<br>mapfile and it will either show you the layers (and projections) which<br>you defined in your mapfile or an error.<br>If that is working, I would try to set up an WMS.Untiled layer first.<br>Using firefox and the firebug extension you can see exactly the url&#39;s
<br>that OL is firing at mapserver then. You can see what bbox and srs (aka<br>projection) is asked from mapserver then.<br><br>I&#39;m working with projected layers also, eg:<br><br>map = new OpenLayers.Map(&#39;map&#39;,&nbsp;&nbsp;{
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#39;projection&#39;:&#39;EPSG:28992&#39;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#39;units&#39;:&#39;m&#39;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#39;maxExtent&#39;:new OpenLayers.Bounds(-20000,300000,300000,650000),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#39;resolutions&#39;:[1, 2.5, 5, 10, 30, 50, 100, 175, 256, 512],
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#39;controls&#39;:[],&nbsp;&nbsp;// empty controls om te zorgen dat er NIKS staat<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#39;theme&#39;:null&nbsp;&nbsp;&nbsp;&nbsp;// empty theme to be able to override<br>});<br>// not tiled no cache<br>xxlayer = new OpenLayers.Layer.WMS.Untiled
( &quot;xx&quot;,<br>&quot;yourserver?map=mymapfile.map&quot;, {layers: &#39;a,b,c&#39;, FORMAT:&#39;png&#39;},<br>{ratio:1, units:&#39;meters&#39;} );<br><br>If all that is working, you can make it a tiled server and see if there
<br>is a problem.<br><br>About poor quality: are you showing raster or vector data? If raster:<br>are you using the right resolutions for your layers? You can do a lot of<br>tweaking in the mapserver mapfile (anti aliassing etc).
<br><br>White screens: be aware of caching of image data in your browser/proxy!<br>See if qgis is also giving white screens, if so: looks like an<br>mapserver/projection problem.<br><br>Hope this is of any help<br><br>Richard Duivenvoorde
<br><br><br><br>Bradley Mclain wrote:<br>&gt; What I am trying to do is import content from my mapserver into OpenLayers.<br>&gt;<br>&gt; I am starting to think from experimentation that the problem has<br>&gt; something to do with my projection. If I do not give a projection in my
<br>&gt; layer definition in OpenLayers and rely simply on the projections given<br>&gt; in my mapfile I get a projection error. If i do specify one I simply get<br>&gt; a white screen.<br>&gt;<br>&gt; Now i have checked my projection details in proj4 and I am 99% sure they
<br>&gt; are correct but they are not very standard values, maybe OpenLayers does<br>&gt; not support them. Value is EPSG:28355<br>&gt;<br>&gt; I tried again to manually import the data using the mapserver layer<br>&gt; option and had some success. The layers actually displayed, which is the
<br>&gt; best result I&#39;ve had so far. However there is still a problem, they are<br>&gt; rather poor quality and the tiles to not align for some reason.<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------
<br>&gt;<br>&gt; _______________________________________________<br>&gt; Dev mailing list<br>&gt; <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>&gt; <a href="http://openlayers.org/mailman/listinfo/dev">http://openlayers.org/mailman/listinfo/dev
</a><br><br></blockquote></div><br>