---
title: "How to add Very High Resolution imagery to Google Earth  (WMS)?"
url: "https://openforis.support/questions/495/how-to-add-very-high-resolution-imagery-to-google-earth-wms"
tags: ["collectearth"]
status: "answered"
score: 1
answer_count: 2
asked: "2016-03-10T14:48:31"
last_activity: "2023-01-22T13:53:42"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# How to add Very High Resolution imagery to Google Earth  (WMS)?

Asked by JorgeCast on 2016-03-10

I am trying to add Very High Resolution Imagery from the Spanish ortophoto project PNOA to Google Earth.

This is the link to the PNOA Web Mapping Service WMS=http://www.ign.es/wms-inspire/pnoa-ma?Request=GetCapabilities&Service=WMS

I've tried and the result is the attached file.
Thank you
![alt text][1]


  [1]: http://www.openforis.org/support/upfiles/Google_Earth.jpg


## Answer (score 1, by Open Foris on 2016-03-13)

Link: https://openforis.support/questions/495/how-to-add-very-high-resolution-imagery-to-google-earth-wms/496

Dear Jorge,

In order to add a WMS service carrying Very High Resolution imagery to the Google Earth interfaceyou need to add an image overlay to Google Earth and set the "Refresh" parameters adding the WMS URL.

This is a good explanation on how to do it:
[Adding a WMS linkto Google Earth][1]

Once you have an image-overlay working you can actually save it as KML or KMZ from Google Earth.

 - This is an example of the PNOA imagery (You need to zoom into Spain) : [LINK][2] ( It uses a different URL so I am not sure if it is the same one you are refering to : http://www.idee.es/wms/PNOA/PNOA?VERSION=1.1.1)
 - This is from the USGS ortophoto archive (only in the US): [LINK][3]

Sometimes WMS servers can beery slow so take that into account...

  [1]: http://gis.stackexchange.com/questions/89714/how-to-link-geoserver-wms-layer-to-google-earth
  [2]: https://www.dropbox.com/s/i8t7shmqp3rshrv/PNOA.kmz?dl=0
  [3]: https://www.dropbox.com/s/a5hq7pb11poty1z/USGS%20Ortophoto.kml?dl=0


## Answer (score 0, by collectearth on 2016-11-01)

Link: https://openforis.support/questions/495/how-to-add-very-high-resolution-imagery-to-google-earth-wms/844

I have bee reviewing the original question and it seems that the problem when adding the original WMS service was due to the FORMAT and the WIDTH and HEIGHT that is set automatically by Google Earth when adding the image overlay!

So it seems that Google Earth automatically chooses the **image/gif** format to fetch the WMS imagery. This shows strange colors on the image!!

If you **change the FORMAT to image/jpeg** ( by right clicking on the image overlay icon on the left frame and choosing Properties ) on the description of the image overlay then the colors go back to normal and you see the ortophoto with the original colors. It seems however that the imagery from Google Earth is better than that from PNOA.

Finally in order to get a better resolution of the imagery you also need to change the WIDTH and HEIGHT parameters to 4096. The WIDTH and HEIGHT parameters for other WMS services might be different. For instance 2048x2048 or 1024x1024.



![alt text][1]

![alt text][2]

These are examples of URLs that work well:

SPAIN PNOA ( [MORE INFO][3] AND [HERE][4]):
----------------------------------------

[http://www.ign.es/wms-inspire/pnoa-ma?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&WIDTH=**1024**&HEIGHT=**1024**&LAYERS=OI.OrthoimageCoverage&STYLES=default&TRANSPARENT=TRUE&FORMAT=**image/jpeg**][5]

[http://www.idee.es/wms/PNOA/PNOA?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&WIDTH=**4096**&HEIGHT=**4096**&LAYERS=PNOA&STYLES=default&TRANSPARENT=TRUE&FORMAT=**image/jpeg**][6]

ITALIAN ORTOFOTOS 2000 ([MORE INFO GEOPORTALE NAZIONALE][7]):
----------------------------------------

[http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_00.map&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&WIDTH=**2048**&HEIGHT=**2048**&LAYERS=OI.ORTOIMMAGINI.2000.&STYLES=default&TRANSPARENT=TRUE&FORMAT=**image/jpeg**][8]

GUATEMALA SINIT ORTOPHOTOS 2006 ( [MORE INFO][9] ):
----------------------------------------

[http://ide.segeplan.gob.gt/cgi-bin/mapserv.exe?map=/ot_web/ot_overview_1.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&WIDTH=**2048**&HEIGHT=**2048**&LAYERS=map_generated_by_gvsig&STYLES=default&TRANSPARENT=TRUE&FORMAT=**image/jpeg**&][10]

COSTA RICA ( [MORE INFO SNIT SERVICE][11] ):
----------------------------------------

[http://geos0.snitcr.go.cr/cgi-bin/web?map=ortofoto.map&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&WIDTH=**2048**&HEIGHT=**2048**&LAYERS=ORTOFOTO&STYLES=default&TRANSPARENT=TRUE&FORMAT=**image/jpeg**&][12]


URUGUAY ( [FROM THE IDEuy GEOPORTAL][13] )
------------------------------------
Here it is important to note that the SRS must be set to EPSG:4326 as this is the system used by Google Earth to define the bounding box of the view! In the Uruguayan geoportal they use their national coordinate system instead:

[https://mapas.ide.uy/geoserver-raster/ortofotos/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/jpeg&TRANSPARENT=true&LAYERS=ortofotos:ortofoto_infrarroja_nacional&WIDTH=1024&HEIGHT=1024&SRS=EPSG:4326][14]

[https://mapas.ide.uy/geoserver-raster/ortofotos/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/jpeg&TRANSPARENT=true&LAYERS=ortofotos:ortofoto_nacional&WIDTH=1024&HEIGHT=1024&SRS=EPSG:4326][15]

[KML File with the 2017-2018 natural and infra-red layers][16] 

GUATEMALA( [FROM THE IDEG GEOPORTAL][17] )
------------------------------------
The WMS URL used is this one : 

https://ideg.segeplan.gob.gt/geoserver/wms?service=wms&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&LAYERS=ortofotos-imagenes:ORT&WIDTH=2048&HEIGHT=2048

[KMZ File with the 2016 Ortophotos of Guatemala][18] 


  [1]: http://www.openforis.org/support/upfiles/googleearth_2016-11-01_11-08-43.png
  [2]: http://www.openforis.org/support/upfiles/googleearth_2016-11-01_11-05-56.png
  [3]: https://pnoa.ign.es/enlaces-relacionados
  [4]: https://www.idee.es/web/guest/directorio-de-servicios?p_p_id=DIRSRVIDEE_WAR_DIRSRVIDEEportlet_INSTANCE_KXnVu4qMJc1J&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_DIRSRVIDEE_WAR_DIRSRVIDEEportlet_INSTANCE_KXnVu4qMJc1J_tipoServicio=WMS&_DIRSRVIDEE_WAR_DIRSRVIDEEportlet_INSTANCE_KXnVu4qMJc1J_supertipo=OGC&_DIRSRVIDEE_WAR_DIRSRVIDEEportlet_INSTANCE_KXnVu4qMJc1J_tipoAmbito=ESTATAL&_DIRSRVIDEE_WAR_DIRSRVIDEEportlet_INSTANCE_KXnVu4qMJc1J_descSrv=VISUALIZACION
  [5]: http://www.ign.es/wms-inspire/pnoa-ma?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&WIDTH=1024&HEIGHT=1024&LAYERS=OI.OrthoimageCoverage&STYLES=default&TRANSPARENT=TRUE&FORMAT=image/jpeg
  [6]: http://www.idee.es/wms/PNOA/PNOA?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&WIDTH=4096&HEIGHT=4096&LAYERS=PNOA&STYLES=default&TRANSPARENT=TRUE&FORMAT=image/jpeg
  [7]: http://www.pcn.minambiente.it/mattm/servizio-wms/
  [8]: http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/WMS_v1.3/raster/ortofoto_colore_00.map&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&WIDTH=2048&HEIGHT=2048&LAYERS=OI.ORTOIMMAGINI.2000.&STYLES=default&TRANSPARENT=TRUE&FORMAT=image/jpeg
  [9]: http://ide.segeplan.gob.gt/geoportal/servicios.html
  [10]: http://ide.segeplan.gob.gt/cgi-bin/mapserv.exe?map=/ot_web/ot_overview_1.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&WIDTH=2048&HEIGHT=2048&LAYERS=map_generated_by_gvsig&STYLES=default&TRANSPARENT=TRUE&FORMAT=image/jpeg&
  [11]: http://www.snitcr.go.cr/servicios_ogc
  [12]: http://geos0.snitcr.go.cr/cgi-bin/web?map=ortofoto.map&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&WIDTH=2048&HEIGHT=2048&LAYERS=ORTOFOTO&STYLES=default&TRANSPARENT=TRUE&FORMAT=image/jpeg&
  [13]: https://visualizador.ide.uy/ideuy/core/load_public_project/ideuy/
  [14]: https://mapas.ide.uy/geoserver-raster/ortofotos/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/jpeg&TRANSPARENT=true&LAYERS=ortofotos:ortofoto_infrarroja_nacional&WIDTH=1024&HEIGHT=1024&SRS=EPSG:4326
  [15]: https://mapas.ide.uy/geoserver-raster/ortofotos/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/jpeg&TRANSPARENT=true&LAYERS=ortofotos:ortofoto_nacional&WIDTH=1024&HEIGHT=1024&SRS=EPSG:4326
  [16]: https://drive.google.com/file/d/1ob1b9XkDePZTnPshMmFo3hnUSNatIZVp/view?usp=sharing
  [17]: https://ideg.segeplan.gob.gt/geoportal/
  [18]: https://drive.google.com/file/d/1REDE_eMpJgroRzr3JoV1KfFm41Ex83Wl/view?usp=sharing
