[
https://issues.apache.org/jira/browse/OFBIZ-11901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17161257#comment-17161257 ]
Suraj Khurana commented on OFBIZ-11901:
---------------------------------------
Hello all,
Here is a high level design, we can have a service that has following attributes:
<attribute name="fromLatitude" mode="IN" type="Double"/>
<attribute name="fromLongitude" mode="IN" type="Double"/>
<attribute name="toLatitude" mode="IN" type="Double"/>
<attribute name="toLongitude" mode="IN" type="Double"/>
<attribute name="distance" mode="OUT" type="Double"/>
We can name that service as 'getDistanceBetweenGeoPoints', purpose of creating a service is that the same can be used as an API as well.
> Provide OOTB support to calculate distance between two geo points
> -----------------------------------------------------------------
>
> Key: OFBIZ-11901
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11901> Project: OFBiz
> Issue Type: New Feature
> Affects Versions: Trunk
> Reporter: Suraj Khurana
> Assignee: Suraj Khurana
> Priority: Major
>
> Though there are many third party capabilities available in the form of API's, this can easily be calculated within OFBiz as well.
> This method will be providing direct spatial distance between two geo points.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)