腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(340)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
mongoengine连接pymongo.
GEOSPHERE
packages/mongoengine/base/fields.py", line 420, in GeoJsonBaseField解决方案:pymongo==2.6.3
浏览 2
提问于2013-12-03
得票数 0
3
回答
Geosphere
的距离矩阵:避免重复计算
我想使用
geosphere
中的distm计算一个非常大的矩阵中所有点之间的距离。请参阅最小示例: library(
geosphere
) coords <- data.table(coordX=c(1,2,5,9), coordY=c(2,2,0,1
浏览 85
修改于2019-03-04
得票数 3
回答已采纳
1
回答
geosphere
::areaPolygon根据折点的排序返回不同的结果
lon = c(23.3194939,23.3194379,23.3194379,23.3182881,23.3194939)使用
geosphere
包中的函数areaPolygon:[1] 350.9063但是,我注意到,如果对多边形中的点进行重新排序,则会得到不同的结果: example_scrambled <- example_poly
浏览 17
修改于2019-11-10
得票数 0
回答已采纳
1
回答
使用ggmap /
geosphere
计算点子集之间的平均距离
ladenlibrary(openxlsx)#library(sf)library(
geosphere
浏览 17
修改于2019-09-23
得票数 1
1
回答
For Loop使用
geosphere
软件包计算R中的欧几里德距离
., check.names = FALSE) : Looping For的说明,使用
geosphere
包计算了从原点到目的地的距离。现在,当我想对不同的数据集执行相同的操作时,我发现了新的麻烦。Distance 2Row 4 -> Row 4 : Distance 4n =
浏览 27
提问于2020-12-08
得票数 0
1
回答
Mongodb
geosphere
和haystack索引拒绝有效的行字符串
我尝试将以下geojsonlint数据分别插入到三个地理索引中。唯一接受数据的是2d索引。insertDocument :: caused by :: 16776 geo field is not a number "v" : 1, "geometry.coordinates" : "geoHaystack", }, "name
浏览 0
修改于2015-01-26
得票数 2
1
回答
用R
geosphere
软件包计算多边形面积
, -0.1840993, -0.1840984, -0.1838682)data <- data.frame(lng, lat)area <-
geosphere
浏览 0
修改于2017-09-17
得票数 2
1
回答
以一种更有效的方式使用
geosphere
::distm?
cbind(id=1:100, longitude=runif(100,min=-180, max=-120), latitude=runif(100, min=50, max=85)) #require(
geosphere
浏览 22
提问于2020-01-18
得票数 0
回答已采纳
1
回答
R使用包
geosphere
计算地球上两个点之间的距离
library(
geosphere
) distm (c(40.777250, -73.872610), c(40.6895, -74.1745), fun = distHaversine)
浏览 1
修改于2017-09-17
得票数 9
1
回答
R错误:使用
Geosphere
包时,向量的长度错误,应为2
我正在尝试分析两个位置之间的平均距离,以便为自动批准旅行距离提供一个可接受的截止点。我已经引用了()和(),但是我无法调试错误并完成我的分析。df <- c(lat1,long1,lat2,long2) df %>% rowwise() %>% mutate(HVRSINE = distHaversine(c(df$long1,df$lat1),c(df$long2,df$lat2)))Error: Problem with `mutate()` column `HVRSINE`. x
浏览 48
修改于2021-05-25
得票数 0
1
回答
使用
geosphere
计算GPS点之间的最小距离会给出不准确的值
closest neighboring point and number of neighbors within a given radius, coordinates lat-long library(
geosphere
浏览 63
提问于2021-08-22
得票数 0
回答已采纳
1
回答
使用
geosphere
::distm计算的两点之间的距离与使用leaflet绘制的距离不同
library(leaflet) ## Center of the US
浏览 1
提问于2019-06-11
得票数 1
2
回答
创建大圆圈库(
Geosphere
)时if (对极(p1,p2))中出现r错误
library(maptools)library(sp) dfCord
浏览 14
修改于2017-09-17
得票数 1
2
回答
执行R脚本时,MS-SQL server中出现“无效的BXL流”
我正在尝试使用"
geosphere
“包,但是当我执行存储过程时,我收到错误消息"Invalid BXL stream”,并且执行停止。该软件包已经安装在机器上,只需加载该软件包就会导致此错误,即library("
geosphere
")会导致此错误。 但是,我可以将这个包单独与R Studio一起使用,所以这个包似乎没有任何问题。
浏览 0
修改于2019-03-01
得票数 2
1
回答
在r中的ggplot中添加在地图中心的点
我知道来自
geosphere
包的
geosphere
可以做到这一点。它只能计算一个经度和纬度,但我有49个州,我不想一个一个地计算它。library(tidyverse)library(ggnewscale) us <- map_data('state')
浏览 1
修改于2020-10-10
得票数 1
回答已采纳
1
回答
在R的地球圈封装中,为什么没有0-360度的方位?
当我使用bearing函数在
geosphere
软件包中计算各点之间的方位时,得到的轴承跨度为-180度- 180度。然而,基于
geosphere
软件包,我预计轴承的跨度为0-360度.这里引用了文档中的一句话: # set uplibrary(ggplot2) long <- c(-55.25
浏览 0
提问于2018-06-25
得票数 3
2
回答
如何在R中矢量化坐标计算的for循环?
require(
geosphere
) # Calculate number of points that are 50 km within every center point centers[i,3] <- sum(
geosphere
浏览 1
提问于2021-01-26
得票数 2
回答已采纳
2
回答
如何存储函数的输出,并将存储的输出作为下一个输入,并将此过程重复特定次数
require(
geosphere
) y<-c(44.69540,44.69539)coords<-cbind(xBearing<-c(92.59359, 80.56905)len<-c(33.19121, 36.66707) 我想要对这些数据做的是,多次使用来自destPoint包的
geosphere
浏览 8
修改于2015-10-30
得票数 1
回答已采纳
2
回答
为数据中的每一行对另一个数据帧中的每一行应用函数
这是我到目前为止所得到的,但它只给了我1000个结果: distHaversine(a[,c(11,9)],b[,c编辑library(
geosphere
) result <- distm(a[ , c(11, 9)], b[ , c(4, 2)], fun
浏览 0
修改于2017-09-17
得票数 0
回答已采纳
1
回答
从我自己的包中使用sp (空间包)会导致错误:找不到函数
我用roxygen2标记了所有注释,这生成了一个正确的命名空间文件,其中包括:importFrom(
geosphere
,distMeeus) importFrom(
geosphere
作为一个实验,在调用我的包代码之前,我刚刚调用了library(
geosphere
) (它也加载了sp),而我的函数已经越过了这个点。所以,我还需要为每个包裹打电话给library()吗??
浏览 1
修改于2018-02-01
得票数 0
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券