球体上圆的最小外接矩形
哪些 R 包可用于计算大圆的最小边界框?
例如:
box <- polycirc( c( longitude, latitude ), distance=35 )
这将返回距给定坐标(在地球上)的中心点半径为 35 公里的圆的边界框。其中:
box.longitude_min = The longitude of the circle's western-most point.
box.longitude_max = The longitude of the circle's eastern-most point.
box.latitude_min = The latitude of the circle's southern-most point.
box.latitude_max = The latitude of the circle's northern-most point.
类似的东西应该已经存在于 R 中,但我找不到它。我发现的最接近的(来自SO),我目前正在将其转换为R,是:
http://janmatuschek.de /LatitudeLongitudeBoundingCooperatives
另外,圆的最小外接矩形用什么词(如果有的话)? (与限制相反。)
What R packages are available to calculate the minimum bounding box for a great circle?
For example:
box <- polycirc( c( longitude, latitude ), distance=35 )
This would return the bounding box for the circle with a radius of 35 kilometres from the central point at the given coordinates (on Earth). Where:
box.longitude_min = The longitude of the circle's western-most point.
box.longitude_max = The longitude of the circle's eastern-most point.
box.latitude_min = The latitude of the circle's southern-most point.
box.latitude_max = The latitude of the circle's northern-most point.
Something like this should already exist in R, but I cannot find it. The closest I've found (from SO), which I am currently transmogrifying to R, is:
http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates
Also, what is the word (if any) for minimum bounding rectangle of a circle? (The opposite of circumscribed.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
给我:
Given to me:
使用
polycirc
函数生成圆的点,然后使用min
和max
找到边界框:)Use the
polycirc
function to generate the points of the circle and thenmin
andmax
to found the bounding box :)