Skip to main content

Specifications

Supported file formats:
  • Slippy maps: url/zoom-level/x-coordinate/y-coordinate.png
  • Deep zoom servers for pathology use case, such as Openslide and tiffslide
  • GeoTIFF: Standard or Cloud-optimized
  • NITF: 2.0 or 2.1 format
Import methods:
  • Slippy map URL
  • IAM Delegated Access (NITF, GeoTIFF, or COG files only)
  • Signed URLs (https URLs only)
IAM Delegated Access not supported with slippy mapsIAM Delegated Access is not supported with slippy maps due to the nature of how slippy maps work. We strongly encourage you to use cloud-optimized GeoTIFFs instead of slippy maps.To use IAM Delegated Access with geospatial/tiled imagery, please use NITF, GeoTIFF, or COG files.

Slippy maps

Definitions

When importing slippy map data, make sure your import file contains this information and follows this format.

Import format

Deep Zoom Servers (ex. Pathology Slides)

Definitions

When using a Deep Zoom server endpoint (like OpenSlide or tiffslides), please use the following format.

Import format

GeoTIFF (standard or cloud-optimized) and NITF specifications

Definitions

When you upload a NITF file, Labelbox will convert it to a COG file and upload the asset. If it is already a COG file, Labelbox will skip the conversion and upload the asset natively. Since COG files can have many extension names, Labelbox will check the header of the file to verify that it is a COG file.

Import format

Verify files are processed

File processing can take up to 20 mins

Since GeoTIFF or NITF files can be very large, the conversion can sometimes take up to 20 minutes to perform a data upload.
You can verify whether a file conversion is complete by checking the Media Attributes section. If the Mime type shows as application/x-tms-geo, the file was successfully processed.
If the Mime type still shows as application/json, the file pre-processing has not yet been completed.

Python example

For geospatial and custom-defined Data Rows, you have to specify the Data Row in a JSON format. Here’s an example with alternative layers, bounds, attachments (text, image, and google maps widget).
1200

1200