<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi&nbsp;Rick,<BR>
I did as you suggested&nbsp;and I am getting a&nbsp;black color&nbsp;showing up all the time. I have tried different scales but it still persists. <BR>
&nbsp;<BR>
Franz<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>&gt; From: richard.moore@mnsu.edu<BR>&gt; To: nils.zierath@uni-bonn.de; franzzoa@hotmail.com<BR>&gt; CC: geomoose-users@lists.sourceforge.net<BR>&gt; Date: Wed, 16 Dec 2009 12:08:19 -0600<BR>&gt; Subject: RE: [Geomoose-users] Wms layer showing pinkish tiles.<BR>&gt; <BR>&gt; Franz,<BR>&gt; <BR>&gt; Try the following .map file for the map file and the subsequent lines of code for the map source and catalog. This serves it through the mapserver wms service<BR>&gt; <BR>&gt; Rick<BR>&gt; <BR>&gt; # For those WMS layers that only supports geographic projection (e.g. epsg:4326)<BR>&gt; # You can still use them by having MapServer reproject them on the fly.<BR>&gt; # You then have the option to serve it via MapServer's WMS service or<BR>&gt; # call it as a normal MapServer layer.<BR>&gt; # This example cascades the OnEarth (JPL) MODIS and Landsat layers through the<BR>&gt; # local MapServer service.<BR>&gt; <BR>&gt; MAP<BR>&gt; NAME 'nasa'<BR>&gt; SIZE 800 650<BR>&gt; STATUS ON<BR>&gt; UNITS METERS<BR>&gt; IMAGETYPE JPEG<BR>&gt; TRANSPARENT TRUE<BR>&gt; <BR>&gt; INCLUDE "../../geomoose_globals.map"<BR>&gt; <BR>&gt; WEB<BR>&gt; INCLUDE "../../temp_directory.map"<BR>&gt; END<BR>&gt; <BR>&gt; PROJECTION<BR>&gt; 'init=epsg:26915' # I believe change this your projection of your mapbook projection parameter. The 4326 is what the global mosaic is projected in.<BR>&gt; END<BR>&gt; <BR>&gt; LAYER<BR>&gt; NAME nasa<BR>&gt; TYPE RASTER<BR>&gt; OFFSITE 0 0 0<BR>&gt; STATUS OFF<BR>&gt; CONNECTIONTYPE WMS<BR>&gt; CONNECTION "http://onearth.jpl.nasa.gov/wms.cgi?"<BR>&gt; <BR>&gt; METADATA<BR>&gt; "wms_srs" "EPSG:4326"<BR>&gt; "wms_name" "global_mosaic"<BR>&gt; "wms_server_version" "1.1.1"<BR>&gt; "wms_format" "image/jpeg"<BR>&gt; "wms_style" ""<BR>&gt; END #metadata<BR>&gt; <BR>&gt; PROJECTION<BR>&gt; "init=epsg:4326"<BR>&gt; END #projection<BR>&gt; <BR>&gt; END # layer<BR>&gt; <BR>&gt; END #map<BR>&gt; <BR>&gt; <BR>&gt; Line of code in the map-source area. Create the above code as a nasa.map file<BR>&gt; <BR>&gt; &lt;map-source name="nasawms" type="mapserver"&gt;<BR>&gt; &lt;file&gt;./data/wms/nasa.map&lt;/file&gt; #change this per your location of the .map file<BR>&gt; &lt;layer name="all"/&gt;<BR>&gt; &lt;/map-source&gt;<BR>&gt; <BR>&gt; <BR>&gt; Line in the Catalog area---<BR>&gt; <BR>&gt; &lt;layer title="NASA Globe" src="nasawms/all" status="off"/&gt;<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; -----Original Message-----<BR>&gt; From: Nils Zierath | Center for Development Research Bonn (ZEF) [mailto:nils.zierath@uni-bonn.de] <BR>&gt; Sent: Wednesday, December 16, 2009 4:30 AM<BR>&gt; To: FRANZ OKYERE<BR>&gt; Cc: geomoose-users@lists.sourceforge.net<BR>&gt; Subject: Re: [Geomoose-users] Wms layer showing pinkish tiles.<BR>&gt; <BR>&gt; Franz,<BR>&gt; I pasted your mapbook settings into mine - red tiles resulting.<BR>&gt; <BR>&gt; When changing the projection to *projection="EPSG:4326"* it works well.<BR>&gt; <BR>&gt; I think in the mapbook you have to define the projection in which the <BR>&gt; WMS is available. GeoMoose takes care of reprojecting this on the fly <BR>&gt; into the one you use for your application.<BR>&gt; <BR>&gt; Nils<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; FRANZ OKYERE schrieb:<BR>&gt; &gt; Hi Nils,<BR>&gt; &gt; In my mapsource I have the following<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; &lt;map-source name='nasa' type='wms' tiled='false' projection='EPSG:2264' <BR>&gt; &gt; width='512' height='512'&gt;<BR>&gt; &gt; &lt;url&gt;http://onearth.jpl.nasa.gov/wms.cgi&lt;/url&gt;<BR>&gt; &gt; &lt;layer name="global_mosaic"/&gt;<BR>&gt; &gt; &lt;param name="format" value="image/jpeg"/&gt;<BR>&gt; &gt; &lt;/map-source&gt;<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; In my catalog;<BR>&gt; &gt; <BR>&gt; &gt; &lt;layer title="Sati" src="nasa/global_mosaic" status="on"/&gt;<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; Franz<BR>&gt; &gt; <BR>&gt; &gt; &gt; From: coffee@uni-bonn.de<BR>&gt; &gt; &gt; Subject: Re: [Geomoose-users] Wms layer showing pinkish tiles.<BR>&gt; &gt; &gt; To: franzzoa@hotmail.com; geomoose-users@lists.sourceforge.net<BR>&gt; &gt; &gt; Date: Fri, 11 Dec 2009 23:04:03 +0100<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; Franz,<BR>&gt; &gt; &gt; maybe an error in your syntax? As well, the WMS might not<BR>&gt; &gt; &gt; be available at times or too slow (as happened to me when<BR>&gt; &gt; &gt; using NASA WMS).<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; What did you put in your mapbook?<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; Nils<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; On Fri, 11 Dec 2009 18:53:17 +0000<BR>&gt; &gt; &gt; FRANZ OKYERE &lt;franzzoa@hotmail.com&gt; wrote:<BR>&gt; &gt; &gt; &gt; Hi all, I thought in GM2, to use a wms service all you<BR>&gt; &gt; &gt; &gt;need is to define it in the mapsource and then the<BR>&gt; &gt; &gt; &gt;catalog..why then is my wms layer showing a pinkish<BR>&gt; &gt; &gt; &gt;background after it has connected to the wms server?<BR>&gt; &gt; &gt; &gt;Thanks. Franz Okyere. GIS specialist, SIT, Accra Ghana.<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; _________________________________________________________________<BR>&gt; &gt; &gt; &gt; Got more than one Hotmail account? Save time by linking<BR>&gt; &gt; &gt; &gt;them together<BR>&gt; &gt; &gt; &gt; http://clk.atdmt.com/UKM/go/186394591/direct/01/<BR>&gt; &gt; &gt;<BR>&gt; &gt; <BR>&gt; &gt; ------------------------------------------------------------------------<BR>&gt; &gt; New! Receive and respond to mail from other email accounts from within <BR>&gt; &gt; Hotmail Find out how. &lt;http://clk.atdmt.com/UKM/go/186394593/direct/01/ &gt;<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ------------------------------------------------------------------------<BR>&gt; &gt; <BR>&gt; &gt; ------------------------------------------------------------------------------<BR>&gt; &gt; Return on Information:<BR>&gt; &gt; Google Enterprise Search pays you back<BR>&gt; &gt; Get the facts.<BR>&gt; &gt; http://p.sf.net/sfu/google-dev2dev<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ------------------------------------------------------------------------<BR>&gt; &gt; <BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; Geomoose-users mailing list<BR>&gt; &gt; Geomoose-users@lists.sourceforge.net<BR>&gt; &gt; https://lists.sourceforge.net/lists/listinfo/geomoose-users<BR>&gt; <BR>&gt; -- <BR>&gt; Nils Zierath<BR>&gt; <BR>&gt; Center for Development Research<BR>&gt; Department of Ecology and Resource Management<BR>&gt; <BR>&gt; Walter-Flex-Strasse 3<BR>&gt; 53113 Bonn (Germany)<BR>&gt; <BR>&gt; Tel.: +49 (0) 228 - 73-1793<BR>&gt; FAX: +49 (0) 228 - 73-1889<BR>&gt; <BR>&gt; E-Mail: nils.zierath@uni-bonn.de<BR>&gt; Web: http://www.coffee.uni-bonn.de<BR>&gt; http://www.zef.de<BR>&gt; <BR>&gt; ------------------------------------------------------------------------------<BR>&gt; This SF.Net email is sponsored by the Verizon Developer Community<BR>&gt; Take advantage of Verizon's best-in-class app development support<BR>&gt; A streamlined, 14 day to market process makes app distribution fast and easy<BR>&gt; Join now and get one step closer to millions of Verizon customers<BR>&gt; http://p.sf.net/sfu/verizon-dev2dev <BR>&gt; _______________________________________________<BR>&gt; Geomoose-users mailing list<BR>&gt; Geomoose-users@lists.sourceforge.net<BR>&gt; https://lists.sourceforge.net/lists/listinfo/geomoose-users<BR>                                               <br /><hr />Have more than one Hotmail account? <a href=' http://clk.atdmt.com/UKM/go/186394591/direct/01/' target='_new'>Link them together to easily access both.</a></body>
</html>