R包可用于计算大圆的最小包围盒?球体上圆的最小包围矩形
例如:
box <- polycirc(c(longitude, latitude), distance=35)
这将在指定的坐标(地球上)有35公里,距中心点的半径返回边框为一圈。 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.
这样的东西应该已经存在于R中,但我找不到它。最近我发现(从SO),我目前transmogrifying到R,是:
http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates
而且,什么字(如果有的话)的圆的最小外接矩形? (中circumscribed对面)
还有这一个:http://stackoverflow.com/questions/1303265/algorithm-for-determining-minimum-bounding-rectangle-for-collection-of-lat-lon-co – 2010-06-25 04:13:34
你可以实现使用bbox ()包'sp'? – 2010-07-02 05:54:55