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/spatial-io-core-operations.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,14 @@ manager: philmea
14
14
15
15
In addition to providing tools to read spatial data files, the spatial IO module exposes core underlying libraries to read and write XML and delimited data fast and efficiently.
16
16
17
-
The `atlas.io.core` namespace contains two low-level classes that can quickly read and write CSV and XML data. These base classes power the spatial data readers and writers in the Spatial IO module. Feel free to use these classes to add additional support for reading and writing CSV or XML files.
17
+
The `atlas.io.core` namespace contains two low-level classes that can quickly read and write CSV and XML data. These base classes power the spatial data readers and writers in the Spatial IO module. Feel free to use them to add additional reading and writing support for CSV or XML files.
18
18
19
19
## Read delimited files
20
20
21
-
The `atlas.io.core.CsvReader` class makes it easy to read strings that contain delimited data sets. This class provides two methods for reading data:
21
+
The `atlas.io.core.CsvReader` class reads strings that contain delimited data sets. This class provides two methods for reading data:
22
22
23
23
- The `read` function will read the full data set and return a 2-dimensional array of strings representing all cells of the delimited data set.
24
-
- The `getNextRow` function reads each line of text in a delimited data set and returns an array of string representing all cells in that line of data set. This method can access the memory more efficiently. The user can processes the row and dispose any unneeded memory from that row before processing the next row.
24
+
- The `getNextRow` function reads each line of text in a delimited data set and returns an array of string representing all cells in that line of data set. The user can processes the row and dispose any unneeded memory from that row before processing the next row. So, function is more memory efficient.
25
25
26
26
By default, the reader will use the comma character as the delimiter. However, the delimiter can be changed to any single character or set to `'auto'`. When set to `'auto'`, the reader will analyze the first line of text in the string. Then, it will select the most common character from the table below to use as the delimiter.
27
27
@@ -35,7 +35,7 @@ This reader also supports text qualifiers that are used to handle cells that con
35
35
36
36
## Write delimited files
37
37
38
-
The `atlas.io.core.CsvWriter`class makes it easy to efficiently write an array of objects as a delimited string. Any single character can be used as a delimiter or a text qualifier. The default delimiter is comma (`','`) and the default text qualifier is the quote (`'"'`) character.
38
+
The `atlas.io.core.CsvWriter`writes an array of objects as a delimited string. Any single character can be used as a delimiter or a text qualifier. The default delimiter is comma (`','`) and the default text qualifier is the quote (`'"'`) character.
0 commit comments