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