in getcapabilities you should have something like...

*<GetMap>*
*<Format>image/png</Format>*
*<Format>application/atom+xml</Format>*
*<Format>application/json;type=utfgrid</Format>*
*<Format>application/pdf</Format>*
*<Format>application/rss+xml</Format>*
*<Format>application/vnd.google-earth.kml+xml</Format>*
*<Format>application/vnd.google-earth.kml+xml;mode=networklink</Format>*
*...*

see this

https://docs.geoserver.org/latest/en/user/services/wms/googleearth/quickstart.html#direct-access-to-kml

and in google earth try with network link

http://2014-0301:8080/geoserver/wms/kml?layers=MEMS:AER_WELLS_BH

Daniel Yu <d...@mems.ca> escreveu no dia quinta, 23/09/2021 à(s) 20:27:

> Hi Olivier,
>
>
>
> Yes, I got below and still error in Google Earth.
>
>
>
> Thanks,
>
>
>
> Daniel
>
>
>
>
>
> *From:* Olivier Gagnon <mcno...@hotmail.com>
> *Sent:* September 23, 2021 1:10 PM
> *To:* Daniel Yu <d...@mems.ca>; geoserver-users@lists.sourceforge.net
> *Subject:* Re: WMS layer in Google Earth failed
>
>
>
> CAUTION: This email originated from outside of MEMS. Do not click links
> or open attachments unless you know the content is safe.
>
>
>
> Daniel,
>
>
>
> try with the complete GetCapabilities URL.
>
>
>
> In your case :
>
>
>
>
> http://2014-0301:8080/geoserver/MEMS/ows?request=GetCapabilities&service=WMS
>
>
>
> Try to see if anything comes up with this url in a browser.
>
>
>
> Hope this helps.
>
>
>
> Envoyé à partir d’Outlook <http://aka.ms/weboutlook>
>
>
> ------------------------------
>
> *De :* Daniel Yu <d...@mems.ca>
> *Envoyé :* 23 septembre 2021 14:25
> *À :* geoserver-users@lists.sourceforge.net <
> geoserver-users@lists.sourceforge.net>
> *Objet :* [Geoserver-users] WMS layer in Google Earth failed
>
>
>
> Hi,
>
>
>
> I just started to learn how to setup goeserver in my workstation and
> publish WMS layers, I can successfully see the WMS layer map in ArcGIS
> Desktop, ArcGIS Pro and Global Mapper. Please see example from ArcGIS
> Desktop
>
>
>
>
>
> But in Google Earth, I keep getting “WMS Capability fetch failed” message.
> Does anyone know why and how I can fix it?
>
>
>
>
>
> Thanks,
>
>
>
> Daniel
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 

www.vfonsecaz.pt
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to