DWG File Conversion Issue for Creator Indoor Maps: Invalid Manifest Version Error

Renangi Jagadeesh 5 Reputation points
2024-07-23T08:05:28.7133333+00:00

I tried to create a sample indoor map using files from the Microsoft documentation. https://github.com/Azure-Samples/am-creator-indoor-data-examples/tree/master/Drawing%20Package%202.0

I have followed the below Microsoft documentation to create data registry and to upload the drawing package into my Azure storage account and registered it in Azure Maps account.
https://learn.microsoft.com/en-us/azure/azure-maps/creator-indoor-maps

After successfully registering, I attempted to convert the DWG file using the udid. I obtained the operation ID by making a POST request to the following URL :
POST https://us.atlas.microsoft.com/conversions?api-version=2.0&udid={udid}&outputOntology=facility-2.0&subscription-key={Your-Azure-Maps-Subscription-key}

When attempting to retrieve the conversion ID, I encountered the following error:
{

    "operationId": "",

    "created": "",

    "status": "Failed",

    "error": {

        "code": "dwgConversionProblem",

        "details": [

            {

                "code": "failed",

                "details": [

                    {

                        "code": "manifestError",

                        "message": "manifest.json has an invalid 'version'."

                    }

                ]

            }

        ]

    },

    "properties": {}

}

I also attempted using the old URL but encountered the same error when making a POST request:
POST https://us.atlas.microsoft.com/conversions?subscription-key={Your-Azure-Maps-Subscription-key}&api-version=2023-03-01-preview&udid={udid}&inputType=DWG&dwgPackageVersion=2.0

In manifest.json also version 2.0 is mentioned { "version": "2.0", "building Levels": { "dwgLayers": [ "GROS$" ]}}

In the Azure Maps Creator Onboarding Tool, https://azure.github.io/azure-maps-creator-onboarding-tool/ I successfully converted the DWG file provided in the updated Azure Maps documentation. The tool uploads the file, performs the conversion, and generates a dataset, along with providing the MapConfigurationId.

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
663 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yuqi Zhang 1 Reputation point Microsoft Employee
    2024-07-24T18:17:27.22+00:00
    1 person found this answer helpful.
    0 comments No comments