简体   繁体   English

Java api用于简单的gis计算

[英]java api for simple gis computations

I am trying to develop some simple location logic in the server-side portion of a java servlet-based webapp. 我正在尝试在基于Java Servlet的Web应用程序的服务器端部分中开发一些简单的位置逻辑。

There are really just two operations that I'm interested in: 我实际上只感兴趣两个操作:

  1. Given a start point (lat/long) s1, distance d, and search point (also lat/long) s2, determine if the s2 is within d distance from s1. 给定起点(纬度/经度)s1,距离d和搜索点(纬度/经度)s2,请确定s2是否在距s1的d距离之内。

  2. Given two points (lat/long), determine the distance between them. 给定两个点(纬度/经度),确定它们之间的距离。

Does anyone have recommendations of a simple java API that supports these operations? 是否有人提出了支持这些操作的简单Java API的建议?

Thanks! 谢谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM