Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refer to "media type" instead of "mime type" #691

Merged
merged 1 commit into from
May 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions specification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Acknowledgements:
## Contents

* [Introduction](#introduction)
* [File extensions and MIME types](#file-extensions-and-mime-types)
* [File extensions and media types](#file-extensions-and-media-types)
* [JSON encoding](#json-encoding)
* [URIs](#uris)
* [Units](#units)
Expand Down Expand Up @@ -102,13 +102,13 @@ A tileset may use a 2D spatial tiling scheme similar to raster and vector tiling

Optionally a [3D Tiles Style](./Styling/), or _style_, may be applied to a tileset. A style defines expressions to be evaluated which modify how each feature is displayed.

## File extensions and MIME types
## File extensions and media types

3D Tiles uses the following file extensions and MIME types.
3D Tiles uses the following file extensions and media types.

* Tileset files use the `.json` extension and the `application/json` MIME type.
* Tile content files use the file type and MIME format specific to their [tile format specification](#tile-format-specifications).
* Tileset style files use the `.json` extension and the `application/json` MIME type.
* Tileset files use the `.json` extension and the `application/json` media type.
* Tile content files use the file type and media type specific to their [tile format specification](#tile-format-specifications).
* Tileset style files use the `.json` extension and the `application/json` media type.

Explicit file extensions are optional. Valid implementations may ignore it and identify a content's format by the `magic` field in its header.

Expand Down
6 changes: 3 additions & 3 deletions specification/Styling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* [Built-in functions](#built-in-functions)
* [Notes](#notes)
* [Point Cloud](#point-cloud)
* [File extension and MIME type](#file-extension-and-mime-type)
* [File extension and media type](#file-extension-and-media-type)
* [Property reference](#property-reference)

## Overview
Expand Down Expand Up @@ -1255,9 +1255,9 @@ For example:
> * Mismatched type comparisons (e.g. `1.0 === false`)
> * Array index out of bounds

## File extension and MIME type
## File extension and media type

Tileset styles use the `.json` extension and the `application/json` mime type.
Tileset styles use the `.json` extension and the `application/json` media type.

## Property reference

Expand Down
6 changes: 3 additions & 3 deletions specification/TileFormats/Batched3DModel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* [Batch Table](#batch-table)
* [Binary glTF](#binary-gltf)
* [Coordinate system](#coordinate-system)
* [File extension and MIME type](#file-extension-and-mime-type)
* [File extension and media type](#file-extension-and-media-type)
* [Implementation example](#implementation-example)
* [Property reference](#property-reference)

Expand Down Expand Up @@ -140,9 +140,9 @@ By default embedded glTFs use a right handed coordinate system where the _y_-axi

Vertex positions may be defined relative-to-center for high-precision rendering, see [Precisions, Precisions](http://help.agi.com/AGIComponents/html/BlogPrecisionsPrecisions.htm). If defined, `RTC_CENTER` specifies the center position that all vertex positions are relative to after the coordinate system transform and glTF node hierarchy transforms have been applied.

## File extension and MIME type
## File extension and media type

Batched 3D Model tiles use the `.b3dm` extension and `application/octet-stream` MIME type.
Batched 3D Model tiles use the `.b3dm` extension and `application/octet-stream` media type.

An explicit file extension is optional. Valid implementations may ignore it and identify a content's format by the `magic` field in its header.

Expand Down
6 changes: 3 additions & 3 deletions specification/TileFormats/Composite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* [Padding](#padding)
* [Header](#header)
* [Inner tiles](#inner-tiles)
* [File extension and MIME type](#file-extension-and-mime-type)
* [File extension and media type](#file-extension-and-media-type)
* [Implementation examples](#implementation-examples)

## Overview
Expand Down Expand Up @@ -57,9 +57,9 @@ Inner tile fields are stored tightly packed immediately following the header sec

Refer to the spec for each tile format for more details.

## File extension and MIME type
## File extension and media type

Composite tiles use the `.cmpt` extension and `application/octet-stream` MIME type.
Composite tiles use the `.cmpt` extension and `application/octet-stream` media type.

An explicit file extension is optional. Valid implementations may ignore it and identify a content's format by the `magic` field in its header.

Expand Down
6 changes: 3 additions & 3 deletions specification/TileFormats/Instanced3DModel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* [Batch Table](#batch-table)
* [glTF](#gltf)
* [Coordinate system](#coordinate-system)
* [File extension and MIME type](#file-extension-and-mime-type)
* [File extension and media type](#file-extension-and-media-type)
* [Property reference](#property-reference)

## Overview
Expand Down Expand Up @@ -261,9 +261,9 @@ When the glTF field contains a URI, then this URI may point to a [relative exter
By default glTFs use a right handed coordinate system where the _y_-axis is up. For consistency with the _z_-up coordinate system of 3D Tiles, glTFs must be transformed at runtime. See [glTF transforms
](../../README.md#gltf-transforms) for more details.

## File extension and MIME type
## File extension and media type

Instanced 3D models tiles use the `.i3dm` extension and `application/octet-stream` MIME type.
Instanced 3D models tiles use the `.i3dm` extension and `application/octet-stream` media type.

An explicit file extension is optional. Valid implementations may ignore it and identify a content's format by the `magic` field in its header.

Expand Down
6 changes: 3 additions & 3 deletions specification/TileFormats/PointCloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* [Per-point properties](#per-point-properties)
* [Batch Table](#batch-table)
* [Extensions](#extensions)
* [File extension and MIME type](#file-extension-and-mime-type)
* [File extension and media type](#file-extension-and-media-type)
* [Implementation example](#implementation-example)
* [Property reference](#property-reference)

Expand Down Expand Up @@ -333,9 +333,9 @@ The following extensions can be applied to a Point Cloud tile.

* [3DTILES_draco_point_compression](../../../extensions/3DTILES_draco_point_compression/)

## File extension and MIME type
## File extension and media type

Point cloud tiles use the `.pnts` extension and `application/octet-stream` MIME type.
Point cloud tiles use the `.pnts` extension and `application/octet-stream` media type.

An explicit file extension is optional. Valid implementations may ignore it and identify a content's format by the `magic` field in its header.

Expand Down