Help on understanding conversion errors for Azure Indoor Maps

Jan Lange 6 Reputation points
2020-06-17T07:56:03.473+00:00

I am trying to Convert a large Indoor map using the Azure Indoor Map Conversion API. I get a lot of warnings and a diagnosticPackageLocation. I am not sure if this to early to ask for, but is it possible to get help on trying to figure out what went wrong with my DWG file conversion. I can provide all the details in an email if you want.

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

3 answers

Sort by: Most helpful
  1. Roberto Lucchi 101 Reputation points
    2020-06-17T17:00:37.78+00:00

    Warnings and errors can be reviewed using a the web application (Azure Maps Drawing Error Visualizer) downloadable via diagnosticPackageLocation, as documented here. If you received warnings, this means that conversion succeeded in completing the process. However, it's recommended that you review and resolve all warnings. A warning means part of the conversion was ignored or automatically fixed. The Azure Maps Drawing Error Visualizer helps you identify visually which entity generated the warning, which layer and building level is from, and gives you an additional message for the particular warning case. Error and warning codes are documented and exemplified here.

    2 people found this answer helpful.
    0 comments No comments

  2. Jan Lange 6 Reputation points
    2020-07-08T08:40:26.317+00:00

    Hi Roberto.

    I have tried with different dwg files I even created a very simple drawing (which I can sent to you, if you want). I keep getting this error when trying to convert the file:

    "created": "2020-07-08T08:25:38.8543927+00:00",
    "status": "Failed",
    "error": {
    "code": "dwgConversionProblem",
    "details": [
    {
    "code": "failed",
    "details": [
    {
    "code": "levelError",
    "message": "Unable to build level outline for ordinal 0",
    "innererror": {
    "levelOrdinal": 0,
    "layerName": "exterior",
    "geometry": null,
    "message": "Problem with geometry.",
    "code": null,
    "innererror": null
    }
    }
    ]
    }
    ]
    },

    0 comments No comments

  3. Roberto Lucchi 101 Reputation points
    2020-07-09T02:35:19.01+00:00

    Looks like the service failed to generate the level outline data, this could be due to missing the requirements for the outline as defined here. Also, if you have not seen it yet, there is a sample dataset downloadable here which is a valid drawing package. If you can share the file or upload here, happy to take a look.