How to get lineGroupIds from agencyId or metroId? Azure Maps

Robin Huang 6 Reputation points
2020-09-09T17:04:19.337+00:00

I'm interested in getting Public Transit line shapes via the Get Transit Line Info Preview API (https://atlas.microsoft.com/mobility/transit/line/json?api-version=1.0&query={query}).

The Query requires a lineGroupId. Is there a way to get lineGroupIds from the agency Id or the metro Id?

I want to show all the subway lines for New York City for example.

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

1 answer

Sort by: Most helpful
  1. QuantumCache 20,271 Reputation points
    2020-09-16T00:45:03.247+00:00

    Hello @Robin Huang , Thanks for reaching out to us on this topic and contributing this question which helps others as well.

    Below is the response from Product Team, I hope this helps with your query.

    " Thank you for the feedback. Today this feature is not supported through our APIs. We have added the request to our backlog".

    Please make sure to keep following the Azure Maps Documentation for further updates.

    Please let us know if you need further help in this matter.


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.