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/how-to-use-spatial-io-module.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ manager: philmea
15
15
16
16
The Azure Maps Web SDK provides the **Spatial IO module**, which integrates spatial data with the Azure Maps web SDK using JavaScript or TypeScript. The robust features in this module allow developers to:
17
17
18
-
-[Read and write data to common spatial files](spatial-io-read-write-spatial-data.md). Supported file formats include: KML, KMZ, GPX, GeoRSS, GML, and CSV files containing columns with spatial information.
19
-
-[Connect to Open Geospatial Consortium (OGC) services and integrate with Azure Maps web SDK. Overlay Web Mapping Services (WMS) and Web Map Tile Services (WMTS) as layers on the map.](spatial-io-add-ogc-map-layer.md).
18
+
-[Read and write data to common spatial files](spatial-io-read-write-spatial-data.md). Supported file formats include: KML, KMZ, GPX, GeoRSS, GML, and CSV files containing columns with spatial information. Also supports Well-Known Text (WKT).
19
+
-[Connect to Open Geospatial Consortium (OGC) services and integrate with Azure Maps web SDK. Overlay Web Map Services (WMS) and Web Map Tile Services (WMTS) as layers on the map.](spatial-io-add-ogc-map-layer.md).
20
20
-[Query data in a Web Feature Service (WFS)](spatial-io-connect-wfs-service.md).
21
21
-[Overlay complex data sets that contain style information and have them render automatically](spatial-io-add-simple-data-layer.md).
22
22
-[Leverage high-speed XML and delimited file reader and writer classes](spatial-io-core-operations.md).
Copy file name to clipboardExpand all lines: articles/azure-maps/spatial-io-add-ogc-map-layer.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,14 @@ manager: philmea
12
12
13
13
# Add a map layer from the Open Geospatial Consortium (OGC)
14
14
15
-
The `atlas.layer.OgcMapLayer` class can overlay Web Mapping Services (WMS) imagery and Web Mapping Tile Services (WMTS) imagery on the map. WMS is a standard protocol developed by OGC for serving georeferenced map images over the internet. Image georeferencing is the processes of associating an image to a geographical location. WMTS is also a standard protocol developed by OGC. It's designed for serving pre-rendered and georeferenced map tiles.
15
+
The `atlas.layer.OgcMapLayer` class can overlay Web Map Services (WMS) imagery and Web Map Tile Services (WMTS) imagery on the map. WMS is a standard protocol developed by OGC for serving georeferenced map images over the internet. Image georeferencing is the processes of associating an image to a geographical location. WMTS is also a standard protocol developed by OGC. It's designed for serving pre-rendered and georeferenced map tiles.
16
16
17
-
The following sections outline the web mapping service features that are supported by the `OgcMapLayer` class.
17
+
The following sections outline the web map service features that are supported by the `OgcMapLayer` class.
18
18
19
-
**Web Mapping Service (WMS)**
19
+
**Web Map Service (WMS)**
20
20
21
21
- Supported versions: `1.0.0`, `1.1.0`, `1.1.1`, and `1.3.0`
22
-
- The service must support the `EPSG:3857` projection system, or the service must be able to handle reprojections.
22
+
- The service must support the `EPSG:3857` projection system, or handle reprojections.
23
23
- GetFeatureInfo requires the service to support `EPSG:4326` or handle reprojections.
24
24
- Supported operations:
25
25
@@ -29,7 +29,7 @@ The following sections outline the web mapping service features that are support
29
29
| GetMap | Retrieves a map image for a specified region |
30
30
| GetFeatureInfo | Retrieves `feature_info`, which contains underlying data about the feature |
31
31
32
-
**Web Mapping Tile Service (WMTS)**
32
+
**Web Map Tile Service (WMTS)**
33
33
34
34
- Supported versions: `1.0.0`
35
35
- Tiles must be square, such that `TileWidth == TileHeight`.
@@ -71,7 +71,7 @@ The following tool overlays imagery from the Web Map Services (WMS) and Web Map
71
71
<iframeheight='700'scrolling='no'title='OGC Web Map Service explorer'src='//codepen.io/azuremaps/embed/YzXxYdX/?height=700&theme-id=0&default-tab=result&embed-version=2&editable=true'frameborder='no'allowtransparency='true'allowfullscreen='true'style='width: 100%;'>See the Pen <a href='https://codepen.io/azuremaps/pen/YzXxYdX/'>OGC Web Map Service explorer</a> by Azure Maps (<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.
72
72
</iframe>
73
73
74
-
You may also specify the map settings to use a proxy service. The proxy service lets you load resources that are hosted on domains that don't have CORs enabled.
74
+
You may also specify the map settings to use a proxy service. The proxy service lets you load resources that are hosted on domains that don't have CORS enabled.
Copy file name to clipboardExpand all lines: articles/azure-maps/spatial-io-add-simple-data-layer.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ Azure Maps and GitHub style properties are the two main sets of supported proper
77
77
78
78
If the reader encounters a less common style property, it will convert it to the closest Azure Maps style property. Additionally, the default style expressions can be overridden by using the `getLayers` function of the simple data layer and updating the options on any of the layers.
79
79
80
-
The following section provide details on the default style properties that are supported by the simple data layer. The order of the supported property name is also the priority of the property. If two style properties are defined for the same layer option, then the first one in the list has higher precedence.
80
+
The following sections provide details on the default style properties that are supported by the simple data layer. The order of the supported property name is also the priority of the property. If two style properties are defined for the same layer option, then the first one in the list has higher precedence.
Copy file name to clipboardExpand all lines: articles/azure-maps/spatial-io-connect-wfs-service.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ manager: philmea
12
12
13
13
# Connect to a WFS service
14
14
15
-
A Web Feature Service (WFS) is a web service for querying spatial data that has a standardized API, which has been defined by the Open Geospatial Consortium (OGC). The `WfsClient` class in the spatial IO module lets developers connect to a WFS service and query data from the service.
15
+
A Web Feature Service (WFS) is a web service for querying spatial data that has a standardized API that is defined by the Open Geospatial Consortium (OGC). The `WfsClient` class in the spatial IO module lets developers connect to a WFS service and query data from the service.
16
16
17
17
The following features are supported by the `WfsClient` class:
18
18
@@ -89,7 +89,7 @@ The following code uses the WFS client to explore WFS services. Select a propert
89
89
<iframeheight='700'scrolling='no'title= 'WFS service explorer'src='//codepen.io/azuremaps/embed/bGdrvmG/?height=700&theme-id=0&default-tab=result&embed-version=2&editable=true'frameborder='no'allowtransparency='true'allowfullscreen='true'style='width: 100%;'>See the Pen <a href='https://codepen.io/azuremaps/pen/bGdrvmG/'>WFS service explorer</a> by Azure Maps (<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.
90
90
</iframe>
91
91
92
-
To access WFS services hosted on non-CORs enabled enpoints, a CORs enabled proxy service can be passed into the `proxyService` option of the WFS client as shown below.
92
+
To access WFS services hosted on non-CORS enabled endpoints, a CORS enabled proxy service can be passed into the `proxyService` option of the WFS client as shown below.
93
93
94
94
```JavaScript
95
95
//Create the WFS client to access the service and use the proxy service settings
Copy file name to clipboardExpand all lines: articles/azure-maps/spatial-io-core-operations.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@ The `atlas.io.core` namespace contains two low-level classes that can quickly re
20
20
21
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
-
- 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. 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.
23
+
- The `read` function will read the full data set and return a two-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. The user can process 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
@@ -57,9 +57,9 @@ The `atlas.io.core.CsvWriter` writes an array of objects as a delimited string.
57
57
To use this class, follow the steps below:
58
58
59
59
- Create an instance of the class and optionally set a custom delimiter or text qualifier.
60
-
- Write data to the class using the `write` function or the `writeRow` function. For the `write` function, pass a 2-dimensional array of objects representing multiple rows and cells. To use the `writeRow` function, pass an array of objects representing a row of data with multiple columns.
60
+
- Write data to the class using the `write` function or the `writeRow` function. For the `write` function, pass a two-dimensional array of objects representing multiple rows and cells. To use the `writeRow` function, pass an array of objects representing a row of data with multiple columns.
61
61
- Call the `toString` function to retrieve the delimited string.
62
-
- Optionally, call the `clear` method to make the writer reusable and reduce its resource allocation, or call the `delete` method to dispose of the the writer instance.
62
+
- Optionally, call the `clear` method to make the writer reusable and reduce its resource allocation, or call the `delete` method to dispose of the writer instance.
63
63
64
64
> [!Note]
65
65
> The number of columns written will be constrained to the number of cells in the first row of the data passed to the writer.
0 commit comments