Skip to content

Commit 42b30c2

Browse files
committed
Documented support for the CSV file format.
1 parent 4f0d757 commit 42b30c2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/azure-maps/power-bi-visual-add-reference-layer.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Azure Maps Power BI visual
44
description: This article describes how to use the reference layer in Azure Maps Power BI visual.
55
author: deniseatmicrosoft
66
ms.author: limingchen
7-
ms.date: 12/04/2023
7+
ms.date: 07/10/2024
88
ms.topic: how-to
99
ms.service: azure-maps
1010
services: azure-maps
@@ -18,6 +18,7 @@ Reference layers enable the enhancement of spatial visualizations by overlaying
1818
- [WKT] (Well-Known Text) files with a `.wkt` extension
1919
- [KML] (Keyhole Markup Language) files with a `.kml` extension
2020
- [SHP] (Shapefile) files with a `.shp` extension
21+
- [CSV] (Comma-separated values) files with a `.csv` extension. Note that the Azure Maps Power BI visual will only parse the column containing WKT (Well-Known Text) strings from the sheet.
2122

2223
## Add a spatial dataset as a reference layer
2324

@@ -30,7 +31,7 @@ To upload a spatial dataset as a reference layer:
3031
1. Navigate to the **Format** pane.
3132
1. Expand the **Reference Layer** section.
3233
1. Select **File Upload** from the **Type** drop-down list.
33-
1. Select **Browse**. The file selection dialog opens, allowing you to choose a file with a `.json`, `.geojson`, `.wkt`, `.kml` or `.shp` extension.
34+
1. Select **Browse**. The file selection dialog opens, allowing you to choose a file with a `.json`, `.geojson`, `.wkt`, `.kml`, `.shp` or `.csv` extension.
3435

3536
:::image type="content" source="./media/power-bi-visual/reference-layer-upload.png" alt-text="Screenshot showing the reference layers section when uploading a file control.":::
3637

@@ -43,7 +44,7 @@ To use a hosted spatial dataset as a reference layer:
4344
1. Navigate to the **Format** pane.
4445
1. Expand the **Reference Layer** section.
4546
1. Select **URL** from the **Type** drop-down list.
46-
1. Select **Enter a URL** and enter a valid URL pointing to your hosted file. Hosted files must be a valid spatial dataset with a `.json`, `.geojson`, `.wkt`, `.kml` or `.shp` extension. After the link to the hosted file is added to the reference layer, the URL appears in the **Enter a URL** field. To remove the data from the visual simply delete the URL.
47+
1. Select **Enter a URL** and enter a valid URL pointing to your hosted file. Hosted files must be a valid spatial dataset with a `.json`, `.geojson`, `.wkt`, `.kml`, `.shp` or `.csv` extension. After the link to the hosted file is added to the reference layer, the URL appears in the **Enter a URL** field. To remove the data from the visual simply delete the URL.
4748

4849
:::image type="content" source="./media/power-bi-visual/reference-layer-hosted.png" alt-text="Screenshot showing the reference layers section when using the 'Enter a URL' input control.":::
4950

@@ -61,7 +62,7 @@ The following are all settings in the **Format** pane that are available in the
6162

6263
| Setting | Description |
6364
|----------------------|---------------|
64-
| Reference layer data | The data file to upload to the visual as another layer within the map. Selecting **Browse** shows a list of files with a `.json`, `.geojson`, `.wkt`, `.kml` or `.shp` file extension that can be opened. |
65+
| Reference layer data | The data file to upload to the visual as another layer within the map. Selecting **Browse** shows a list of files with a `.json`, `.geojson`, `.wkt`, `.kml`, `.shp` or `.csv` file extension that can be opened. |
6566

6667
## Styling data in a reference layer
6768

@@ -122,6 +123,7 @@ Add more context to the map:
122123
[WKT]: https://wikipedia.org/wiki/Well-known_text_representation_of_geometry
123124
[KML]: https://wikipedia.org/wiki/Keyhole_Markup_Language
124125
[SHP]: https://en.wikipedia.org/wiki/Shapefile
126+
[CSV]: https://en.wikipedia.org/wiki/Comma-separated_values
125127
[2016 census tracts for Colorado]: https://github.com/Azure-Samples/AzureMapsCodeSamples/tree/master/Static/data/geojson
126128
[supported style properties]: spatial-io-add-simple-data-layer.md#default-supported-style-properties
127129
[Add a tile layer]: power-bi-visual-add-tile-layer.md

0 commit comments

Comments
 (0)