Skip to content

CZML Export

Build and export CZML documents.

czml

CZML export module for cesiumkit.

CzmlDocument

Builds a CZML document from cesiumkit entities.

add_packet(packet)

Add a raw CZML packet dict.

add_entity(entity)

Add a cesiumkit Entity, converting it to a CZML packet.

to_list()

Return the complete CZML document as a list of packets.

to_json(indent=2)

Return the CZML document as a formatted JSON string.

save(path)

Save the CZML document to a file.