使用 GeoTools:com.vividsolutions.jts.geom.Cooperative 类中的纬度和经度是什么?

发布于 2024-12-17 22:03:12 字数 541 浏览 7 评论 0原文

我将使用 com.vividsolutions.jts.geom.Coordinate 作为我的坐标类。 但没有找到任何坐标顺序正确的文档。这是标准的吗?

这是 java 文档链接 -> http://www.vividsolutions.com/jts/javadoc /com/vividsolutions/jts/geom/Cooperative.html

我的问题是: x 是什么? (是纬度还是经度?) y 是什么? (是纬度还是经度?)

任何指导都会受到赞赏。

更新1 让我补充一下。我正在使用 GeoTools Java 库。然后,该库正在使用该坐标类。 GeoTools 如何处理 Cooperative.x 和 Cooperative.y?

I will use com.vividsolutions.jts.geom.Coordinate as my coordinate class.
But don't find any document which is the correct order of the coordinate. is it standard?

Here's the java doc link -> http://www.vividsolutions.com/jts/javadoc/com/vividsolutions/jts/geom/Coordinate.html

My question is:
What is x? (is it Latitude or Longitude?)
What is y? (is it Latitude or Longitude?)

Any guidance is appreciated.

UPDATES1
Let me to add this. I am using GeoTools Java Library. Then, the library is using that Coordinate class. How does GeoTools treat the Coordinate.x and Coordinate.y?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

醉态萌生 2024-12-24 22:03:12

这取决于您使用的投影。检查 EPSG 定义,它将列出轴顺序。例如,请参阅 http://spatialreference.org/ref/sr-org/6864/prettywkt /。如果您使用 GeoTools,那么您可能不需要担心 JTS 内部结构。

更新

我记得这个文档可能会有所帮助(http ://docs.geotools.org/latest/userguide/library/referencing/order.html

It depends on the projection you are using. Check the EPSG definition and it will list the axis order. For example see http://spatialreference.org/ref/sr-org/6864/prettywkt/. If you are using GeoTools then you probably don't need to be worrying about the JTS internals.

UPDATE

I remembered this document which may help (http://docs.geotools.org/latest/userguide/library/referencing/order.html)

猛虎独行 2024-12-24 22:03:12

在笛卡尔坐标中,x 映射左右,y 映射上下。因此,在地图前面自然适合的方向是使用 x 表示经度(东西),使用 y 表示纬度(南北)。还有 az,可用于高度。

In Cartesian coordinates, x maps left-right and y maps up-down. So, a natural fit oriented in front of a map would be to use x for longitude (east-west) and y for latitude (north-south). There's a z as well, that could be used for altitude.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文