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