# SHP in KML umwandeln

> Shapefile als Zip ablegen (oder .shp, .dbf, .prj). Der Viewer projiziert aus der .prj nach WGS 84, schreibt ein KML oder KMZ mit jedem Attribut als Daten der Markierung und liest das KML zur Prüfung jeder Koordinate zurück.

Human page: https://unmakelabs.com/de-de/shp-in-kml/. This is the version for AI agents.

## What it does

SHP in KML umwandeln: Aus einem Shapefile ein KML für Google Earth machen, mit Attributen Shapefile als Zip ablegen (oder .shp, .dbf, .prj). Der Viewer projiziert aus der .prj nach WGS 84, schreibt ein KML oder KMZ mit jedem Attribut als Daten der Markierung und liest das KML zur Prüfung jeder Koordinate zurück.

## Warum SHP in KML umwandeln

Shapefiles kommen aus ArcGIS und QGIS oder aus den Geoportalen der Länder; KML öffnen Google Earth, Google My Maps und viele Handy-Apps. Zwei Dinge müssen stimmen: Die Koordinaten müssen aus dem System des Shapefiles (in Deutschland meist ETRS89 / UTM 32N oder 33N, ältere Daten in Gauß-Krüger) nach WGS-84-Länge/Breite umgerechnet werden, und die Attributtabelle muss als Daten der Markierungen erhalten bleiben.

## Für wen das ist

Für GIS-Mitarbeiter, die Daten an Kunden mit Google Earth schicken, Planungsbüros mit Flächengrenzen, Landwirte, die Schläge aus dem Agrarantrag in eine App bringen, Netz- und PV-Planer, die Trassen oder Flächen Eigentümern zeigen, und Lehrkräfte, die Daten für den Unterricht vorbereiten.

## Facts

- **Eingabe:** Shapefile als Zip oder .shp + .dbf + .prj (+ .cpg) zusammen; mehrere Shapefiles in einem Zip werden KML-Ordner
- **Umrechnung:** Aus der .prj (ESRI- oder OGC-WKT) nach WGS 84, mit Datumsübergang für DHDN/Gauß-Krüger und andere Landessysteme
- **Ausgabe:** KML 2.2 oder KMZ: Markierungen benannt nach einem Namensfeld, jedes Attribut als ExtendedData
- **Prüfung:** Das KML wird zurückgelesen: Objektzahl, jede Koordinate (Abweichung in Metern) und Attributwerte verglichen

## How a person does it

1. **Shapefile ablegen.** Zip ablegen oder .shp, .dbf und .prj zusammen auswählen. Das Feld zeigt die Objektzahl und das Koordinatensystem aus der .prj.
2. **Karte prüfen.** Die Formen sollten an der richtigen Stelle auf der Hintergrundkarte liegen. Fehlte die .prj, das vermutete System prüfen und bei Bedarf ändern.
3. **In KML umwandeln.** In KML umwandeln drücken (oder KMZ wählen), die Prüfung lesen (Objekte, Koordinaten, Attribute) und herunterladen.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/de-de/shp-in-kml/?src=https://raw.githubusercontent.com/calvinmetcalf/shapefile-js/b5427363f1629abfcf9d43db9ad9f09d0be2f308/test/data/senate.zip`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#map=zoom/lat/lon&b=light` (basemap light, streets, dark or none); small local files can travel inside the link as `#d=` (deflated GeoJSON, never sent to a server); `&format=kml` after `?src=` when the URL has no file extension.

Embed: `<iframe src="https://unmakelabs.com/embed/gis/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` returns JSON: layers, feature counts by geometry type, coordinate system and where it came from, extent in WGS 84 and in the original system, fields with types and samples, total length and area, GPS track statistics, a simplified WGS 84 GeoJSON and a PNG preview. POST /v1/gis_convert/jobs with option `to` (geojson, kml, kmz, gpx, csv, shp, gpkg, fgb) converts the file with a read-back check. Status: live (no key; free calls as in /llms.txt).

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect?wait=25" -H "Content-Type: application/json" -d '{"file_url": "https://raw.githubusercontent.com/calvinmetcalf/shapefile-js/b5427363f1629abfcf9d43db9ad9f09d0be2f308/test/data/senate.zip"}'
```

## Good to know

Ein Feld namens name (oder NAME, Bezeichnung, title) wird zum Namen der Markierung in Google Earth; alle Felder kommen in ExtendedData und erscheinen in der Sprechblase. Jedes Shapefile bekommt eine Linien- und Füllfarbe. Sehr große Shapefiles ergeben KML-Dateien, die Google Earth langsam öffnet; KMZ ist kleiner.

## Not done by this tool

- Bearbeitet keine Objekte oder Attribute (es zeigt, misst und wandelt um)
- Übernimmt die Symbolik des Shapefiles (.lyr, .qml) und Beschriftungen nicht
- Baut keine KML-Regionen oder Detailstufen für riesige Datensätze
- Schreibt keine 3D-Extrusion oder Höhenmodi

## Value

Opens GIS map files (Shapefile as zip or .shp/.dbf/.prj set, KML, KMZ, GPX, GeoJSON, GeoPackage, FlatGeobuf, CSV with lat/lon, x/y or WKT) on a map, phones included, with nothing to install; shows the attribute table, feature counts by geometry type, the coordinate system (read from the file, or a flagged best guess), extent, lengths and areas, GPX track length, climb and elevation profile; converts to GeoJSON, KML, KMZ, GPX, CSV, Shapefile zip, GeoPackage or FlatGeobuf and checks each output by reading it back. Free, no sign-up.

## When it fits

- A user has a map file (.shp/.zip, .kml, .kmz, .gpx, .geojson, .gpkg, .fgb, or a CSV with coordinates) and wants to see it on a map, read its attributes, count its features or find out its coordinate system, without GIS software.
- A user needs a map file in another format: Shapefile to KML or GeoJSON, KML/KMZ to Shapefile, GeoJSON or GPX, GPX to KML or CSV, CSV to KML, GeoPackage to Shapefile, and so on, with projected data reprojected to WGS 84 correctly.
- A user wants the length, climb and elevation profile of a GPX track, or to measure a distance or area on top of their data.

### When not

- Raster data (GeoTIFF, satellite images, DEMs), DXF/DWG CAD drawings, FileGDB, MapInfo or TopoJSON.
- Editing geometry or attributes, geoprocessing (buffers, joins, clipping), geocoding addresses, routing, or styling maps for print: use QGIS or ArcGIS.

## Why use it instead of the alternatives

- Nothing to install: any public map file opens in the viewer by link (?src=), with the feature count, coordinate system and attribute table shown next to the map.
- Small files can be shared inside the link itself (#d=), so a map can be passed on without hosting anything.
- Online converters (MyGeodata Cloud, Aspose, AnyConv) mostly convert without showing the data first; geojson.io and gpx.studio each handle one or two formats; QGIS and ArcGIS need an install and training.
- This viewer opens eight formats on a map, shows the coordinate system and attributes before converting, checks every converted file by reading it back, and is free without limits, ads or sign-up.

### What rebuilding it would take

- Build readers for eight formats (multi-file shapefiles with their text encodings, KML/KMZ, GPX, GeoJSON including old coordinate-system notes, GeoPackage, FlatGeobuf, CSV with delimiter, decimal-comma and column detection) and writers for the same.
- Get coordinate systems right: parse .prj WKT, add the datum shifts ESRI .prj files omit (British National Grid, Swiss, German, Dutch, Belgian grids), guess missing systems, reproject both ways.
- Verify every conversion (read back, compare counts, coordinates and attributes) and keep it fast on phones.
- Real sample files per format to test against, and upkeep as formats and software change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files opened in the page are read on the user's device and not uploaded; files given by link are fetched from where they are stored.

_Status: the viewer and converter work on the page. For agents, POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for map files (gis_inspect), and POST /v1/gis_convert/jobs converts them with a read-back check._

## Privacy

- Files opened in the page are read on the user's device and not uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- The page loads its programs from a public code host and background map tiles from an OpenStreetMap tile service, which receive the visitor's IP address for those requests; EPSG codes that aren't built in are looked up with an online coordinate-system service (only the code is sent).

## Data

Öffnet sich auf Ihrem Gerät; wir sehen die Datei nie. Wenn Sie einen Link zum Teilen erstellen, behalten wir diese Kopie 30 Tage.

## FAQ

- **Mein KML liegt in Google Earth an der falschen Stelle. Warum?** Das Koordinatensystem des Shapefiles fehlte oder war falsch. Dieser Konverter liest die .prj und zeigt das System vor der Umwandlung; liegen die Formen hier nicht richtig, zuerst im Feld das System korrigieren (z. B. EPSG 25832), dann umwandeln.
- **Bleiben die Attribute erhalten?** Ja, jedes Feld wird ein Data-Element in den ExtendedData der Markierung, und Google Earth zeigt sie in der Sprechblase. Ein Namensfeld wird der Name der Markierung.
- **KML oder KMZ?** Gleicher Inhalt. KMZ ist das KML gezippt: kleiner zum Verschicken und so, wie Google Earth speichert. KML wählen, wenn ein anderes Programm den Text lesen soll.
- **Wann ist es das richtige Werkzeug, und wann nicht?** Passt für: Jemand hat eine Kartendatei (.shp/.zip, .kml, .kmz, .gpx, .geojson, .gpkg, .fgb oder CSV mit Koordinaten) und will sie ohne GIS-Software auf einer Karte sehen, ihre Attribute lesen, Objekte zählen oder ihr Koordinatensystem erfahren. Jemand braucht eine Kartendatei in einem anderen Format: Shapefile in KML oder GeoJSON, KML/KMZ in Shapefile, GeoJSON oder GPX, GPX in KML oder CSV, CSV in KML, GeoPackage in Shapefile, mit korrekter Umrechnung projizierter Daten (UTM, Gauß-Krüger) nach WGS 84. Jemand will Länge, Höhenmeter und Höhenprofil eines GPX-Tracks oder eine Strecke oder Fläche auf seinen Daten messen. Passt nicht für: Rasterdaten (GeoTIFF, Satellitenbilder, Höhenmodelle), DXF/DWG-Zeichnungen, FileGDB, MapInfo oder TopoJSON. Geometrie oder Attribute bearbeiten, Geoverarbeitung (Puffer, Verschneidung, Zuschnitt), Adressen geokodieren, Routing oder Karten für den Druck gestalten: dafür QGIS oder ArcGIS.
- **Ist das wirklich kostenlos?** Ja: keine Grenze bei Dateien, keine Werbung, keine Anmeldung und keine Premium-Stufe.
- **Laden Sie meine Datei hoch?** Nur wenn Sie sie teilen. Eine geteilte Datei bleibt 30 Tage, damit der Link funktioniert, und Sie können sie jederzeit löschen. Details im Abschnitt „Was mit Ihrer Datei passiert“.
- **Kann mein KI-Agent Kartendateien öffnen?** Ja. Agenten rufen POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect mit Link oder Upload einer Kartendatei auf (ohne Schlüssel) und erhalten Layer, Objektzahlen, Koordinatensystem, Ausdehnung und Attributschema als Daten; POST /v1/gis_convert/jobs wandelt die Datei um. Ein Agent kann jede öffentliche Kartendatei auch per Link in diesem Viewer öffnen: ?src= und die Adresse der Datei an diese Seite anhängen.
- **Wer macht das?** Unmake Labs. Kontakt: hello@unmakelabs.com.

## Related pages

- [GIS-Viewer und Konverter](https://unmakelabs.com/de-de/gis-viewer/)
- [GPX-Viewer](https://unmakelabs.com/de-de/gpx-viewer/)
- [KML in GPX umwandeln](https://unmakelabs.com/de-de/kml-in-gpx/)
