Infrastructure Map Server Developer

Infrastructure Map Server Developer

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

what's the API function for distance query

1095 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: 212
Registered: ‎12-23-2008
Message 2 of 2 (1,035 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

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.