Grid Extension Specification
- Title: Grid
- Identifier: https://stac-extensions.github.io/grid/v1.1.0/schema.json
- Field Name Prefix: grid
- Scope: Item
- Extension Maturity Classification: Pilot
- Owners: @philvarner, @drwelby
- Item Properties Fields
- Additional Field Information
- grid:code
- Military Grid Reference System (MGRS)
- MODIS Sinusoidal Tile Grid
- Worldwide Reference System (WRS-1)
- Worldwide Reference System (WRS-2)
- Digital Orthophoto Quadrangle
- Digital Orthophoto Quarter Quadrangle
- Maxar ARD Tile Grid
- EASE-DGGS
- Copernicus Digital Elevation Model Grid
- EEA Reference Grid
- Major TOM Grid
- grid:code
- Additional Field Information
- Contributing
- Running tests
- Grid Maps
This document explains the Grid Extension to the SpatioTemporal Asset Catalog (STAC) specification.
The purpose of the Grid Extension is to provide fields related to gridded data products.
There are two main uses of the grid:code field defined in this specification. Both are
primarily for use in supporting a path for a user exploring a dataset from a UI where there
are too many results to display individually, where the user must first be presented with
summary / aggregated data, and then drill down to individual items.
The first is that it allows for precise aggregation in a STAC API implementation of Items that cover the same grid area. The STAC API Aggregation Extension is a work-in-progress, but will eventually support aggregating over this field.
The second aspect is that it helps for display to a user when a gridded dataset has Items that have slightly different footprints for Items over the same grid square. For example, Landsat 8 scenes for the same path/row grid square are often off by a few pixels from each other, which makes them not match exactly. Some products with grids that are significantly different from EPSG:4326 have footprints that are far from a square after reprojection, such how MODIS sinusoidal grid squares become increasingly curved as they move away from the equator and meridan. This can make the GeoJSON Polygon large, as more points must be added to maintain an accurate reprojected shape. With a grid code defined for an Item, a UI could have a pre-determined geometry at a reasonable resolution for that grid square, and display it once for each all the Items in that grid square.
- Examples:
- Item example: Shows the basic usage of the extension in a STAC Item
- JSON Schema
- Changelog
Item Properties Fields
| Field Name | Type | Description |
|---|---|---|
| grid:code | string | REQUIRED. The identifier for the grid element associated with the Item. |
Additional Field Information
grid:code
The field grid:code defines a unique value for each grid square in a gridding. The code
will be of the form {grid designation}-{grid square code}, where the grid designation is a
short alphanumeric code for the grid (e.g., MGRS) and code is a short encoded value for a
specific grid square. The encoded value for the square should consist of uppercase
alphanumeric characters, underscore (_) (preferred separator), or minus sign (-).
The grid code values below are recommended for these products. Implementers may also devise proprietary systems for their own griddings.
Military Grid Reference System (MGRS)
- Format String:
MGRS-{grid zone designator}{latitude band}{square} - Examples: MGRS-35NKA, MGRS-35NKA1234, MGRS-35NKA123456, MGRS-35NKA12345678, MGRS-35NKA1234567890
- Components:
grid zone designator: UTM grid zonelatitude band: latitude band, lettered C-X (omitting the letters "I" and "O")square: a pair of letters designating one of the 100km side grid squares within the grid zone and latitude band square, and optionally either 2, 4, 6, 8, or 10 additional digits
- Products: Sentinel-2
- Reference: https://en.wikipedia.org/wiki/Military_Grid_Reference_System
- Related Extensions: https://github.com/stac-extensions/mgrs
MODIS Sinusoidal Tile Grid
- Format String:
MSIN-{horizontal}{vertical} - Example: MSIN-2506
- Components:
horizontal: horizontal tile numbervertical: vertical tile number
- Products: many MODIS products, including MCD43A4, MxD11A1, and MxD13A1
- Reference: https://modis-land.gsfc.nasa.gov/MODLAND_grid.html
Worldwide Reference System (WRS-1)
- Format String:
WRS1-{path}{row} - Example: WRS1-097073
- Components:
path: path number for nominal satellite orbital trackrow: latitudinal center line of a frame of imagery
- Products: Landsat 1-3
- Reference: https://landsat.gsfc.nasa.gov/about/the-worldwide-reference-system/
Worldwide Reference System (WRS-2)
- Format String:
WRS2-{path}{row} - Example: WRS2-097073
- Components:
path: path number for nominal satellite orbital tracksrow: latitudinal center line of a frame of imagery
- Products: Landsat 4, 5, 7, 8, and 9
- Reference: https://landsat.gsfc.nasa.gov/about/the-worldwide-reference-system/
Digital Orthophoto Quadrangle
Represents one U.S. Geological Survey (USGS) 7.5-minute quadrangle. The names are based on that of the 7.5-minute quad.
- Format String: DOQ-{quadrangle}
- Example: DOQ-3510836
- Components:
quadrangle: code for the 7.5-minute quad
- Products: early USGS digital aerial photographs and satellite images
- Reference: https://en.wikipedia.org/wiki/Digital_orthophoto_quadrangle
Digital Orthophoto Quarter Quadrangle
Represents one U.S. Geological Survey (USGS) 7.5-minute quadrangle. The Digital Orthophoto Quarter Quadrangle (DOQQ) represents one quarter of the quadrangle. The names are based on that of the 7.5-minute quad, followed by NE, NW, SW, or SE for the DOQQ.
- Format String:
DOQQ-{quadrangle}{quarter} - Example: DOQQ-3510836SE
- Components:
quadrangle: code for the 7.5-minute quadquarter: NW, NE, SE, SW
- Products: NAIP
- Reference: https://en.wikipedia.org/wiki/Digital_orthophoto_quadrangle
Maxar ARD Tile Grid
- Format String:
MXRA-Z{zone}-{quadkey} - Example: MXRA-Z14-120200003323
- Components:
zone: UTM zonequadkey: 12-digit quadkey identifier
- Products: Maxar ARD images and derivatives
- Reference: Maxar ARD Documentation
EASE-DGGS
- Format String:
EASE-DGGS-L{level}.{row-column for each level} - Example: EASE-DGGS-L0.405963, EASE-DGGS-L6.405963.33.22.22.99.99.99
- Components:
level: Grid refinement level. Ranges from 0 to 6 with 6 being the most granular level.row-column for each level: Grid cell row-column for each level in ascending level order (level 0 first), separated by ".".
- Products: unknown
- Reference: https://www.tandfonline.com/doi/pdf/10.1080/20964471.2021.2017539
Copernicus Digital Elevation Model Grid
- Format String:
CDEM-{northing}{easting} - Example: CDEM-S90W178
- Components:
northing: latitude coordinate in decimal degrees without the decimal_00part, e.g.,S50.easting: longitude coordinate in decimal degrees without the decimal_00part, e.g.,W125.
- Products: Copernicus DEM GLO-30, GLO-90, and EEA-10 products in DGED format
- Reference: Copernicus DEM Product Handbook
EEA Reference Grid
-
Format String:
EEA-{resolution}{easting}{northing} - Example: EEA-100kmE31N36
-
Components:
-
resolution: Recommended grid resolutions are100m,1km,10kmand100km. Alternatively,25mor250mresolution can be used for analysis purposes, where the standard100mor1kmgrid cell size is not appropriate. The resolution is denoted in meter (m) for cell sizes below 1000 meters and kilometre (km) for cell sizes from 1000 meters and above. -
northingandeasting: Reflects the distance of the lower left grid cell corner from the false origin of the CRS. In order to reduce the length of the string, Easting (E) and Northing (N) values are divided by
-