Convert GML to KMZ

Turn GML files into KMZ. A KMZ, the zipped KML Google Earth opens, in WGS 84 with each feature as a placemark and its attributes as extended data.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop GML files on the dialor turn it to pick what to do

Map features that open in Google Earth.Each GML feature becomes a placemark, in WGS 84, with its attributes kept.

  1. What you get

    One KMZ, the zipped KML that Google Earth opens. Each feature becomes a placemark, and its attributes are stored as extended data.

    The coordinates are in WGS 84. Features that have no geometry are left out, because a placemark needs a place on the map.

  2. Coordinate systems

    Coordinates in another system, such as Korea's EPSG:5186, are converted to WGS 84. Data that names no system is taken as WGS 84 when its coordinates fit.

    If the coordinates do not fit WGS 84, the conversion stops with unsupported_elements.

  3. Several layers

    When the GML holds several layers, they are joined into one KMZ. A layer column names the layer each feature came from, so you can still tell them apart.

    To go the other way, use KMZ to GML.

GML and KMZ.What each format is.

The formats

From · GML

GML

Geography Markup Language, the OGC's XML for map features, as WFS services send it.

Extensions
.gml
MIME type
application/gml+xml
Kind
Text and data
To · KMZ

KMZ

A zipped KML with its icons and overlays.

Extensions
.kmz
MIME type
application/vnd.google-earth.kmz
Kind
Text and data

In your code.The same GML to KMZ conversion through the API, for your app or your agent.

terminal
$ cv convert report.gml report.kmz
$ cv convert report.gml report.kmz

Questions.What people ask about GML to KMZ.

01OF 04

Yes. Each feature's attributes are written as extended data on its placemark.

They are left out of the KMZ. A placemark needs a geometry to be placed on the map.

Yes. Coordinates in another system, such as EPSG:5186, are converted to WGS 84.

The GML names no coordinate system, and its coordinates do not fit WGS 84. Data like that cannot be placed on the map, so the conversion stops.

More conversions.Other ways in and out of GML and KMZ.