Opened 8 years ago
Closed 8 years ago
#6712 closed enhancement (fixed)
Georeferencing a single image as KMLSUPEROVERLAY with LatLonBox and Icon
Reported by: | Jukka Rahkonen | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
A single image can be georeferenced and shown with Google Earth by creating a KML file that contains a <LatLonBox> element and a reference to corresponding image inside <Icon> element.
A complete kml file can look like this
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom"> <GroundOverlay> <name>Kekkila</name> <color>ffffffff</color> <Icon> <href>shaded.png</href> <gx:altitudeMode>clampToSeaFloor</gx:altitudeMode> <viewBoundScale>1</viewBoundScale> </Icon> <LatLonBox> <north>62.7610090549946</north> <south>62.7465641176054</south> <east>25.3950201433022</east> <west>25.3653842055978</west> </LatLonBox> </GroundOverlay> </kml>
Links to some test data
http://latuviitta.org/downloads/shaded.kmz
Note:
See TracTickets
for help on using tickets.
In 36631: