Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

what's the API function for distance query

1 REPLY 1
Reply
Message 1 of 2
swimming123
1287 Views, 1 Reply

what's the API function for distance query

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

1 REPLY 1
Message 2 of 2
Daniel.Du
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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report