OSM map: get KML instead of converting DWG → KML

Looking to turn a map from DWG into KML? If your data comes from OpenStreetMap, you do not need an intermediate DWG file: osm2cdr builds the map straight from the OSM source and hands you a ready KML. That is faster and more accurate than the chain "download DWG → upload to a converter → get KML": you pick an area on the map, choose the KML format and download the result with up-to-date OSM data and layers for buildings, roads, water and features.

Example OpenStreetMap map in KML format
Example OSM map export to KML

How DWG differs from KML

FormatExtensionTypePurpose
DWG.dwgCADArchitectural design, master plans, construction documentation, land surveying
KML.kmlGISViewing in Google Earth, geodata sharing, creating tourist routes, presentations

How to get KML on osm2cdr

  1. 1Select an area on the map on the osm2cdr home page
  2. 2Choose the KML format and, if needed, a style and CRS
  3. 3Click Export and download the ready KML file

KML format properties

Extension.kml
TypeGIS
PurposeViewing in Google Earth, geodata sharing, creating tourist routes, presentations

When you need KML

The KML format is handy when you need to open the result in a dedicated program and keep working with the map: editing, printing, analysing or embedding it in a project. osm2cdr delivers KML split into layers with up-to-date OpenStreetMap data, so the file is ready to use right after download.

More about the KML format

What changes when going DWG → KML

Going DWG → KML, drawing layers become feature layers. The DWG format has no attribute schema, so geometry is carried over and an explicit projection is added — GIS cannot work without one. osm2cdr builds KML straight from OpenStreetMap geodata, with ready attributes and a coordinate system, and no intermediate DWG file.

If you have your own DWG file (not from OSM)

osm2cdr does not accept or convert third-party DWG files: the service works only with OpenStreetMap data. If you already have your own DWG file that is not from OSM, convert it to KML with third-party tools: GDAL/ogr2ogr from the command line or QGIS — open the DWG and save the layer as KML. It is free and runs locally, with no cloud upload.

FAQ: DWG → KML

Can I upload my DWG file?

Not yet: we don't support uploading DWG files at the moment, so convert your file to KML with ogr2ogr or QGIS. And if your data comes from OpenStreetMap, you don't need a file at all — osm2cdr exports the map straight into KML.

Is it free?

Yes, exporting an OpenStreetMap map to KML on osm2cdr is free. Select an area, the KML format and download the result.

Which programs open KML?

The KML format opens in dedicated programs for its category. See the KML format page for the full list and details.

Why is this better than an online DWG → KML converter?

An online converter caps the result quality at the quality of the source DWG file. osm2cdr takes data from the OpenStreetMap source and builds KML with correct layers directly — with no loss on an intermediate DWG file.

Related conversions