• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk MapGuide Developer

    Reply
    Valued Contributor
    Posts: 72
    Registered: ‎04-12-2012

    what's the API function for distance query

    921 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

    Please use plain text.
    ADN Support Specialist
    Posts: 103
    Registered: ‎12-23-2008

    Re: what's the API function for distance query

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

    Hi,

     

    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

    Please use plain text.