Which MIME types are related to file extension ".i3dm"?
The .i3dm file extension is associated with 3 MIME types:
application/json, application/octet-stream, application/vnd.maxar.archive.3tz+zip.
A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.
About .i3dm Files
I3DM files are part of the 3D Tiles Archive File Format.
They store instanced 3D model data used to efficiently render many identical objects in a 3D scene. These files combine binary geometry with metadata, sometimes using JSON for configuration.
- Main Use: Instancing repeated 3D models such as trees or buildings in large geospatial scenes.
- Supported MIME Types: application/json for structured data, application/octet-stream for raw binary content, and application/vnd.maxar.archive.3tz+zip for compressed archives.
- Software: 3D visualization tools like Cesium and various GIS applications can open or process these files.
- Technical Note: The use of binary and JSON data helps optimize performance and reduce load times in interactive 3D applications.
Relationship between file extension and MIME type
A file extension is a suffix at the end of a filename that indicates what type of file it is. File extensions help both users and operating systems identify what application should be used to open the file.
File extensions are typically separated from the filename by a period (dot) and consist of 2-4 characters, though they can be longer. For example, in the filename "document.pdf", ".pdf" is the file extension.
File extensions are closely related to MIME types, as they both serve to identify the format of a file. However, while MIME types are used primarily by web browsers and servers, file extensions are used by operating systems and applications.
Associated MIME types
application/json, application/octet-stream, application/vnd.maxar.archive.3tz+zip
FAQs
What is an .i3dm file?
An .i3dm file is an Instanced 3D Model tile used within the OGC 3D Tiles standard. It is designed to efficiently render large numbers of identical 3D objects, such as trees, streetlights, or bolts, by referencing a single model and defining unique positions, rotations, and scales for each instance.
How do I open an .i3dm file?
You cannot open this file with a standard image viewer; it requires geospatial visualization software like CesiumJS, Cesium ion, or other GIS platforms that support the 3D Tiles specification. Developers can also inspect the file structure using command-line utilities like the 3d-tiles-tools library.
Can I convert .i3dm files to GLTF or GLB?
Yes, an .i3dm file typically embeds a standard glTF or GLB model as its payload. You can extract this internal model using specialized tools such as 3d-tiles-tools to convert the instanced tile back into a standard .glb file for use in Blender or other 3D editors.
What is the difference between .i3dm and .b3dm?
While both are 3D Tiles formats, .i3dm (Instanced 3D Model) is used for rendering many copies of the same model at different locations. In contrast, .b3dm (Batched 3D Model) is used for heterogeneous geometry, such as a group of unique buildings combined into a single batch for performance.
Is an .i3dm file text-based or binary?
The file is primarily binary, containing a header and a binary body that embeds geometry data. However, it often includes a JSON header for the Feature Table and Batch Table, meaning parts of it can be read as text, while the bulk is binary data often served as application/octet-stream (see application/octet-stream).
How should I configure my server to host .i3dm files?
To ensure browsers and clients handle the file correctly, you should configure your web server to serve .i3dm files with the appropriate MIME type. While application/octet-stream is a common fallback, setting specific headers ensures compatibility with CesiumJS; check mime-type.com for configuration details.
Why are .i3dm files used in mapping applications?
They significantly reduce memory usage and network bandwidth. Instead of downloading a tree model 1,000 times for a forest, the application downloads the tree model once and a lightweight .i3dm file containing coordinates for where to place the 1,000 instances.
General FAQ
What is a MIME type?
A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.
MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.
MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.
How do I find the MIME type for a file?
You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.
Why can one extension have multiple MIME types?
Different programs and historical usage may assign various MIME identifiers to the same file format. Listing them together helps maintain compatibility across tools.