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
Unfortunately, there is no APIs for topology like finding shortest path in MapGuide, you need to implement yourself.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.