Skip to content

Commit ba812cf

Browse files
committed
Minor updates to spatial io docs
1 parent a93a0b2 commit ba812cf

7 files changed

+42
-51
lines changed

articles/azure-maps/how-to-use-spatial-io-module.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ manager: philmea
1515

1616
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:
1717

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).
2020
- [Query data in a Web Feature Service (WFS)](spatial-io-connect-wfs-service.md).
2121
- [Overlay complex data sets that contain style information and have them render automatically](spatial-io-add-simple-data-layer.md).
2222
- [Leverage high-speed XML and delimited file reader and writer classes](spatial-io-core-operations.md).

articles/azure-maps/spatial-io-add-ogc-map-layer.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ manager: philmea
1212

1313
# Add a map layer from the Open Geospatial Consortium (OGC)
1414

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.
1616

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.
1818

19-
**Web Mapping Service (WMS)**
19+
**Web Map Service (WMS)**
2020

2121
- 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.
2323
- GetFeatureInfo requires the service to support `EPSG:4326` or handle reprojections.
2424
- Supported operations:
2525

@@ -29,7 +29,7 @@ The following sections outline the web mapping service features that are support
2929
| GetMap | Retrieves a map image for a specified region |
3030
| GetFeatureInfo | Retrieves `feature_info`, which contains underlying data about the feature |
3131

32-
**Web Mapping Tile Service (WMTS)**
32+
**Web Map Tile Service (WMTS)**
3333

3434
- Supported versions: `1.0.0`
3535
- 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
7171
<iframe height='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>.
7272
</iframe>
7373

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.
7575

7676
## Next steps
7777

articles/azure-maps/spatial-io-add-simple-data-layer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Azure Maps and GitHub style properties are the two main sets of supported proper
7777

7878
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.
7979

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.
8181

8282
### Bubble layer style properties
8383

articles/azure-maps/spatial-io-connect-wfs-service.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ manager: philmea
1212

1313
# Connect to a WFS service
1414

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.
1616

1717
The following features are supported by the `WfsClient` class:
1818

@@ -89,7 +89,7 @@ The following code uses the WFS client to explore WFS services. Select a propert
8989
<iframe height='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>.
9090
</iframe>
9191

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.
9393

9494
```JavaScript
9595
//Create the WFS client to access the service and use the proxy service settings

articles/azure-maps/spatial-io-core-operations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ The `atlas.io.core` namespace contains two low-level classes that can quickly re
2020

2121
The `atlas.io.core.CsvReader` class reads strings that contain delimited data sets. This class provides two methods for reading data:
2222

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.
2525

2626
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.
2727

@@ -57,9 +57,9 @@ The `atlas.io.core.CsvWriter` writes an array of objects as a delimited string.
5757
To use this class, follow the steps below:
5858
5959
- 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.
6161
- 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.
6363
6464
> [!Note]
6565
> 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

Comments
 (0)