Skip to content

Commit 07f07f8

Browse files
committed
minor fixes
1 parent 0d03612 commit 07f07f8

File tree

3 files changed

+53
-55
lines changed

3 files changed

+53
-55
lines changed

articles/azure-maps/how-to-creator-wfs.md

Lines changed: 42 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: 'Tutorial: Query datasets with WFS API'
3-
titleSuffix: Microsoft Azure Maps
4-
description: The second tutorial on Microsoft Azure Maps Creator. How to Query datasets with WFS API
2+
title: Query datasets with WFS API
3+
titleSuffix: Microsoft Azure Maps Creator
4+
description: How to Query datasets with WFS API
55
author: stevemunk
6-
ms.author: v-munksteve
7-
ms.date: 01/28/2022
8-
ms.topic: tutorial
6+
ms.author: eriklind
7+
ms.date: 02/28/2023
8+
ms.topic: how-to
99
ms.service: azure-maps
1010
services: azure-maps
1111
---
@@ -19,12 +19,14 @@ This article describes how to query Azure Maps Creator [datasets] using [WFS API
1919
* Successful completion of [Tutorial: Use Creator to create indoor maps].
2020
* The `datasetId` obtained in [Check dataset creation status] section of the *Use Creator to create indoor maps* tutorial.
2121

22+
This article uses the same sample indoor map as used in the Tutorial: Use Creator to create indoor maps.
23+
2224
>[!IMPORTANT]
2325
>
2426
> * This article uses the `us.atlas.microsoft.com` geographical URL. If your Creator service wasn't created in the United States, you must use a different geographical URL. For more information, see [Access to Creator Services].
2527
> * In the URL examples in this article you will need to replace:
26-
> * `{Azure-Maps-Subscription-key}` with your Azure Maps subscription key.
27-
> * `{datasetId}` with the `datasetId` obtained in the [Check the dataset creation status] section of the *Use Creator to create indoor maps* tutorial.
28+
> * `{Azure-Maps-Subscription-key}` with your Azure Maps subscription key.
29+
> * `{datasetId}` with the `datasetId` obtained in the [Check the dataset creation status] section of the *Use Creator to create indoor maps* tutorial.
2830
2931
## Query for feature collections
3032

@@ -70,41 +72,41 @@ In this section, you'll query [WFS API] for the `unit` feature collection.
7072

7173
To query the unit collection in your dataset, create a new **HTTP GET Request**:
7274

73-
```http
74-
https://us.atlas.microsoft.com/wfs/datasets/{datasetId}/collections/unit/items?subscription-key={Your-Azure-Maps-Subscription-key}&api-version=2.0
75-
```
75+
```http
76+
https://us.atlas.microsoft.com/wfs/datasets/{datasetId}/collections/unit/items?subscription-key={Your-Azure-Maps-Subscription-key}&api-version=2.0
77+
```
7678

7779
After the response returns, copy the feature `id` for one of the `unit` features. In the following example, the feature `id` is "UNIT26". You'll use "UNIT26" as your feature `id` when you [Update a feature state].
7880

79-
```json
80-
{
81-
"type": "FeatureCollection",
82-
"features": [
83-
{
84-
"type": "Feature",
85-
"geometry": {
86-
"type": "Polygon",
87-
"coordinates": ["..."]
88-
},
89-
"properties": {
90-
"original_id": "b7410920-8cb0-490b-ab23-b489fd35aed0",
91-
"category_id": "CTG8",
92-
"is_open_area": true,
93-
"navigable_by": [
94-
"pedestrian"
95-
],
96-
"route_through_behavior": "allowed",
97-
"level_id": "LVL14",
98-
"occupants": [],
99-
"address_id": "DIR1",
100-
"name": "157"
101-
},
102-
"id": "UNIT26",
103-
"featureType": ""
104-
}, {"..."}
105-
]
106-
}
107-
```
81+
```json
82+
{
83+
"type": "FeatureCollection",
84+
"features": [
85+
{
86+
"type": "Feature",
87+
"geometry": {
88+
"type": "Polygon",
89+
"coordinates": ["..."]
90+
},
91+
"properties": {
92+
"original_id": "b7410920-8cb0-490b-ab23-b489fd35aed0",
93+
"category_id": "CTG8",
94+
"is_open_area": true,
95+
"navigable_by": [
96+
"pedestrian"
97+
],
98+
"route_through_behavior": "allowed",
99+
"level_id": "LVL14",
100+
"occupants": [],
101+
"address_id": "DIR1",
102+
"name": "157"
103+
},
104+
"id": "UNIT26",
105+
"featureType": ""
106+
}, {"..."}
107+
]
108+
}
109+
```
108110

109111
## Next steps
110112

articles/azure-maps/indoor-map-dynamic-styling.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Implement dynamic styling for Azure Maps Creator indoor maps
33
description: Learn how to Implement dynamic styling for Creator indoor maps
44
author: stevemunk
55
ms.author: eriklind
6-
ms.date: 10/28/2021
6+
ms.date: 02/28/2023
77
ms.topic: how-to
88
ms.service: azure-maps
99
services: azure-maps
@@ -15,10 +15,10 @@ You can use the Azure Maps Creator [Feature State service] to apply styles that
1515

1616
## Prerequisites
1717

18-
- A `statesetId`. For more information, see [How to create a feature stateset]. <!--- TODO: Use tutorial-creator-feature-stateset.md to create how-to article ----->
18+
- A `statesetId`. For more information, see [How to create a feature stateset].
1919
- A web application. For more information, see [How to use the Indoor Map module].
2020

21-
This tutorial uses the [Postman] application, but you may choose a different API development environment.
21+
This article uses the [Postman] application, but you may choose a different API development environment.
2222

2323
## Implement dynamic styling
2424

@@ -141,7 +141,7 @@ Learn more by reading:
141141
[Sample Drawing package]: https://github.com/Azure-Samples/am-creator-indoor-data-examples-->
142142
[How to use the Indoor Map module]: how-to-use-indoor-module.md
143143
[Postman]: https://www.postman.com/
144-
<!--[How to create a feature stateset]: TODO:Create how-to article-->
144+
[How to create a feature stateset]: how-to-creator-feature-stateset.md
145145
[See live demo]: https://samples.azuremaps.com/?sample=creator-indoor-maps
146146
[Feature Update States API]: /rest/api/maps/v2/feature-state/update-states
147147
[Create an indoor map]: tutorial-creator-indoor-maps.md

articles/azure-maps/toc.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ items:
3232
href: tutorial-load-geojson-file-android.md
3333
- name: REST API Tutorials
3434
items:
35-
- name: Azure Maps Creator Tutorials
36-
items:
37-
- name: Create indoor maps
38-
href: tutorial-creator-indoor-maps.md
35+
- name: Create indoor maps
36+
href: tutorial-creator-indoor-maps.md
3937
- name: Set up a geofence
4038
href: tutorial-geofence.md
4139
- name: Spatial analytics
@@ -141,6 +139,10 @@ items:
141139
items:
142140
- name: Manage Creator
143141
href: how-to-manage-creator.md
142+
- name: Query datasets with WFS API
143+
href: how-to-creator-wfs.md
144+
- name: Create a feature stateset
145+
href: how-to-creator-feature-stateset.md
144146
- name: Custom styling for indoor maps
145147
href: how-to-create-custom-styles.md
146148
- name: Indoor maps wayfinding service
@@ -249,7 +251,7 @@ items:
249251
href: map-route.md
250252
- name: creator indoor maps module
251253
items:
252-
- name: Creator indoor maps module
254+
- name: Indoor Maps module with custom styles
253255
href: how-to-use-indoor-module.md
254256
- name: Dynamic styling for indoor maps
255257
href: indoor-map-dynamic-styling.md
@@ -349,12 +351,6 @@ items:
349351
href: interact-map-ios-sdk.md
350352
- name: Use the Azure Maps indoor maps module
351353
href: how-to-use-indoor-module-ios.md
352-
- name: Creator Indoor Maps
353-
items:
354-
- name: Query datasets with WFS API
355-
href: tutorial-creator-wfs.md
356-
- name: Create a feature stateset
357-
href: tutorial-creator-feature-stateset.md
358354
- name: Use Azure Maps in Power BI
359355
items:
360356
- name: The Azure Maps Power BI visual

0 commit comments

Comments
 (0)