You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Layer | An AutoCAD DWG layer from the drawing file.|
35
+
| Entity| An AutoCAD DWG entity from the drawing file. |
35
36
| Xref | A file in AutoCAD DWG file format, attached to the primary drawing as an external reference. |
36
37
| Level | An area of a building at a set elevation. For example, the floor of a building. |
37
-
|Feature| An instance of an object produced from the Conversion service that combines a geometry with metadata information. |
38
-
|Feature classes| A common blueprint for features. For example, a *unit* is a feature class, and an *office* is a feature. |
38
+
|Feature| An instance of an object produced from the Conversion service that combines a geometry with metadata information. |
39
+
|Feature classes| A common blueprint for features. For example, a *unit* is a feature class, and an *office* is a feature. |
39
40
40
41
## Drawing package structure
41
42
@@ -51,21 +52,21 @@ The Drawing package must be zipped into a single archive file, with the .zip ext
51
52
The [Azure Maps Conversion service](/rest/api/maps/v2/conversion) does the following on each DWG file:
52
53
53
54
- Extracts feature classes:
54
-
- Levels
55
-
- Units
56
-
- Zones
57
-
- Openings
58
-
- Walls
59
-
- Vertical penetrations
55
+
- Levels
56
+
- Units
57
+
- Zones
58
+
- Openings
59
+
- Walls
60
+
- Vertical penetrations
60
61
- Produces a *Facility* feature.
61
62
- Produces a minimal set of default Category features to be referenced by other features:
62
-
- room
63
-
- structure
64
-
- wall
65
-
- opening.door
66
-
- zone
67
-
- facility
68
-
63
+
- room
64
+
- structure
65
+
- wall
66
+
- opening.door
67
+
- zone
68
+
- facility
69
+
69
70
## DWG file requirements
70
71
71
72
A single DWG file is required for each level of the facility. All data of a single level must be contained in a single DWG file. Any external references (_xrefs_) must be bound to the parent drawing. For example, a facility with three levels will have three DWG files in the Drawing package.
@@ -190,9 +191,8 @@ Although there are requirements when you use the manifest objects, not all objec
190
191
>[!NOTE]
191
192
> Unless otherwise specified, all properties with a string property type allow for one thousand characters.
|`version`| true |Manifest schema version. Currently, only version 1.1 is supported.|
197
197
|`directoryInfo`| true | Outlines the facility geographic and contact information. It can also be used to outline an occupant geographic and contact information. |
198
198
|`buildingLevels`| true | Specifies the levels of the buildings and the files containing the design of the levels. |
@@ -207,66 +207,66 @@ The next sections detail the requirements for each object.
207
207
208
208
| Property | Type | Required | Description |
209
209
|-----------|------|----------|-------------|
210
-
|`name`|string| true | Name of building. |
211
-
|`streetAddress`|string|false| Address of building. |
212
-
|`unit`|string|false | Unit in building. |
213
-
|`locality`|string |false | Name of a city, town, area, neighborhood, or region.|
214
-
|`adminDivisions`|JSON array of strings |false| An array containing address designations. For example: (Country, State) Use ISO 3166 country codes and ISO 3166-2 state/territory codes. |
215
-
|`postalCode`|string| false| The mail sorting code. |
216
-
|`hoursOfOperation`|string|false| Adheres to the [OSM Opening Hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification) format. |
217
-
|`phone`|string| false| Phone number associated with the building. |
218
-
|`website`|string|false| Website associated with the building. |
219
-
|`nonPublic`|bool| false| Flag specifying if the building is open to the public. |
220
-
|`anchorLatitude`|numeric|false | Latitude of a facility anchor (pushpin). |
221
-
|`anchorLongitude`|numeric |false | Longitude of a facility anchor (pushpin). |
222
-
|`anchorHeightAboveSeaLevel`| numeric | false | Height of the facility's ground floor above sea level, in meters. |
223
-
|`defaultLevelVerticalExtent`| numeric | false | Default height (thickness) of a level of this facility to use when a level's `verticalExtent` is undefined. |
210
+
|`name`|string| true | Name of building. |
211
+
|`streetAddress`|string|false| Address of building. |
212
+
|`unit`|string|false | Unit in building. |
213
+
|`locality`|string | false | Name of a city, town, area, neighborhood, or region.|
214
+
|`adminDivisions`|JSON array of strings | false| An array containing address designations. For example: (Country, State) Use ISO 3166 country codes and ISO 3166-2 state/territory codes. |
215
+
|`postalCode`|string| false | The mail sorting code. |
216
+
|`hoursOfOperation`|string|false| Adheres to the [OSM Opening Hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification) format. |
217
+
|`phone`|string| false | Phone number associated with the building. |
218
+
|`website`|string|false | Website associated with the building. |
219
+
|`nonPublic`|bool| false| Flag specifying if the building is open to the public. |
220
+
|`anchorLatitude`|numeric|false | Latitude of a facility anchor (pushpin). |
221
+
|`anchorLongitude`|numeric |false | Longitude of a facility anchor (pushpin). |
222
+
|`anchorHeightAboveSeaLevel`| numeric | false | Height of the facility's ground floor above sea level, in meters. |
223
+
|`defaultLevelVerticalExtent` numeric | false | Default height (thickness) of a level of this facility to use when a level's `verticalExtent` is undefined. |
224
224
225
225
### `buildingLevels`
226
226
227
227
The `buildingLevels` object contains a JSON array of buildings levels.
228
228
229
-
| Property | Type | Required | Description |
230
-
|-----------|------|----------|-------------|
231
-
|`levelName`|string |true | Descriptive level name. For example: Floor 1, Lobby, Blue Parking, or Basement.|
232
-
|`ordinal`|integer|true| Determines the vertical order of levels. Every facility must have a level with ordinal 0. |
233
-
|`heightAboveFacilityAnchor`| numeric | false |Level height above the anchor in meters. |
234
-
|`verticalExtent`|numeric|false| Floor-to-ceiling height (thickness) of the level in meters. |
235
-
|`filename`|string |true |File system path of the CAD drawing for a building level. It must be relative to the root of the building's zip file. |
229
+
| Property | Type | Required | Description |
230
+
|-----------|-------|----------|-------------|
231
+
|`levelName`|string |true |Descriptive level name. For example: Floor 1, Lobby, Blue Parking, or Basement.|
232
+
|`ordinal`|integer|true| Determines the vertical order of levels. Every facility must have a level with ordinal 0. |
233
+
|`heightAboveFacilityAnchor`| numeric | false |Level height above the anchor in meters. |
234
+
|`verticalExtent`|numeric|false| Floor-to-ceiling height (thickness) of the level in meters. |
235
+
|`filename`|string |true |File system path of the CAD drawing for a building level. It must be relative to the root of the building's zip file. |
236
236
237
237
### `georeference`
238
238
239
239
| Property | Type | Required | Description |
240
240
|-----------|------|----------|-------------|
241
-
|`lat`|numeric|true|Decimal representation of degrees latitude at the facility drawing's origin. The origin coordinates must be in WGS84 Web Mercator (`EPSG:3857`).|
242
-
|`lon`|numeric|true|Decimal representation of degrees longitude at the facility drawing's origin. The origin coordinates must be in WGS84 Web Mercator (`EPSG:3857`).|
243
-
|`angle`|numeric|true|The clockwise angle, in degrees, between true north and the drawing's vertical (Y) axis.|
241
+
|`lat`|numeric|true|Decimal representation of degrees latitude at the facility drawing's origin. The origin coordinates must be in WGS84 Web Mercator (`EPSG:3857`).|
242
+
|`lon`|numeric|true|Decimal representation of degrees longitude at the facility drawing's origin. The origin coordinates must be in WGS84 Web Mercator (`EPSG:3857`).|
243
+
|`angle`|numeric|true|The clockwise angle, in degrees, between true north and the drawing's vertical (Y) axis.|
244
244
245
245
### `dwgLayers`
246
246
247
-
| Property | Type | Required | Description |
248
-
|-----------|------|----------|-------------|
249
-
|`exterior`|array of strings|true|Names of layers that define the exterior building profile.|
250
-
|`unit`| array of strings| true|Names of layers that define units.|
251
-
|`wall`| array of strings|false|Names of layers that define walls.|
252
-
|`door`|array of strings|false|Names of layers that define doors.|
253
-
|`unitLabel`|array of strings|false|Names of layers that define names of units.|
254
-
|`zone`| array of strings |false|Names of layers that define zones.|
255
-
|`zoneLabel`|array of strings|false|Names of layers that define names of zones.|
|`exterior`|array of strings|true|Names of layers that define the exterior building profile.|
250
+
|`unit`|array of strings|false|Names of layers that define units.|
251
+
|`wall`|array of strings|false|Names of layers that define walls.|
252
+
|`door`|array of strings|false|Names of layers that define doors.|
253
+
|`unitLabel`|array of strings|false|Names of layers that define names of units.|
254
+
|`zone`|array of strings|false|Names of layers that define zones.|
255
+
|`zoneLabel`|array of strings|false|Names of layers that define names of zones.|
256
256
257
257
### `unitProperties`
258
258
259
259
The `unitProperties` object contains a JSON array of unit properties.
260
260
261
261
| Property | Type | Required | Description |
262
262
|-----------|------|----------|-------------|
263
-
|`unitName`|string|true|Name of unit to associate with this `unitProperty` record. This record is only valid when a label matching `unitName` is found in the `unitLabel` layers. |
264
-
|`categoryName`|string|false|Purpose of the unit. A list of values that the provided rendering styles can make use of is available [here](https://atlas.microsoft.com/sdk/javascript/indoor/0.1/categories.json).|
265
-
|`occupants`|array of directoryInfo objects |false |List of occupants for the unit. |
266
-
|`nameAlt`|string|false|Alternate name of the unit. |
267
-
|`nameSubtitle`|string|false|Subtitle of the unit. |
268
-
|`addressRoomNumber`|string|false|Room, unit, apartment, or suite number of the unit.|
269
-
|`verticalPenetrationCategory`|string|false| When this property is defined, the resulting feature is a vertical penetration (VRT) rather than a unit. You can use vertical penetrations to go to other vertical penetration features in the levels above or below it. Vertical penetration is a [Category](https://aka.ms/pa-indoor-spacecategories) name. If this property is defined, the `categoryName` property is overridden with `verticalPenetrationCategory`. |
263
+
|`unitName`|string|true|Name of unit to associate with this `unitProperty` record. This record is only valid when a label matching `unitName` is found in the `unitLabel` layers. |
264
+
|`categoryName`|string|false|Purpose of the unit. A list of values that the provided rendering styles can make use of is available [here](https://atlas.microsoft.com/sdk/javascript/indoor/0.1/categories.json).|
265
+
|`occupants`|array of directoryInfo objects |false |List of occupants for the unit. |
266
+
|`nameAlt`|string|false|Alternate name of the unit. |
267
+
|`nameSubtitle`|string|false|Subtitle of the unit. |
268
+
|`addressRoomNumber`|string|false|Room, unit, apartment, or suite number of the unit.|
269
+
|`verticalPenetrationCategory`|string|false| When this property is defined, the resulting feature is a vertical penetration (VRT) rather than a unit. You can use vertical penetrations to go to other vertical penetration features in the levels above or below it. Vertical penetration is a [Category](https://aka.ms/pa-indoor-spacecategories) name. If this property is defined, the `categoryName` property is overridden with `verticalPenetrationCategory`. |
270
270
|`verticalPenetrationDirection`| string| false |If `verticalPenetrationCategory` is defined, optionally define the valid direction of travel. The permitted values are: `lowToHigh`, `highToLow`, `both`, and `closed`. The default value is `both`. The value is case-sensitive.|
271
271
|`nonPublic`| bool | false | Indicates if the unit is open to the public. |
272
272
|`isRoutable`| bool | false | When this property is set to `false`, you can't go to or through the unit. The default value is `true`. |
@@ -278,15 +278,15 @@ The `zoneProperties` object contains a JSON array of zone properties.
278
278
279
279
| Property | Type | Required | Description |
280
280
|-----------|------|----------|-------------|
281
-
|zoneName |string |true|Name of zone to associate with `zoneProperty` record. This record is only valid when a label matching `zoneName` is found in the `zoneLabel` layer of the zone. |
282
-
|categoryName|string|false|Purpose of the zone. A list of values that the provided rendering styles can make use of is available [here](https://atlas.microsoft.com/sdk/javascript/indoor/0.1/categories.json).|
283
-
|zoneNameAlt|string|false|Alternate name of the zone. |
284
-
|zoneNameSubtitle|string |false|Subtitle of the zone. |
285
-
|zoneSetId|string |false| Set ID to establish a relationship among multiple zones so that they can be queried or selected as a group. For example, zones that span multiple levels. |
281
+
|zoneName |string |true |Name of zone to associate with `zoneProperty` record. This record is only valid when a label matching `zoneName` is found in the `zoneLabel` layer of the zone. |
282
+
|categoryName| string| false |Purpose of the zone. A list of values that the provided rendering styles can make use of is available [here](https://atlas.microsoft.com/sdk/javascript/indoor/0.1/categories.json).|
283
+
|zoneNameAlt| string| false |Alternate name of the zone. |
284
+
|zoneNameSubtitle| string | false |Subtitle of the zone. |
285
+
|zoneSetId| string | false | Set ID to establish a relationship among multiple zones so that they can be queried or selected as a group. For example, zones that span multiple levels. |
286
286
287
287
### Sample Drawing package manifest
288
288
289
-
Below is the manifest file for the sample Drawing package. To download the entire package, see [sample Drawing package](https://github.com/Azure-Samples/am-creator-indoor-data-examples).
289
+
Below is the manifest file for the sample Drawing package. Go to the [Sample Drawing package for Azure Maps Creator](https://github.com/Azure-Samples/am-creator-indoor-data-examples) on GitHub to download the entire package.
290
290
291
291
#### Manifest file
292
292
@@ -429,10 +429,10 @@ When your Drawing package meets the requirements, you can use the [Azure Maps Co
0 commit comments