Infrastructure Map Server Developer

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

what's the API function for distance query

1088 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

Board Manager
Posts: 179
Registered: ‎12-23-2008
Message 2 of 2 (1,028 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

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

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

Ask the Community