You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
N/A, as far as I know, but the MIME type of regular GML (application/gml+xml) might be used.
Description
CityGML (City Geography Markup Language) defines a data model and XML-based exchange format for the representation of 3D city and landscape models. It is implemented as a GML application schema, a specialization of the Geography Markup Language.
CityGML was originally developed by the Special Interest Group 3D of the initiative Geodata Infrastructure North-Rhine Westphalia (GDI NRW).
File format identification signatures
At offset 0 from BOF:
XML declaration <?xml version="1.0" (alternatively with single quotes), followed by up to 320 arbitrary bytes (rest of XML declaration + possible whitespace, comments etc.).
CityGML root element, CityModel, preceded by either an angle bracket < or a colon : (it's usually preceded by a namespace prefix and a colon, but might be used without a prefix, hence the bracket). This may be followed by a varying amount of arbitrary bytes (declarations of other namespaces than CityGML, other attributes, ...); let's say up to 1024 bytes since often there are a lot of namespaces involved.
CityGML namespace declaration xmlns + up to 8 bytes + ="http://www.opengis.net/citygml/1.0" (alternatively surrounded by single quotes). The 8 bytes are a placeholder for the namespace prefix which may be pretty much any string chosen by the author of a given CityGML XML file, but is usually reasonably short (and if someone actually wants to use :citygml this fits neatly into 8 bytes).
This format should have priority over regular GML (i.e., x-fmt/227 and fmt/1047) because CityGML is based on GML and uses GML elements, so the GML namespace which is used in the GML identification signatures will usually be present in CityGML as well.
Format name
CityGML
Version number
1.0
PUID
N/A
Extensions
Usually gml or maybe xml
MIME/Media Type
N/A, as far as I know, but the MIME type of regular GML (application/gml+xml) might be used.
Description
CityGML (City Geography Markup Language) defines a data model and XML-based exchange format for the representation of 3D city and landscape models. It is implemented as a GML application schema, a specialization of the Geography Markup Language.
CityGML 1.0 is specified in: Gröger, Gerhard, et al. OpenGIS City Geography Markup Language (CityGML) Encoding Standard. OGC 08-007r1, Open Geospatial Consortium, 20 Aug. 2008, https://web.archive.org/web/20240524220835/https://portal.ogc.org/files/?artifact_id=28802.
See also https://www.ogc.org/standard/citygml/.
Format type
GIS, Text (Mark-up)
Vendor
Open Geospatial Consortium
CityGML was originally developed by the Special Interest Group 3D of the initiative Geodata Infrastructure North-Rhine Westphalia (GDI NRW).
File format identification signatures
At offset 0 from BOF:
<?xml version="1.0"
(alternatively with single quotes), followed by up to 320 arbitrary bytes (rest of XML declaration + possible whitespace, comments etc.).CityModel
, preceded by either an angle bracket<
or a colon:
(it's usually preceded by a namespace prefix and a colon, but might be used without a prefix, hence the bracket). This may be followed by a varying amount of arbitrary bytes (declarations of other namespaces than CityGML, other attributes, ...); let's say up to 1024 bytes since often there are a lot of namespaces involved.xmlns
+ up to 8 bytes +="http://www.opengis.net/citygml/1.0"
(alternatively surrounded by single quotes). The 8 bytes are a placeholder for the namespace prefix which may be pretty much any string chosen by the author of a given CityGML XML file, but is usually reasonably short (and if someone actually wants to use:citygml
this fits neatly into 8 bytes).To summarize:
This format should have priority over regular GML (i.e., x-fmt/227 and fmt/1047) because CityGML is based on GML and uses GML elements, so the GML namespace which is used in the GML identification signatures will usually be present in CityGML as well.
Attribution
Landesarchiv Nordrhein-Westfalen
The text was updated successfully, but these errors were encountered: