<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> <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> 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'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'm working with projected layers also, eg:<br><br>map = new OpenLayers.Map('map', {
<br> 'projection':'EPSG:28992',<br> 'units':'m',<br> 'maxExtent':new OpenLayers.Bounds(-20000,300000,300000,650000),<br> 'resolutions':[1, 2.5, 5, 10, 30, 50, 100, 175, 256, 512],
<br> 'controls':[], // empty controls om te zorgen dat er NIKS staat<br> 'theme':null // empty theme to be able to override<br>});<br>// not tiled no cache<br>xxlayer = new OpenLayers.Layer.WMS.Untiled
( "xx",<br>"yourserver?map=mymapfile.map", {layers: 'a,b,c', FORMAT:'png'},<br>{ratio:1, units:'meters'} );<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>> What I am trying to do is import content from my mapserver into OpenLayers.<br>><br>> I am starting to think from experimentation that the problem has<br>> something to do with my projection. If I do not give a projection in my
<br>> layer definition in OpenLayers and rely simply on the projections given<br>> in my mapfile I get a projection error. If i do specify one I simply get<br>> a white screen.<br>><br>> Now i have checked my projection details in proj4 and I am 99% sure they
<br>> are correct but they are not very standard values, maybe OpenLayers does<br>> not support them. Value is EPSG:28355<br>><br>> I tried again to manually import the data using the mapserver layer<br>> option and had some success. The layers actually displayed, which is the
<br>> best result I've had so far. However there is still a problem, they are<br>> rather poor quality and the tiles to not align for some reason.<br>><br>><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> Dev mailing list<br>> <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>> <a href="http://openlayers.org/mailman/listinfo/dev">http://openlayers.org/mailman/listinfo/dev
</a><br><br></blockquote></div><br>