[Geomoose-users] Wms layer showing pinkish tiles.

CoFIS Web coffee at uni-bonn.de
Mon Dec 21 03:01:55 EST 2009


You need to use 4326, which is the projection of the WMS. As said 
before, GM takes care of reprojecting the WMS to your application 
projection. The overlay will not be perfect, however, as Dan pointed out 
a few weeks ago (Topic "NASA OnEarth wms").

Nils

FRANZ OKYERE schrieb:
> Yes Richard, I'm kind of getting confused a bit here. I know a 
> projection helps in overlaying different layers of the same areas- not 
> wrt of distortions.  I have tried two different projections-4326, and 
> 2264, which is the proj my other layers are using.so whats going on? I 
> don't know. Franz
> 
> ------------------------------------------------------------------------
> From: richard.moore at mnsu.edu
> To: franzzoa at hotmail.com; geomoose-users at lists.sourceforge.net
> Date: Thu, 17 Dec 2009 08:09:34 -0600
> Subject: RE: [Geomoose-users] Wms layer showing pinkish tiles.
> 
> This is the site for the NASA Global Mosaic.  It is the version for use 
> in Google Earth, but if you take a look at the images in Google Earth, 
> the Global Mosaic shows up over Ghana.
> 
>  
> 
> http://onearth.jpl.nasa.gov/KML.html
> 
>  
> 
> What is your EPSG projection that you are using for your base data?  I 
> looked back at your earlier post and it seems you used 2264.  Querying 
> that number shows a projection for North Carolina.  Am I wrong on this?
> 
>  
> 
> Querying Ghana and EPSG shows a value of 2136.
> 
>  
> 
> What number are you using in this area?
> 
>  
> 
>  > 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
> 
>  
> 
> Rick
> 
>  
> 
>  
> 
>  
> 
> *From:* FRANZ OKYERE [mailto:franzzoa at hotmail.com]
> *Sent:* Thursday, December 17, 2009 7:22 AM
> *To:* geomoose-users at lists.sourceforge.net
> *Subject:* Re: [Geomoose-users] Wms layer showing pinkish tiles.
> 
>  
> 
> 
>  Well my area of interest in Africa, Ghana, Accra to be specific so I am 
> not sure of the coverage of aerials Rick.
>  
>  
> 
> ------------------------------------------------------------------------
> 
> Date: Thu, 17 Dec 2009 05:15:14 -0800
> From: danlittle at yahoo.com
> Subject: Re: [Geomoose-users] Wms layer showing pinkish tiles.
> To: franzzoa at hotmail.com; geomoose-users at lists.sourceforge.net
> 
> Is there any chance you are willing to use an aerial OTHER than the Nasa 
> Global Mosaic?
> 
>      
> 
>     *From:* FRANZ OKYERE <franzzoa at hotmail.com>
>     *To:* geomoose-users at lists.sourceforge.net
>     *Sent:* Thu, December 17, 2009 7:09:36 AM
>     *Subject:* Re: [Geomoose-users] Wms layer showing pinkish tiles.
> 
>     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'>
>      > > http://onearth.jpl.nasa.gov/wms.cgi
>      > > <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.coffee.uni-bonn.de/>
>      > http://www.zef.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
> 
>     ------------------------------------------------------------------------
> 
>     Have more than one Hotmail account? Link them together to easily
>     access both.
> 
>  
> 
> ------------------------------------------------------------------------
> 
> View your other email accounts from your Hotmail inbox. Add them now. 
> <http://clk.atdmt.com/UKM/go/186394592/direct/01/>
> 
> 
> ------------------------------------------------------------------------
> Use Hotmail to send and receive mail from your different email accounts. 
> Find out how. <http://clk.atdmt.com/UKM/go/186394592/direct/01/>
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> 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

-- 
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: coffee at uni-bonn.de

Web:    http://www.cofis.info/atlas
         http://www.coffee.uni-bonn.de




More information about the Geomoose-users mailing list