Edit

Share via


Spatial job – create tileset (preview)

Microsoft Fabric Map items (preview) enable users to visualize spatial data and derive insights by integrating both static and dynamic data sources. It uses raw data to create meaningful, actionable spatial information.

Important

This feature is in preview.

In certain cases, static spatial datasets can be extremely large, making smooth rendering on the map challenging. To overcome this, Map offers a specialized tool that converts extensive spatial data, such as GeoJSON files, into high-performance tilesets. Tilesets are commonly used in mapping platforms to visualize large datasets, such as roads, buildings, or environmental features, without overwhelming the system or the user. This conversion into tilesets enables efficient rendering, resulting in a smoother and more responsive mapping experience.

This tutorial shows you how to create tilesets from your source data.

Introduction to tiles and tilesets

Tiles

Tiles are small, square sections of a map that represent geographic data for a specific area and zoom level. Instead of rendering an entire map as a single image, Map divides it into tiles to improve performance and scalability. Each tile contains data such as points, lines, and polygons relevant to its geographic area.

Tilesets

A Map Tileset is a structured collection of tiles that represent geographic data for a larger area—such as a city, country/region, or the entire globe. Each tile contains only the data relevant to its specific location, and tilesets are organized by zoom levels and tile coordinates. This structure allows mapping software to load only the necessary tiles for the current view, significantly improving rendering speed, scalability, and overall performance.

Note

A format of tileset called PMTiles is a modern, portable tileset for storing and delivering tiles. Unlike traditional tilesets that consist of thousands of small files organized in folders, PMTiles packages all tiles into a single archive file. This makes it easier to manage, distribute, and stream map data, especially for large datasets.

Zoom level range and corresponding view

Zoom levels affect the resolution of map tiles. Lower zoom levels display fewer, larger tiles---meaning each tile covers a broader graphical range. In contrast, higher zoom levels show more, smaller tiles, each covering a smaller graphical area with increased detail. This approach manages both performance and visual accuracy. The table below outlines zoom levels with their associated map views. For more information, see Zoom levels and tile grid in Microsoft Azure Maps.

Zoom level Typical view Approximate distance range
0-2 Entire globe Thousands of kilometers
3-5 Continents, large countries/regions, major rivers Hundreds to thousands of kilometers
6-8 countries/regions, major cities Tens to hundreds of kilometers
9-11 Cities, towns, highways 5-50 kilometers
12-14 Neighborhoods, streets 1-5 kilometers
15-17 Buildings, parks, detailed street layouts 100 meters to 1 kilometer
18-20 Individual houses, entrances, trees Less than 100 meters

Prerequisites

Create a tileset

Select New tileset to open the creation wizard.

A screenshot showing the new tileset button.

Alternatively, you can right-click on a GeoJSON file in lakehouse and then select Create tileset from the popup menu.

A screenshot showing the new tileset option in the Lakehouse files dropdown menu.

Note

Map supports only one active job per item at a time.

Step 1: Connect to a lakehouse and select source files

Start by connecting to at least one lakehouse that contains GeoJSON files. You can choose multiple files to convert into a vector tileset.

Note

  • Currently, Map supports only valid GeoJSON files with the .geojson extension as source files.
  • The combined size of all selected files for a single conversion job must not exceed 1 GB.

A screenshot showing source files that can be selected.

A screenshot showing the selected source files.

Step 2: Configure tileset metadata

Specify the output location and name for your tileset. You can also add a description and copyright details if desired.

A screenshot showing the tileset options screen.

Note

The output files are generated in the PMTiles format.

Step 3: Configure layer settings

Each file is processed as an individual layer within the tileset.

Next, set the following configuration options:

  • Layer name: You can assign a custom name to each layer or use the default name, which matches the file name.

  • Zoom level range: Define the minimum and maximum zoom levels for your spatial data visibility. For more information, see zoom level range.

    Note

    Things to keep in mind with configuring zoom levels:

    • Using a wider zoom level range generates more tiles, which can increase processing time.
    • The supported zoom levels range from 5 to 18.
  • Feature properties: For GeoJSON datasets, you can choose whether to include all feature properties along with the geometries or only the geometries.

    Note

    Including all feature properties increase the size of the tiles and extend processing time.

A screenshot showing the layer options screen.

Step 4: Review and create tileset

Review the configuration from previous steps, then select Create to start the spatial job.

A screenshot showing the layer options review screen.

Note

The overall zoom level range for the tileset is automatically determined based on the settings defined in each individual layer.

Monitor the Tileset Creation Job

After starting the tileset creation process, a notification will confirm that the job is in progress. You can select View Tileset Job to see details of all recent runs for this spatial operation in the Map.

A screenshot showing the notifications dialog.

Note

The tileset creation job operates as a Long Running Operation.

Select Go to Monitor to view more job history related to this Map item.

A screenshot showing the recent runs.

Select the View details icon to display more information about the selected job.

A screenshot showing the monitor screen, which allows you to view and track the status of the activities all the workspaces you have permissions to see in Microsoft Fabric.

A screenshot showing the monitor job screen.

Tip

When you open the Monitor page from a notification panel, it automatically filters by the active map item at that moment. If you later start a new job with a different map item and revisit the Monitor page in the same browser tab, it will only show data for the new map item—not the previous one.

Cancel tileset creation

To cancel the tileset creation, open the Monitor page and select the Cancel icon next to the corresponding job.

A screenshot showing the details of the selected job being monitored.

Note

Users can only cancel a job when the status is In progress.