Skip to content

Commit 84b9493

Browse files
Merge pull request #269451 from stevemunk/add-shapefile-support
Added shapefile (a vector data storage format) to the list of supported file formats.
2 parents 9c46127 + ec030d3 commit 84b9493

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
@@ -17,6 +17,7 @@ Reference layers enable the enhancement of spatial visualizations by overlaying
1717
- [GeoJSON files] with a `.json` or `.geojson` extension
1818
- [WKT] (Well-Known Text) files with a `.wkt` extension
1919
- [KML] (Keyhole Markup Language) files with a `.kml` extension
20+
- [SHP] (Shapefile) files with a `.shp` extension
2021

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

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

3435
:::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.":::
3536

@@ -42,7 +43,7 @@ To use a hosted spatial dataset as a reference layer:
4243
1. Navigate to the **Format** pane.
4344
1. Expand the **Reference Layer** section.
4445
1. Select **URL** from the **Type** drop-down list.
45-
1. Select **Enter a URL** and enter a valid URL pointing to your hosted file. Hosted files must be a valid spatial datasets with a `.json`, `.geojson`, `.wkt` or `.kml` extension.
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.
4647

4748
:::image type="content" source="./media/power-bi-visual/reference-layer-hosted.png" alt-text="Screenshot showing the reference layers section when hosting a file control.":::
4849

@@ -58,13 +59,13 @@ The following are all settings in the **Format** pane that are available in the
5859

5960
| Setting | Description |
6061
|----------------------|---------------|
61-
| 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` or `.kml` file extension that can be opened. |
62+
| 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. |
6263

6364
## Styling data in a reference layer
6465

6566
Properties can be added to each feature within the GeoJSON file to customize styling. This feature uses the simple data layer feature in the Azure Maps Web SDK. For more information, see this document on [supported style properties]. Custom icon images aren't supported within the Azure Maps Power BI visual as a security precaution.
6667

67-
The following are examples showing how to set a point features `color` property to red.
68+
The following are examples showing how to set a point features `color` property to `red`.
6869

6970
**GeoJSON**
7071

@@ -118,6 +119,7 @@ Add more context to the map:
118119
[GeoJSON files]: https://wikipedia.org/wiki/GeoJSON
119120
[WKT]: https://wikipedia.org/wiki/Well-known_text_representation_of_geometry
120121
[KML]: https://wikipedia.org/wiki/Keyhole_Markup_Language
122+
[SHP]: https://en.wikipedia.org/wiki/Shapefile
121123
[2016 census tracts for Colorado]: https://github.com/Azure-Samples/AzureMapsCodeSamples/tree/master/Static/data/geojson
122124
[supported style properties]: spatial-io-add-simple-data-layer.md#default-supported-style-properties
123125
[Add a tile layer]: power-bi-visual-add-tile-layer.md

0 commit comments

Comments
 (0)