Infrastructure Map Server Developer

Valued Contributor
Posts: 82
Registered: ‎04-12-2012
Message 1 of 2 (1,073 Views)

what's the API function for distance query

1073 Views, 1 Replies
07-26-2012 08:04 AM

Hi there,


MapGudie has MeasureGreatCircleDistance(coord1, coord2) and MeasureEuclideanDistance(coord1, coord2) to calculate the distance between 2 points. What if I want to query the shortest and longest distance between one point and one layer which has one million points? Is there any API I can use? What's the solution I can use? Thank you

ADN Support Specialist
Posts: 162
Registered: ‎12-23-2008
Message 2 of 2 (1,013 Views)

Re: what's the API function for distance query

08-27-2012 02:10 AM in reply to: swimming123



Unfortunately, there is no APIs for topology like finding shortest path in MapGuide, you need to implement yourself. 

Daniel Du
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community