![]() This creates a standard, single-image Image Overlay KML. Scale: this will import the full image but will scale it down to a reasonable size, so you will loose resolution.It creates a standard, single-image Image Overlay KML. This is good for testing what the full res looks like. Crop: this will let you import just a part of the image, but at full resolution.Now, when you import, Earth will detect the image size, and if it's too big, it will offer some options: You can control the image size when exporting from QGIS, though be aware that reducing from the defaults may make your image in Earth lower resolution than the original data. So if you want to make sure that anyone can view your KML/KMZ, then you'll want to limit the image size to 2048 max dimension, though for most modern machines, 4096 should be fine. Older/weaker machines may only support upto 2048x2048 pixel images. Most machines will support around 4096x4096 or 8192x8192 pixels max, though some will support higher. To see the max size in Earth Pro, go to Help menu > About Google Earth, and look for "Maximum Texture Size". Google Earth can only overlay images up to a certain size, depending on the graphics capacity of your computer. Notes on image sizes, superoverlays, etc. I almost always set my project and re-project my data to EPSG:4326 to avoid unexpected projection issues. But if you see any projection or positioning issues in Earth, then it's best to do all this with both the dataset and project coordinate reference systems set to WGS84 (EPSG:4326). Note on projections - It shouldn't matter what projection your QGIS Project and data layer use, so long as you export to "EPSG:4326 - WGS 84". If you created a SuperOverlay, it's harder to share, as you'll need to find where it saved it on your hard drive, and copy/share the entire folder.A KMZ is a compressed zip archive that bundles together the necessary KML as well as the image file, making it easy to share and open in Earth. In the save dialog, select file type KMZ, give it a file name & location, and save to your computer.If you created a single image overlay, and not a SuperOverlay, then right-click on the item in your Places list and select "Save Place As.".If you wish to save & share the KML/KMZ file. Click OK to create your image overlay, which will appear as a new item in your Places list.In the "New Image Overlay" dialog, edit the name, transparency, description, and any other settings you wish to change.If your image is bigger than a certain size, then Earth will provide options to import just a part of it, or to create a "KML SuperOverlay".If it tries to create a Photo Overlay, then your GeoTiff file does not contain correct georeferencing info. If you use drag & drop to import (usually faster), then make sure that the import dialog that comes up is for a "New Image Overlay" and not for a "New Photo Overlay". Use File > Open or File > Import, and select the filetype "GeoTIFF". This can be tricky, but try it if needed. No data values: you may need to set these if you have areas of no data that you wish to keep as transparent in the image.Select Columns if you want to set the exact pixel height and width of the image if desired. Extent: use the default extent of layer, unless you want to set it differently.File name: Choose a name and location to save to.(IMPORTANT - this creates the 3-band RGB image needed by Earth) ![]() Right-click on the layer and select Export > Save As to bring up the dialog titled "Save Raster Layer as.".Import your DTM data as a raster layer and style it as you wish. ![]() You should be able to create this by exporting a GeoTiff (image file with embedded coordinate data) from QGIS, and importing it into Google Earth Pro, which will convert to KML (or KMZ) for you. This can be done using a feature called Image Overlay (or in KML terms: GroundOverlay), which takes an image file and defines where on the globe it should be positioned. In this case, it sounds like you want to get a raster dataset into KML for viewing in Google Earth. KML was originally designed for vector data (points/lines/polygons), and many software tools will only export vector data as KML, which is why you don't always see the option in QGIS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |