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
Copy file name to clipboardExpand all lines: articles/azure-maps/drawing-conversion-error-codes.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,29 +12,29 @@ services: azure-maps
12
12
13
13
# Drawing conversion errors and warnings
14
14
15
-
The [Azure Maps Conversion service](/rest/api/maps/v2/conversion) lets you convert uploaded drawing packages into map data. Drawing packages must adhere to the [Drawing package requirements](drawing-requirements.md). If one or more requirements aren't met, then the Conversion service will return errors or warnings. This article lists the conversion error and warning codes, with recommendations on how to resolve them. It also provides some examples of drawings that can cause the Conversion service to return these codes.
15
+
The [Azure Maps Conversion service](/rest/api/maps/v2/conversion) lets you convert uploaded drawing packages into map data. Drawing packages must adhere to the [Drawing package requirements](drawing-requirements.md). If one or more requirements aren't met, then the Conversion service returns errors or warnings. This article lists the conversion error and warning codes, with recommendations on how to resolve them. It also provides some examples of drawings that can cause the Conversion service to return these codes.
16
16
17
-
The Conversion service will succeed if there are any conversion warnings. However, it's recommended that you review and resolve all warnings. A warning means part of the conversion was ignored or automatically fixed. Failing to resolve the warnings could result in errors in latter processes.
17
+
The Conversion service succeeds if there are any conversion warnings. However, it's recommended that you review and resolve all warnings. A warning means part of the conversion was ignored or automatically fixed. Failing to resolve the warnings could result in errors in latter processes.
18
18
19
19
## General Warnings
20
20
21
21
### **geometryWarning**
22
22
23
23
#### *Description for geometryWarning*
24
24
25
-
A **geometryWarning** occurs when the drawing contains an invalid entity. An invalid entity is an entity that doesn't conform to geometric constraints. Examples of an invalid entity are a self-intersecting polygon or a non-closed PolyLine in a layer that only supports closed geometry.
25
+
A **geometryWarning** occurs when the drawing contains an invalid entity. An invalid entity is an entity that doesn't conform to geometric constraints. Examples of an invalid entity are a self-intersecting polygon or a nonclosed PolyLine in a layer that only supports closed geometry.
26
26
27
27
The Conversion service is unable to create a map feature from an invalid entity and instead ignores it.
28
28
29
29
#### *Examples for geometryWarning*
30
30
31
-
* The two images below show examples of self-intersecting polygons.
31
+
* The following two images show examples of self-intersecting polygons.
32
32
33
33

34
34
35
35

36
36
37
-
*Below is an image that shows a non-closed PolyLine. Assume that the layer only supports closed geometry.
37
+
*The following image shows a nonclosed PolyLine. Assume that the layer only supports closed geometry.
38
38
39
39

40
40
@@ -46,11 +46,11 @@ Inspect the **geometryWarning** for each entity to verify that it follows geomet
46
46
47
47
#### *Description for unexpectedGeometryInLayer*
48
48
49
-
An **unexpectedGeometryInLayer** warning occurs when the drawing contains geometry that is incompatible with the expected geometry type for a given layer. When the Conversion service returns an **unexpectedGeometryInLayer** warning, it will ignore that geometry.
49
+
An **unexpectedGeometryInLayer** warning occurs when the drawing contains geometry that is incompatible with the expected geometry type for a given layer. When the Conversion service returns an **unexpectedGeometryInLayer** warning, it ignores that geometry.
50
50
51
51
#### *Example for unexpectedGeometryInLayer*
52
52
53
-
The image below shows a non-closed PolyLine. Assume that the layer only supports closed geometry.
53
+
The following image shows a nonclosed PolyLine. Assume that the layer only supports closed geometry.
54
54
55
55

56
56
@@ -66,7 +66,7 @@ The **unsupportedFeatureRepresentation** warning occurs when the drawing contain
66
66
67
67
#### *Example for unsupportedFeatureRepresentation*
68
68
69
-
The image below shows an unsupported entity type as a multi-line text object on a label layer.
69
+
The following image shows an unsupported entity type as a multi-line text object on a label layer.
70
70
71
71

72
72
@@ -86,11 +86,11 @@ The **automaticRepairPerformed** warning occurs when the Conversion service auto
86
86
87
87

88
88
89
-
* The image below shows how the Conversion service snapped the first and last vertex of a non-closed PolyLine to create a closed PolyLine, where the first and last vertex were less than 1 mm apart.
89
+
* The following image shows the Conversion service snapping the first and last vertex of an open PolyLine to create a closed PolyLine, where the first and last vertex were less than 1 mm apart.
90
90
91
91

92
92
93
-
* The image below shows how, in a layer that supports only closed PolyLines, the Conversion service repaired multiple non-closed PolyLines. To avoid discarding the non-closed PolyLines, the service combined them into a single closed PolyLine.
93
+
* The following image shows how, in a layer that supports only closed PolyLines, the Conversion service repaired multiple nonclosed PolyLines. To avoid discarding the nonclosed PolyLines, the service combined them into a single closed PolyLine.
94
94
95
95

96
96
@@ -115,7 +115,7 @@ The **redundantAttribution** warning occurs when the manifest contains redundant
115
115
116
116
#### *Examples for redundantAttribution*
117
117
118
-
* The JSON snippet below contains two or more `unitProperties` objects with the same `name`.
118
+
* The following JSON example contains two or more `unitProperties` objects with the same `name`.
119
119
120
120
```json
121
121
"unitProperties": [
@@ -134,7 +134,7 @@ The **redundantAttribution** warning occurs when the manifest contains redundant
134
134
]
135
135
```
136
136
137
-
* In the JSON snippet below, two or more `zoneProperties` objects have the same `name`.
137
+
* In the following JSON snippet, two or more `zoneProperties` objects have the same `name`.
138
138
139
139
```json
140
140
"zoneProperties": [
@@ -182,7 +182,7 @@ The **wallOutsideLevel** warning occurs when the drawing contains a Wall geometr
182
182
183
183
#### *Example for wallOutsideLevel*
184
184
185
-
* The image below shows an interior wall, in red, outside the yellow level boundary.
185
+
* The following image shows an interior wall, in red, outside the yellow level boundary.
186
186
187
187

188
188
@@ -300,7 +300,7 @@ To fix a **labelWarning**, ensure that:
300
300
301
301
An **invalidArchiveFormat** error occurs when the drawing package is in an invalid archive format such as GZIP or 7-Zip. Only the ZIP archive format is supported.
302
302
303
-
An **invalidArchiveFormat** error will also occur if the ZIP archive is empty.
303
+
An **invalidArchiveFormat** error also occurs if the ZIP archive is empty.
304
304
305
305
#### *How to fix invalidArchiveFormat*
306
306
@@ -395,7 +395,7 @@ The **conflict** error occurs when the _manifest.json_ file contains conflicting
395
395
396
396
#### *Example scenario for conflict*
397
397
398
-
The Conversion service will return a **conflict** error when more than one level is defined with the same level ordinal. The following JSON snippet shows two levels defined with the same ordinal.
398
+
The Conversion service returns a **conflict** error when more than one level is defined with the same level ordinal. The following JSON snippet shows two levels defined with the same ordinal.
399
399
400
400
```JSON
401
401
"buildingLevels":
@@ -432,7 +432,7 @@ The **invalidGeoreference** error occurs because of one or more of the following
432
432
433
433
#### *Example scenario for invalidGeoreference*
434
434
435
-
In the JSON snippet below, the latitude is above the upper limit.
435
+
In the following JSON snippet, the latitude is above the upper limit.
436
436
437
437
```json
438
438
"georeference"
@@ -452,7 +452,7 @@ To fix an **invalidGeoreference** error, verify that the georeferenced values ar
452
452
453
453
## Wall errors
454
454
455
-
### **wallError**
455
+
### **wallError**s
456
456
457
457
#### *Description for wallError*
458
458
@@ -483,7 +483,7 @@ The **verticalPenetrationError** occurs because of one or more of the following
483
483
484
484
#### *Example scenario for verticalPenetrationError*
485
485
486
-
The image below shows a vertical penetration area with no overlapping vertical penetration areas on levels above or below it.
486
+
The following image shows a vertical penetration area with no overlapping vertical penetration areas on levels above or below it.
487
487
488
488

0 commit comments