DWG To Geojson Converson with wrong Unit Layer name is not giving any error

notescrew 51 Reputation points
2022-02-16T16:59:49.207+00:00

When we convert DWG to GeoJson using Azure Maps API, if we pass wrong Unit Layer name (any random name, which doesn't exists n DWG) in manifast.json file, the conversion is not throwing any error, it just returns the empty geometry n GeoJson. While if we send wrong name for exterior layer, it throws the error.

Why we have kept different behavior for these 2 layers, while both are mandatory? If user can give any random name for Unit Layer, what is the meaning of making it mandatory?

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

Accepted answer
  1. Brendan Co 746 Reputation points Microsoft Employee
    2022-03-02T01:27:59.39+00:00

    Hi @notescrew

    Thank you for pointing this out. The exterior layer is the only layer that is mandatory. We will be updating our documentation and service to remove the requirement for the unit layer.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.