File formats

Hidden losses when transferring KML and KMZ

Matching colours on a map do not prove that two files contain the same information. Check geometry, descriptions, elevation interpretation and external references separately.

Distinguish the information being transferred.

KML can contain presentation and description features as well as geographic objects. Transferring a point to another format is different from transferring the complete presentation. Define what must survive: location, attributes, folder organisation, or camera and style information. This list provides a practical basis for testing the chosen conversion.

Inventory the KMZ package.

A KMZ package can contain a KML document and related resources. Icons, images and other assets may be separate from the principal document. A tool that converts only the first KML file has not necessarily transferred the entire package. State what was included and what remained outside the conversion scope.

Do not treat elevation as an unexplained number.

The meaning of an elevation value depends on its interpretation. A display attached to the ground may behave differently from one using absolute elevation. Before deriving measurements or quantities from a presentation, inspect the height settings and source surface. A convincing screen view does not establish the physical accuracy of the height.

Check polygon holes.

Preserving an outer boundary while losing an inner hole changes area without changing the object count. Multipart objects may also be split into separate records. Do not rely solely on feature counts. Inspect part counts, inner rings, sample coordinates and geometry types together when assessing the transferred dataset.

Separate external references from local content.

A KML document can refer to information at another address. Do not assume that every displayed object is contained in the delivery package. Availability, currency and sharing permissions need separate consideration. If a local-file tool does not follow external links, its users should be told explicitly about that limitation.

Test with a small representative set.

Create a control set containing a point, a line, a polygon with a hole and a multipart object. Open the converted result in a second reader. Distinguish missing styles and descriptions from geometry errors. The objective is to demonstrate that required information survives and that any limitations are understood.

InformationCheckPossible loss
GeometryRing and part countsHole or component
PresentationStyles and descriptionsColour, icon or formatting
ReferenceLocal content inventoryExternal resource

Check before handover

  • Inventory the package contents.
  • Define the required properties.
  • Check holes and multipart components.
  • Review height interpretation.
  • Assess external links separately.

Common questions

Is KMZ more accurate than KML?

Compression does not improve positional accuracy. The content and its production method determine accuracy.

Will GeoJSON retain all styles?

A geometry transfer does not guarantee preservation of every application-specific presentation property.

Does a local file mean all content is local?

Not necessarily. The document may refer to external resources. Inspect both the package and its references.

Sources and practice note

Statements about technical standards are supported by the sources. Work sequences, checking suggestions and numerical examples are editorial applications prepared for this article; they do not replace a project specification.

Search the site

Cookie and privacy preferences

Choose which preferences may be saved. Refusing optional storage does not affect access to the content.

Essential choices

Your privacy choice is stored for 180 days and your selected site language for 365 days. These records apply your choices on later visits.

Required
Analytics and advertising

The site does not use analytics, advertising or visitor-tracking tools and does not collect information for these purposes.

Not used