Skip to content

Commit

Permalink
Adding a how to link for creating dataset with GeoJSON (Azure#21299)
Browse files Browse the repository at this point in the history
* Adding a how to link for creating dataset with GeoJSON
Spell-correct geojson to GeoJSON

* Updating Dataset List example Version

Co-authored-by: tejitpabari <tejitpabari@microsoft.com>
  • Loading branch information
2 people authored and kayousef committed Dec 21, 2022
1 parent 7cdafd2 commit a7a02be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
},
"OutputOntologyDataset": {
"name": "outputOntology",
"description": "The ontology for the uploaded zip package containing geojson files. **outputOntology is required if udid is provided, however, is mutually exclusive with conversionId. Currently, only the value *facility-2.0* is supported.**",
"description": "The ontology for the uploaded zip package containing GeoJSON files. **outputOntology is required if udid is provided, however, is mutually exclusive with conversionId. Currently, only the value *facility-2.0* is supported.**",
"type": "string",
"in": "query",
"required": false,
Expand Down Expand Up @@ -132,7 +132,7 @@
"paths": {
"/datasets": {
"post": {
"description": "This API allows the caller to create a dataset from data that was uploaded to the [Azure Maps Data Service](https://docs.microsoft.com/en-us/rest/api/maps/data-v2) and converted using the [Azure Maps Conversion Service](https://docs.microsoft.com/en-us/rest/api/maps/v2/conversion). You can also create a dataset directly using data uploaded to the [Azure Maps Data Service](https://docs.microsoft.com/en-us/rest/api/maps/data-v2), provided that the uploaded data is a zip of geojson files conforming to the [facility ontology](https://docs.microsoft.com/en-us/azure/azure-maps/creator-facility-ontology) format. \n\n### Submit Create Request\n\nTo create your dataset, issue a `POST` request with the required parameters. The Create API is a [long-running request](https://aka.ms/am-creator-lrt-v2).",
"description": "This API allows the caller to create a dataset from data that was uploaded to the [Azure Maps Data Service](https://docs.microsoft.com/en-us/rest/api/maps/data-v2) and converted using the [Azure Maps Conversion Service](https://docs.microsoft.com/en-us/rest/api/maps/v2/conversion). You can also create a dataset directly using data uploaded to the [Azure Maps Data Service](https://docs.microsoft.com/en-us/rest/api/maps/data-v2), provided that the uploaded data is a zip of GeoJSON files conforming to the [facility ontology](https://docs.microsoft.com/en-us/azure/azure-maps/creator-facility-ontology) format.\n\nFor more information on how to create a dataset from a zip of GeoJSON files, please visit this [article](https://aka.ms/howtofacilitygeojson)\n\n### Submit Create Request\n\nTo create your dataset, issue a `POST` request with the required parameters. The Create API is a [long-running request](https://aka.ms/am-creator-lrt-v2).",
"operationId": "Dataset_Create",
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
Expand All @@ -142,7 +142,7 @@
"Create dataset from a converted CAD file provided by conversionId": {
"$ref": "./examples/dataset/Dataset_Create_ConversionId.json"
},
"Create dataset from a zip of geojson files provided by udid": {
"Create dataset from a zip of GeoJSON files provided by udid": {
"$ref": "./examples/dataset/Dataset_Create_Udid.json"
},
"Create dataset with Udid and append to it a dataset created with udid": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"geography": "us",
"api-version": "2022-01-01-preview"
"api-version": "2022-09-01-preview"
},
"responses": {
"200": {
Expand Down

0 comments on commit a7a02be

Please sign in to comment.