[Geomoose-users] Wms layer showing pinkish tiles.

FRANZ OKYERE franzzoa at hotmail.com
Thu Dec 17 08:09:36 EST 2009


Hi Rick,

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. 

 

Franz

 

 

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


More information about the Geomoose-users mailing list