Skip to main content

Fused (Python)

Fused is a cloud analytics platform to process data with User Defined Functions (UDFs). UDFs are reusable Python functions that can be invoked from anywhere. The Fused Overture UDF enables you to quickly load Overture data, perform operations like joins with other datasets, visualize results directly on your browser, and integrate smoothly with data tools.

Load data with the Overture UDF

The Fused Overture UDF loads data from GeoParquet files of the Overture Dataset hosted by Source Cooperative. You can view the source code of the Fused Overture UDF in this GitHub repo.

Install Fused

We install the Fused Python library with pip.

pip install fused>=1.10.0

Define the area of interest

We specify the area for the UDF to download data by passing a GeoDataFrame to the bbox parameter.

import fused
import geopandas as gpd
import shapely

bbox = gpd.GeoDataFrame(
geometry=[shapely.box(-73.9847, 40.7666, -73.9810, 40.7694)],
crs=4326
)

Run the Overture UDF

We may run the Fused Overture UDF with fused.run (see more about fused.run on the Fused docs). We specify the area to load data with the bbox parameter. The UDF also provides optional parameters to select specific Overture releases, datasets, and columns - giving you flexibility to fetch only the data you need.

fused.run('UDF_Overture_Maps_Example', bbox=bbox, overture_type='building') 

Next steps

  • Visualize Overture datasets interactively in the Fused UDF Editor
  • See an example of how to join Overture with other datasets