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
+39-30Lines changed: 39 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,31 +12,31 @@ 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] lets you convert uploaded drawing packages into map data. Drawing packages must adhere to the [Drawing package requirements]. 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 an open 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 an open PolyLine. Assume that the layer only supports closed geometry.
38
38
39
-

39
+

40
40
41
41
#### *How to fix geometryWarning*
42
42
@@ -46,13 +46,13 @@ 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 an open PolyLine. Assume that the layer only supports closed geometry.
54
54
55
-

55
+

56
56
57
57
#### *How to fix unexpectedGeometryInLayer*
58
58
@@ -66,13 +66,13 @@ 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
73
73
#### *How to fix unsupportedFeatureRepresentation*
74
74
75
-
Ensure that your DWG files contain only the supported entity types. Supported types are listed under the [Drawing files requirements](drawing-requirements.md#drawing-package-requirements) section in the drawing package requirements article.
75
+
Ensure that your DWG files contain only the supported entity types. Supported types are listed under the [Drawing files requirements] section in the drawing package requirements article.
76
76
77
77
### **automaticRepairPerformed**
78
78
@@ -86,13 +86,13 @@ 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 open PolyLines. To avoid discarding the open PolyLines, the service combined them into a single closed PolyLine.
94
94
95
-

95
+

96
96
97
97
#### *How to fix automaticRepairPerformed*
98
98
@@ -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
@@ -355,7 +355,7 @@ To fix a **dwgError**, inspect your _manifest.json_ file confirm that:
355
355
356
356
An **invalidJsonFormat** error occurs when the _manifest.json_ file can't be read.
357
357
358
-
The _manifest.json_file can't be read because of JSON formatting or syntax errors. To learn more about how JSON format and syntax, see [The JavaScript Object Notation (JSON) Data Interchange Format](https://tools.ietf.org/html/rfc7159)
358
+
The _manifest.json_file can't be read because of JSON formatting or syntax errors. To learn more about how JSON format and syntax, see [The JavaScript Object Notation (JSON) Data Interchange Format].
359
359
360
360
#### *How to fix invalidJsonFormat*
361
361
@@ -369,7 +369,7 @@ A **missingRequiredField** error occurs when the _manifest.json_ file is missing
369
369
370
370
#### *How to fix missingRequiredField*
371
371
372
-
To fix a **missingRequiredField** error, verify that the manifest contains all required properties. For a full list of required manifest object, see the [manifest section in the Drawing package requirements](drawing-requirements.md#manifest-file-requirements)
372
+
To fix a **missingRequiredField** error, verify that the manifest contains all required properties. For a full list of required manifest object, see the [manifest section in the Drawing package requirements].
373
373
374
374
### **missingManifest**
375
375
@@ -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"
@@ -447,12 +447,12 @@ In the JSON snippet below, the latitude is above the upper limit.
447
447
448
448
To fix an **invalidGeoreference** error, verify that the georeferenced values are within range.
449
449
450
-
>[!IMPORTANT]
451
-
>In GeoJSON, the coordinates order is longitude and latitude. If you don't use the correct order, you may accidentally refer a latitude or longitude value that is out of range.
450
+
>[!IMPORTANT]
451
+
>In GeoJSON, the coordinates order is longitude and latitude. If you don't use the correct order, you may accidentally refer a latitude or longitude value that is out of range.
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

489
489
@@ -493,15 +493,24 @@ The following image shows a vertical penetration area that overlaps more than on
493
493
494
494
#### How to fix verticalPenetrationError
495
495
496
-
To fix a **verticalPenetrationError** error, read about how to use a vertical penetration feature in the [Drawing package requirements](drawing-requirements.md) article.
496
+
To fix a **verticalPenetrationError** error, read about how to use a vertical penetration feature in the [Drawing package requirements] article.
497
497
498
498
## Next steps
499
499
500
500
> [!div class="nextstepaction"]
501
-
> [How to use Azure Maps Drawing error visualizer](drawing-error-visualizer.md)
501
+
> [How to use Azure Maps Drawing error visualizer]
0 commit comments