KML Geographic Data
Maps & GPSKML is XML for points, lines, polygons, descriptions and presentation. Coordinates generally use longitude, latitude, altitude. External images/network links may be referenced, so the file alone may not contain every display resource.
- What it is used for
- Map presentation of geometry, descriptions and styles
- What the file contains
- Text
All sections, questions and sources
Content reviewed: · Editor:Kai
Opening steps
Choose your environment or purpose to see its steps.
Menu labels and support vary by app, OS and version. Preserve the original before making changes.
Troubleshooting by symptom
- Wrong location: check coordinate ordering and original CRS.
- Missing image: check relative paths, resources and reference availability.
- Partial rendering: check element/extension support.
- Moved offshore: inspect longitude/latitude order and source transformation.
- Missing icon: inspect relative paths and asset location.
- Wrong altitude: compare altitude mode and source reference.
KML → KMZ / GeoJSON
- Use KMZ export to package resources and check links.
- For data exchange, select layers and compare geometry/properties.
- Validate coordinates, altitude and image references after export.
Other formats may lose styles, presentation, tours or 3D resources; renaming is not conversion.
Verify longitude, latitude and altitude order
Confusing KML coordinate order with latitude-first tables can move features; compare known points.
Source for these steps:Google · KML Reference / Google · KMZ Files / QGIS Project · Opening Data
Preserve presentation dependencies
Preserve referenced images or package them in KMZ and validate paths.
Online references depend on connectivity/access; test required rendering at the destination.
Source for these steps:Google · KML Reference / Google · KMZ Files / QGIS Project · Opening Data
Related-format differences
| Format | Main role | What to check |
|---|---|---|
| KML | XML geographic data | Coordinates/altitude/references |
| KMZ | KML/assets package | Internal relative paths |
| GeoJSON | JSON geographic data | Styling/attribute differences |
Handling and security
Review locations/external references; avoid blindly loading unknown network links or uploading private locations.
Questions and answers
Can I use a text editor?
For structure inspection; use a map application for rendering.
Is it identical to KMZ?
KMZ packages KML and resources.
Does latitude come first?
KML coordinate tuples use longitude before latitude.
Does KML alone preserve overlays?
Inspect referenced assets and access requirements.
Does renaming KML to XML create a map?
KML uses XML, but geographic rendering needs a compatible application.
Format facts: name, steward and MIME type
- Formal name
- Keyhole Markup Language
- Steward / specification
- Open Geospatial Consortium / application vendors
- MIME type
- Depends on the producer or server; an extension alone does not establish a MIME type.
Primary and official sources
- Official documentationKML Reference
Documents KML geometry, coordinate order and references.
Google · Link checked: - Official documentationKMZ Files
Explains archive structure and relative resource paths.
Google · Link checked: - Official documentationOpening Data
Load vector and GPX data as layers.
QGIS Project · Link checked: