Skip to main content

Dynamic File API

Every UDF can be used as a file system:

Dynamic File System Overview

Output Formats

UDFs can return data in various formats via the format query parameter:

Vector Data Formats

FormatExtensionUse Case
parquet.parquetEfficient columnar storage
geojson.geojsonStandard GeoJSON
json.jsonJSON objects
csv.csvComma-separated values
mvt.mvtMapbox Vector Tiles
feather.featherApache Arrow format
excel.xlsxExcel spreadsheet
xml.xmlXML data

Raster Data Formats

FormatExtensionUse Case
png.pngLossless images
jpg/jpeg.jpgCompressed images
gif.gifAnimated images
webp.webpModern image format
tif/tiff.tifGeoTIFF rasters

Example Usage

Returning as JSON

https://udf.ai/YOUR_TOKEN.json

Returning as CSV

https://udf.ai/YOUR_TOKEN.csv

Returning as HTML

https://udf.ai/YOUR_TOKEN.html

Tile Endpoints

For map tile servers, use the tiles path with {z}/{x}/{y} template:

Vector Tiles (MVT)

https://udf.ai/YOUR_TOKEN/run/tiles/{z}/{x}/{y}?=mvt

Raster Tiles (PNG)

https://udf.ai/YOUR_TOKEN/run/tiles/{z}/{x}/{y}?=png

Integrations

These dynamic endpoints work with:

  • DeckGL - Interactive maps
  • Mapbox - Web maps
  • QGIS - Desktop GIS
  • Felt - Collaborative mapping
  • Google Sheets - Spreadsheet import