geotools

Does anyone know of a library in Java that can parse ESRI Shapefiles?

二次信任 提交于 2019-11-27 06:11:25
I'm interested in writing a visualization program for the road data in the 2009 Tiger/Line Shapefiles . I'd like to draw the line data to display all the roads for my county. The ESRI Shapefile or simply a shapefile is a popular geospatial vector data format for geographic information systems software. It is developed and regulated by ESRI as a (mostly) open specification for data interoperability among ESRI and other software products. 1 A "shapefile" commonly refers to a collection of files with ".shp", ".shx", ".dbf", and other extensions on a common prefix name (e.g., "lakes.*"). The

阿里云HBase Ganos全新升级,推空间、时空、遥感一体化基础云服务

坚强是说给别人听的谎言 提交于 2019-11-27 01:41:25
1、HBase Ganos是什么 Ganos是阿里云时空PaaS服务的自研核心引擎。Ganos已作为云数据库时空引擎与数据库平台融合,建立了以自研云原生数据库POALRDB为基础,联合NoSQL大数据平台(Ali-HBASE和X-Pack Spark)的完整时空地理信息云化管理解决方案。 HBase Ganos是为PB级分布式、大规模时空数据管理而生,主打NoSQL时空大数据处理能力,兼容HBase、Spark、GeoMesa、GeoServer等广泛开源生态,内置了高效的时空索引算法、空间拓扑几何算法、遥感影像处理算法等,可广泛应用于空间/时空/遥感大数据存储、查询、分析与数据挖掘场景。 2、新版本重要特性 全球首发时空栅格引擎云服务,支撑航天航空遥感云计算与智能化发展 对地观测技术的快速发展正促使遥感应用走向在线化和服务化。全新的云上时空栅格数据引擎面向未来遥感大数据云端智能分析计算需求而设计,采用了极为灵活的时空数据组织方式,在保留多时相、多分辨率且每一寸像素光谱信息的同时,兼顾传统遥感应用的快速浏览需求。引擎内置的ETL工具可以打通OSS、HBase、POLARDB/PG等数据存储产品,支持栅格数据的全自动化快速入库,包含投影转换、数据分块和索引创建等。栅格数据存储组织支持多种模式,常用的包括全球标准格网剖分和本地坐标系格网剖分(见下图)。 此外,2

Java, convert lat/lon to UTM [closed]

混江龙づ霸主 提交于 2019-11-26 18:42:20
Does anyone know of a way, in Java, to convert an earth surface position from lat, lon to UTM (say in WGS84)? I'm currently looking at Geotools but unfortunately the solution is not obvious. No Library, No Nothing. Copy This! Using These Two Classes , You can Convert Degree(latitude/longitude) to UTM and Vice Versa! private class Deg2UTM { double Easting; double Northing; int Zone; char Letter; private Deg2UTM(double Lat,double Lon) { Zone= (int) Math.floor(Lon/6+31); if (Lat<-72) Letter='C'; else if (Lat<-64) Letter='D'; else if (Lat<-56) Letter='E'; else if (Lat<-48) Letter='F'; else if (Lat

how to convert between degrees, minutes, seconds to Decimal coordinates

一笑奈何 提交于 2019-11-26 17:45:23
问题 Looking for a java utility. It is even better if you can tell me how to do it using geotools library. 回答1: By "Decimal coordinates" do you mean latitude and longitude (also known as the decimal degree)? If so, what you're trying to do is pretty easy: Given a DMS (Degrees, Minutes, Seconds) coordinate such as W87°43′41″, it's trivial to convert it to a number of decimal degrees using the following method: Calculate the total number of seconds, 43′41″ = (43*60 + 41) = 2621 seconds. The

geotools修改shapefile 属性名乱码问题

微笑、不失礼 提交于 2019-11-26 15:43:06
在GeoServer中文社区的讨论地址为:http://opengeo.cn/bbs/read.php?tid=1701&page=e&#a 使用geotools修改shapefile之后, 发现dbf文件内容中, 属性名都成了乱码, 但属性值就不是乱码。修改之前还没有乱码的。 而且在代码中也已经通过以下方式设置过编码方式了: ShapefileDataStore shape = new ShapefileDataStore(url);shape.setStringCharset(Charset.forName("GBK")); 我的修改代码如下: /** * 修改shapefile. * @param dataStore * @param fidStr 要修改的数据对应的featureID * @return */ public static boolean updateShapeFile(ShapefileDataStore dataStore,String fidStr) { DefaultTransaction transaction = null; SimpleFeatureStore store = null; try { dataStore.setStringCharset(Charset.forName("GBK")); String[] featureNames

Java, convert lat/lon to UTM [closed]

家住魔仙堡 提交于 2019-11-26 06:31:09
问题 Does anyone know of a way, in Java, to convert an earth surface position from lat, lon to UTM (say in WGS84)? I\'m currently looking at Geotools but unfortunately the solution is not obvious. 回答1: No Library, No Nothing. Copy This! Using These Two Classes , You can Convert Degree(latitude/longitude) to UTM and Vice Versa! private class Deg2UTM { double Easting; double Northing; int Zone; char Letter; private Deg2UTM(double Lat,double Lon) { Zone= (int) Math.floor(Lon/6+31); if (Lat<-72)