腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(2125)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
PostGIS st_
centroid
,但返回为kml
从“st_
centroid
”.roads中选择“st_
centroid
(the_geom)”,“Roads.”“id” 我如何做质心,但返回它作为kml?
浏览 2
提问于2012-06-21
得票数 1
2
回答
Centroid
不接受用户输入的代码
import java.util.Scanner; String y3 = bucky.nextLine(); // Formula to calculate
centroid
x = (x1 + x2 + x3) / 3; float y = (y1 + y2 + y3) &
浏览 1
修改于2021-02-16
得票数 0
1
回答
如何清理传递给st_
centroid
的sql参数
我正在尝试清理传递给ST_
Centroid
的参数,但是我得到了一个语法错误。"SELECT ST_AsText(ST_
Centroid
(MULTIPOINT ( 0 0, 0 0, 0 0, 0 0 ))) as
centroid
"sql = ActiveRecord::Base::sanitize_sql_array(['SELECT ST_AsText(ST_
Centroid
(MULTIPOINT ( ?; ActiveRecord::Base.connection.exec
浏览 3
提问于2021-07-22
得票数 0
回答已采纳
1
回答
如何用sf::st_
centroid
计算多边形的质心?
d <- st_read('12SEE250GC_SIR.shp',stringsAsFactors = F) d$
centroid
<- st_
centroid
(d$geometry)In st_
centroid
.sfc(d$geometry) : st_
centroid
does not
浏览 1
修改于2017-09-12
得票数 13
1
回答
arc.
centroid
在D3中返回(NaN,NaN)
我在transform属性中删除了arc.
centroid
,但它返回的是"NaN,NaN“而不是实际的坐标,我不明白它是从哪里读取的,它没有找到一个数字。.append("text") .attr("transform", function(d) { return "translate(" + arc.
centroid
浏览 0
提问于2014-06-12
得票数 2
2
回答
使用path.
centroid
()找不到path对象的中心
我在这段代码中使用了
centroid
()函数。d.properties.nhood; .attr('transform', function (d) { }) return 'translate(' + path.
centroi
浏览 59
修改于2019-11-19
得票数 0
回答已采纳
2
回答
st_
centroid
()不在Lambert-93 shapefile上的多边形内。
%>% summarise(n = n()) %>%plot(st_geometry(st_
centroid
(p_arr_wgs)), pch = 3, col = 'red', add = TRUE)1: In st_
centroid
.sf(p_arr_wgs) :st_
centroid
assumes attributes are constant ove
浏览 0
修改于2019-02-16
得票数 1
1
回答
rgeos::gCentroid()和sf::st_
centroid
()返回的值不同吗?
然而,sf::st_
centroid
()的使用给了我这个警告, In st_
centroid
.sfc(x = comarea606$geometry) :method=export&format=GeoJSON" ) st_
centroid
( x =
浏览 1
修改于2018-03-18
得票数 7
回答已采纳
1
回答
如何在python Scikit-learn中获得凝聚聚类"
Centroid
“
clusterer.fit_predict(X)clf = NearestCentroid() clf.fit(df1["Height
浏览 27
修改于2019-06-05
得票数 14
1
回答
st_
centroid
在同一点上呈现所有标签
我试图使用st_
centroid
函数在sf库中显示R中GIS多边形特征的标签。prov <- st_read("C:/prgrm/gis/edited ncm/ncm_provinces.shp") prov <- cbind(prov, st_coordinates(st_
centroid
浏览 2
提问于2021-11-25
得票数 0
回答已采纳
1
回答
如何用st_
centroid
获取bigquery多边形的正确质心
我在bigquery中的ST_
CENTROID
函数有一些问题。在获取地理列的质心和从相同的WKT版本的列中得到质心之间有一个区别。示例: select st_
centroid
(polygon) loc, st_
centroid
(ST_GEOGFROMTEXT(st_astext(polygon))) loc2,polygon from
浏览 2
修改于2020-01-07
得票数 1
回答已采纳
1
回答
使用arc.
Centroid
将svg:image放在圆弧的中间-但不显示
href", "http://www.e-pint.com/epint.jpg ") .attr("transform", function(d) { return "translate(" + arc.
centroid
浏览 2
提问于2012-11-03
得票数 0
回答已采纳
1
回答
使用Arc.
Centroid
定位形状,但由于某种原因X&Y不会影响它
我已经在一个svg:image上成功地使用了Arc.
Centroid
。属性X和Y不会影响它- .attr("transform", function(d,i) {return "translate ("+ arc[i].
centroid
我还应用了另一个变换属性,例如 .attr("transform", function(d,i) {return "t
浏览 0
提问于2012-11-08
得票数 0
回答已采纳
1
回答
如何在D3 ()上向arc.
centroid
Chord图组Arcs添加标签?
d3.rgb(colorsMap(d.index)).darker() })// .attr('x', function (d) { return arc.
centroid
()[d.index][0] }) // doesn't work // .attr('y', function (d) { return arc.
centroid
()[d.index][1] }) /但由于
浏览 1
提问于2018-09-21
得票数 2
回答已采纳
1
回答
d3.js arc.
centroid
(d):Error:<text>属性transform=的无效值“转换(NaN,NaN)”
我试图用
centroid
()函数对弧标签进行居中,如D3 中所述。arcs.append("text") .attr("transform", function(d) { return "translate(&
浏览 4
修改于2015-08-18
得票数 1
回答已采纳
1
回答
使用Arc.
centroid
来绘制圆圈-但是文本不与它一起使用,为什么?
我已经使用arc.
Centroid
尝试在带标签的圆弧上绘制圆。但是,标签不会留下来吗?d.y + 4; }); return "translate(" + arc[i].
centroid
浏览 0
提问于2012-11-03
得票数 0
回答已采纳
1
回答
D3.js甜甜圈图表...arc.
centroid
(d)不受d.innerRadius和d.outerRadius的影响
d.innerRadius = radius; return "translate(" + arc.
centroid
") .text(function(d, i) { return d.value.toFixed(2); }); arc.
centroid
浏览 4
提问于2013-04-17
得票数 3
1
回答
如何解决错误:<text>属性transform=(NaN,NaN)在arc.
centroid
(d)上的无效值?
attr("transform", function(d, i, j){ return "translate(" + arc.
centroid
attr("transform", function(d, i, j){ return "translate(" + arc.
centroid
浏览 4
修改于2015-11-05
得票数 0
回答已采纳
2
回答
R中的错误:不适用于类为"NULL“的对象的”st_
centroid
“方法
但是,我得到了一个错误:“mutate_impl中的错误(.data,dots):计算错误:不适用于类为”NULL“的对象的st_
centroid
方法。下面是我的代码示例:table2 = x %>% mutate(center.1 =map
浏览 0
修改于2018-01-26
得票数 3
回答已采纳
2
回答
C- Graphics,无法旋转多边形
(poly[0] -
centroid
_x) * cos(angle) - (poly[1] -
centroid
_y) * sin(angle) +
centroid
_x; rpoly[2] = (poly[2] -
centroid
_x) * cos
浏览 3
修改于2014-09-28
得票数 0
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券