Depends on the version of MapServer. Certain versions required required (yes that's correct) parameters according to the WMS specification. I recall requiring "style" for example. Problem is that not all clients follow the spec and Google Earth was one example and manually adding "&style=" to the WMS url fixed things. Subsequently we've backed off the required params in a few cases when a major WMS client breaks.
Of course with Google Earth you need to support epsg:4326 as an output projection explicitly as well. Posting version info and mapfile snippets always helps folks respond. Steve >>> Edmar Moretti <[email protected]> 09/29/09 8:56 PM >>> Here's an example that uses Mapserver to generate layers in google earth (i3geo software - http://mapas.mma.gov.br): http://mapas.mma.gov.br/i3geo/kml.php Use the link in the "network link" (link de rede) option. Josh Hevenor escreveu: > I'm wondering if anyone has had success viewing their mapserver WMS > services through Google Earth? I can manually enter a GetMap request and > see the image but when I try to list my layers in the Refresh->WMS > Parameters section I get an error message stating that "This MWS server > has no layers which can be rendered by Google Earth" > > Are there any common trip-ups that others have experienced? I can post > more details if required... > > josh > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > E-mail verificado pelo Terra Anti-Spam. > Para classificar esta mensagem como spam ou não spam, visite > http://ecp.terra.com.br/cgi-bin/reportspam.cgi?+_d=SCY1NDIyNDE3I3Blcm0hdGVycmEmMSwxMjU0MjM1MzYyLjU1NzEzNy4xNzc2Ny5nYW5hbm9xdWUudGVycmEuY29tLDM3NDk=TerraMail > Verifique periodicamente a pasta Spam para garantir que apenas mensagens > indesejadas sejam classificadas como Spam. > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Atualizado em 29/09/2009 > > > > -- Por favor, atualize sua lista de contatos com meu novo e-mail: [email protected] Skype: edmar.moretti Blog: http://edmarmoretti.blogspot.com/ Ohloh: https://www.ohloh.net/accounts/edmarmoretti _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
