# Convert CityGML to GeoPDF

> To convert CityGML (GML (application schema) — CityGML) to GeoPDF (Geospatial PDF (GeoPDF)), upload the CityGML data to the MyGeodata Cloud Converter, select GeoPDF as the output format and download the result — online, without installing GIS software. Upload all parts of the CityGML (.gml, .xsd, .jpg and .png) or one ZIP archive.

- Page: https://beta.mygeodata.cloud/converter/citygml-to-geopdf
- Open the Converter: https://beta.mygeodata.cloud/tools/converter/?format=geopdf
- Input: GML (application schema) — CityGML (CityGML, .gml, .citygml)
- Output: Geospatial PDF (GeoPDF) (GeoPDF, .pdf)

## What happens when you convert CityGML to GeoPDF

- **Keep or change the coordinate system** — The coordinate system of your CityGML data is detected automatically. Keep it, or reproject the GeoPDF output to any of 11,000+ coordinate systems (EPSG, ESRI, IGNF).
- **Layers are preserved** — Both formats store multiple layers, so the layer structure of your CityGML data is kept in GeoPDF.
- **GeoPDF stores points, lines and polygons** — Other geometry types (geometry collections) cannot be represented in GeoPDF. The Converter checks your data first and offers only compatible options.
- **Attributes are carried over** — The attribute columns of your CityGML data are written to GeoPDF. In the options you can choose which attributes to keep.
- **Upload all parts of the CityGML** — A CityGML dataset consists of several files (.gml, .xsd, .jpg and .png). Upload them together or as one ZIP archive — archives (ZIP, 7z, RAR) are unpacked automatically.

## Convert CityGML to GeoPDF in 4 steps

1. **Upload your CityGML data** — Drag and drop all parts of the CityGML (.gml, .xsd, .jpg and .png) or one ZIP archive into the Converter.
2. **Check the input** — The Converter detects layers, attributes and the coordinate system and shows an overview. If the coordinate system is missing, you can assign it.
3. **Choose GeoPDF and options** — Select GeoPDF as the output format. Keep the coordinate system or pick another one. Optional settings let you pick layers, attributes and GeoPDF-specific options.
4. **Download the result** — See the price in credits before you start, run the conversion and download the GeoPDF result.

## CityGML vs. GeoPDF — technical comparison

| | CityGML | GeoPDF |
|---|---|---|
| Full name | GML (application schema) — CityGML | Geospatial PDF (GeoPDF) | 
| Data type | Vector · GIS vector | Vector · Document | 
| File extension | .gml, .citygml | .pdf | 
| Files | Several files: .gml, .xsd, .jpg and .png | Single file | 
| Media type | application/gml+xml | application/pdf | 
| Geometry types | Point, LineString, Polygon, MultiSurface, GeometryCollection | Point, LineString, Polygon | 
| Multiple layers | Yes | Yes | 
| Mixed geometry in a layer | Yes | Yes | 
| Attribute names | — | — | 
| Coordinate system | Any (EPSG, ESRI, custom) | Any (EPSG, ESRI, custom) | 
| Converter support | Read only | Read & write | 
| Typical software | FZKViewer, FME, GDAL/OGR, 3DCityDB, QGIS | Adobe Acrobat, ArcGIS Pro, QGIS, GDAL/OGR, Global Mapper, Avenza Maps | 
| Specification | https://www.ogc.org/standard/citygml/ | https://gdal.org/en/stable/drivers/vector/pdf.html | 

## What is CityGML?

CityGML is an open data model and XML-based encoding for representing virtual 3D city and landscape models. It is an application schema of the Geography Markup Language (GML) standardised by the Open Geospatial Consortium (OGC). The model was originally developed in Germany by the Special Interest Group 3D. It defines thematic classes for buildings, terrain, transportation, vegetation, water bodies, city furniture and land use, each with semantic attributes and relationships, and represents objects at several levels of detail.

A dataset is typically one or more XML files with the .gml extension that validate against the CityGML XSD schemas. Textures are kept as separate image files referenced from the XML. Coordinate reference systems are declared through srsName attributes, and true 3D coordinates are supported. Files can become very large, and the deeply nested structure often requires specialised tools or flattening before use in conventional 2D GIS.

## What is GeoPDF?

A geospatial PDF is a standard PDF document that also carries georeferencing information, so page coordinates can be related to real-world coordinates in a defined coordinate reference system. Two encodings are in common use: an Adobe extension to ISO 32000, and an encoding derived from TerraGo's GeoPDF and published by the Open Geospatial Consortium as a best practice. GeoPDF is a TerraGo trademark. These files are typically used to distribute maps that can be viewed, printed and measured without GIS software.

On the vector side, features are stored as PDF drawing paths that represent points, lines and polygons. Thematic layers are usually organised as optional content groups, which viewers can switch on or off. Feature attributes can be embedded as object data, although not every producer writes them. Because the geometry is tied to page graphics and styling, conversion to GIS formats may lose precision, topology or attribute structure.

## Frequently asked questions

### How do I convert CityGML to GeoPDF?

Open the Converter, drop your CityGML files, check the detected layers and coordinate system, choose GeoPDF as the output and download the result. Everything runs in your browser — there is no software to install.

### Is the CityGML to GeoPDF conversion free?

Everyone gets 3 free credits every 30 days and a small conversion costs from 1 credits, so occasional conversions are free. Bigger or frequent jobs are paid with credit packs (from $2.00) or a monthly plan (from $10.00).

### Can I change the coordinate system during the conversion?

Yes. Keep the original coordinate system or choose another one — the Converter supports 11,000+ coordinate systems, including national grids such as S-JTSK, British National Grid or RD New.

### Which CityGML files do I need to upload?

Upload .gml, .xsd, .jpg and .png together, or pack them into one ZIP archive.

### How large can my CityGML files be?

Without an account you can upload up to 2 GB per file. Signed-in users with a verified e-mail can upload much larger datasets; big jobs run on scalable cloud workers.

### Is my data safe?

Files are transferred over HTTPS and processed in an isolated cloud environment. Without an account they are stored only temporarily and deleted automatically; with an account they stay in your private Data workspace until you delete them.

### Can I automate the CityGML to GeoPDF conversion?

Yes. The same conversion is available through the GeoCzech API — send the CityGML files with the output format "geopdf" and download the GeoPDF result from a script or an ETL pipeline. API access is part of the Basic, Standard and Premium plans.

## Related conversions

- [CityGML to DXF](https://beta.mygeodata.cloud/converter/citygml-to-dxf)
- [CityGML to SHP](https://beta.mygeodata.cloud/converter/citygml-to-shp)
- [CityGML to GeoJSON](https://beta.mygeodata.cloud/converter/citygml-to-geojson)
- [CityGML to XLSX](https://beta.mygeodata.cloud/converter/citygml-to-xlsx)
- [CityGML to GPKG](https://beta.mygeodata.cloud/converter/citygml-to-gpkg)
- [CityGML to CSV](https://beta.mygeodata.cloud/converter/citygml-to-csv)
- [CityGML to KMZ](https://beta.mygeodata.cloud/converter/citygml-to-kmz)
- [CityGML to KML](https://beta.mygeodata.cloud/converter/citygml-to-kml)
- [CityGML to TopoJSON](https://beta.mygeodata.cloud/converter/citygml-to-topojson)
- [CityGML to GPX](https://beta.mygeodata.cloud/converter/citygml-to-gpx)
- [CityGML to FGB](https://beta.mygeodata.cloud/converter/citygml-to-fgb)
- [CityGML to GML](https://beta.mygeodata.cloud/converter/citygml-to-gml)
- [AVCBIN to GeoPDF](https://beta.mygeodata.cloud/converter/avcbin-to-geopdf)
- [KML to GeoPDF](https://beta.mygeodata.cloud/converter/kml-to-geopdf)
- [KMZ to GeoPDF](https://beta.mygeodata.cloud/converter/kmz-to-geopdf)
- [GPX to GeoPDF](https://beta.mygeodata.cloud/converter/gpx-to-geopdf)
- [SHP to GeoPDF](https://beta.mygeodata.cloud/converter/shp-to-geopdf)
- [DXF to GeoPDF](https://beta.mygeodata.cloud/converter/dxf-to-geopdf)
- [DWG to GeoPDF](https://beta.mygeodata.cloud/converter/dwg-to-geopdf)
- [GeoJSON to GeoPDF](https://beta.mygeodata.cloud/converter/geojson-to-geopdf)
- [DGN to GeoPDF](https://beta.mygeodata.cloud/converter/dgn-to-geopdf)
- [GML to GeoPDF](https://beta.mygeodata.cloud/converter/gml-to-geopdf)
- [OSM to GeoPDF](https://beta.mygeodata.cloud/converter/osm-to-geopdf)
- [GPKG to GeoPDF](https://beta.mygeodata.cloud/converter/gpkg-to-geopdf)

