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
{{ message }}
Repository navigation
Commit fe63376
Browse filesBrowse the repository at this point in the historyBrowse files
For a **MultiLineString** instance to be accepted it must either be empty or comprised of only **LineString** intances that are accepted. For more information on accepted **LineString** instances, see [LineString](../../relational-databases/spatial/linestring.md). The following are examples of accepted **MultiLineString** instances.
For a **MultiLineString** instance to be valid it must meet the following criteria:
58
+
For a **MultiLineString** instance to be valid it must meet the following criteria:
59
59
60
60
1. All instances comprising the **MultiLineString** instance must be valid **LineString** instances.
61
61
62
62
2. No two **LineString** instances comprising the **MultiLineString** instance may overlap over an interval. The **LineString** instances can only intersect or touch themselves or other **LineString** instances at a finite number of points.
63
63
64
-
The following example shows three valid **MultiLineString** instances and one **MultiLineString** instance that is not valid.
64
+
The following example shows three valid **MultiLineString** instances and one **MultiLineString** instance that is not valid.
`@g4` is not valid because the second **LineString** instance overlaps the first **LineString** instance at an interval. They touch at an infinite number of points.
74
+
`@g4` is not valid because the second **LineString** instance overlaps the first **LineString** instance at an interval. They touch at an infinite number of points.
75
75
76
76
## Examples
77
-
The following example creates a simple `geometry``MultiLineString` instance containing two `LineString` elements with the SRID 0.
77
+
The following example creates a simple `geometry``MultiLineString` instance containing two `LineString` elements with the SRID 0.
To instantiate this instance with a different SRID, use `STGeomFromText()` or `STMLineStringFromText()`. You can also use `Parse()` and then modify the SRID, as shown in the following example.
84
+
To instantiate this instance with a different SRID, use `STGeomFromText()` or `STMLineStringFromText()`. You can also use `Parse()` and then modify the SRID, as shown in the following example.
0 commit comments