腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
在
GetFeatures
Geotools
之后
释放
内存
、
.withAggregateVisitor("Count").withGroupByAttribute(CQL.toExpression(strColumn)).build();sfc.
getFeatures
().accepts(visitor, null);在此
之后
,
内存
超过1800Mb。但在此
之后
不会
释放
。
在
我们得到所有的值
之后
,如
浏览 1
提问于2017-02-27
得票数 3
1
回答
为什么这段代码--如何使用
geotools
读取一个shapefile --抛出这个异常?
、
我正在使用
geotools
10.1从一个shapefile中读取属性。我不明白为什么在打印所有特性属性
之后
抛出异常。;import org.
geotools
.data.FeatureSource;import org.
geotools
.feature.FeatureIterator; import org.
浏览 5
提问于2013-11-09
得票数 7
回答已采纳
1
回答
如何使用
GeoTools
在
内存
中恢复形状的特征?
、
、
在
查看了地理工具快速入门
之后
:https://docs.
geotools
.org/latest/userguide/tutorial/quickstart/intellij.html 它显示了一个使用以下代码恢复形状特征的示例SimpleFeatureSource featureSource = store.getFeatureSource(); FeatureCollection collection = featureSource.
getFeatures</e
浏览 15
提问于2020-01-28
得票数 0
回答已采纳
2
回答
Java :对被抢占到的行标识行的快照
、
、
我使用函数
在
R中完成了这一点,但是考虑到我需要处理的数据量,这是不可扩展的,所以我希望Java能够更快地处理这些数据,以便在R中进行分析。我的代码(下面)与
geotools
教程非常类似,我
在
GPS点的CSV (1900万行)中读到了一些细微的差异,而不是生成它们,我还编写了一个CSV结果。;import org.
geotools
.data.FileDataStoreFinder; import org.
geotool
浏览 13
提问于2017-01-10
得票数 1
回答已采纳
2
回答
无法使用
GeoTools
加载shapefile
、
dataStore.getFeatureSource("POLYGON"); catch (IOException e) {e.printStackTrace();}问题是,
在
我尝试加载shapefile
之后
,dataStore变量是空的。; i
浏览 5
提问于2017-04-27
得票数 1
1
回答
无法使用
geoTools
获取FeaturesCollection中的内容
、
、
、
、
我正在使用
geoTools
库。我的目标是从geoServer返回特性。我已正确连接到dataStore,但无法接收集合功能的内容。当我尝试的时候: SimpleFeatureCollection collection = featureSource.
getFeatures
();
在
欺骗我的代码时,collectionFeaturefeatureSource = dataStore.getFeatureSource(layer); SimpleFeatureCollection collection = featureSource.
g
浏览 80
提问于2020-01-25
得票数 1
3
回答
确定地理点是否
在
州边界的X米以内(使用shapefile作为边界数据)
、
、
、
、
我需要的是能够确定任何给定的lat/lon点是否
在
与任何州边界线的指定距离内--也就是说,我将不指定特定的边界线,只需要查看该点是否接近它们中的任何一个。我计划在Shapefile插件中使用
GeoTools
库(尽管有更简单的选项,我完全支持)。我真正不明白的是:一旦将shapefile加载到
内存
中,如何检查是否靠近边框? 谢谢!-Dan
浏览 1
提问于2009-05-27
得票数 4
回答已采纳
1
回答
通过geoserver从
Geotools
进行solr查询
、
、
我来这里是因为我正在搜索(如上面提到的标题),从
geotools
(通过geoserver)进行查询,以便从solr索引中获得特性。更确切地说:http://localhost:8080/geoserver/wfs?1.1.0&request=GetFeature&format="xxx" &viewparams=q:"
浏览 1
提问于2016-02-25
得票数 1
回答已采纳
1
回答
存储大型DefaultFeatureCollection
、
、
、
、
在
应用程序运行之前,我必须每1秒更新一次org.
geotools
.feature.DefaultFeatureCollection (超过一个小时)。每1秒
在
lineCollection.add(feature);上添加点 try {} e.printStackTrace(); } 然而,集合变得庞大,堆
内存
逐渐
浏览 3
提问于2021-12-31
得票数 0
1
回答
GeoTools
getFeatures
永远耗费时间
、
、
、
到第三次时,代码停在"
getFeatures
(trgtFilter)“行中,再也没有返回。
在
调试模式下,我看到它正在等待DB连接。谁能告诉我我做错了什么?我使用的是
GeoTools
15和Oracle12。getReferenceFilter(trgLayer, refID); FeatureCollection fc = trgLayer.getFeatureSource().
getFeatures
浏览 1
提问于2016-04-12
得票数 0
2
回答
如何在地理工具中获取要素折点
谁能告诉我如何通过java
geotools
api获取要素的顶点? SimpleFeatureCollection collection = featureSource.
getFeatures
浏览 3
提问于2013-10-25
得票数 3
1
回答
Geotools
java.lang.NoClassDefFoundError: org.hsqldb.lib.FrameworkLogger
、
、
dataStore.getFeatureSource("ndfd:Forecast_Gml2Point"); } catch (IOException ex) { }直到调用
getFeatures
(WFSFeatureSource.java:207) at org.
geotools
.d
浏览 8
提问于2015-07-17
得票数 1
1
回答
WFSDatastore :返回要在主类中使用的特性
、
我目前正在尝试
在
项目的另一个类中访问WFS数据存储的功能-用于进一步重新转换投影并显示这些处理功能。import org.
geotools
.data.simple.SimpleFeatureIterator;import org.
geotools
.data.wfs
浏览 4
提问于2018-08-15
得票数 1
2
回答
从调用中返回另一个代理的Java.lang.reflect.Proxy
在
分配时
在
ClassCastException中产生
、
、
、
、
所以我
在
玩
geotools
,我想我会代理他们的一个数据访问类,并跟踪它在他们的代码中是如何使用的。java.lang.ClassCastException: $Proxy5 cannot be c
浏览 4
提问于2010-04-15
得票数 7
回答已采纳
1
回答
查找点是否
在
多边形内- JAVA jts / awt /
geotools
、
、
、
;import org.
geotools
.data.simple.SimpleFeatureCollection;import org.
geotools
.data.simple.SimpleFeatureIterator;import org.
geotools
.feature.DefaultFeatureColle
浏览 109
提问于2019-01-17
得票数 5
回答已采纳
2
回答
GeoTiffReader阻止deleteOnExit
、
、
如果我向GeoTiffReader传递一个标记为deleteOnExit()的文件实例,那么该文件
在
退出时不会被删除。File geotiffFile = Paths.get("
geotools
-test.tiff").toFile();GeoTiffReadergeotiffFile);为了隔离这个问题,我尝试了一个没有GeoTiffReader的版本,它按预期工作: File geotiffFile = Paths.get("<
浏览 55
提问于2017-01-18
得票数 2
回答已采纳
1
回答
如何使用java代码制作service=wfs&version=1.1.0&request=DescribeFeatureType?
、
、
我正在尝试通过
在
GeoServer中执行以下代码来获取特定层的详细信息,并且必须执行一些CQL操作。System.out.println(schema); SimpleFeatureCollection fc = source.
getFeatures
} } ex.printStackTrace();然而,我得到了这个异常: org.
geotools
.data.Da
浏览 46
提问于2020-05-22
得票数 0
1
回答
这个
GeoTools
FeatureId有什么问题?
、
使用
GeoTools
WFS-T插件,我创建了一个新行,
在
提交
之后
,我有一个FeatureId,.getId()返回一个丑陋的字符串,如下所示:SimpleFeatureCollection
浏览 0
提问于2011-05-13
得票数 2
回答已采纳
1
回答
如何使用shapeFile .shp中的
GeoTools
获取多边形的所有点?
、
、
、
这是我
在
堆栈溢出的第一个问题,所以我希望我这样做是正确的。 SimpleFeatureCollection collection = featureSource.
getFeatures
浏览 1
提问于2017-10-06
得票数 2
回答已采纳
1
回答
Gradle无法从本地artifactory下载外部依赖项,应从mavenCentral下载
、
、
、
.
geotools
工件不在我的"libs-snapshot-local“- artifactory中。当我粘贴请求时 http://beast:8082/artifactory/libs-snapshot-local/org/
geotools
/gt-wfs/9.0&
浏览 0
提问于2015-09-21
得票数 2
点击加载更多
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券