在C ++中处理空间数据的一些推荐框架是什么? [英] What are some recommended frameworks for manipulating spatial data in C++?
问题描述
在C ++中处理空间数据有哪些推荐的框架?
What are some recommended frameworks for manipulating spatial data in C++?
我正在寻找多边形对象,点对象以及一些诸如联合,相交,距离和面积之类的操作.我需要在WGS84(纬度,经度)中输入坐标,并以平方公里为单位获取面积.
I'm looking for a polygon object, point object, and some operations like union, intersection, distance, and area. I need to enter coordinates in WGS84 (lon,lat) and get area in square km.
我希望有一个免费/开源框架,但愿意接受建议.
I would prefer a free/open source framework, but am open to suggestions.
不幸的是,我需要一个非GPL解决方案. LGPL很好.
Unfortunately I need a non-GPL solution. LGPL is alright.
推荐答案
GEOS 是开放的源(LGPL)C ++几何/拓扑引擎.可能适合您吗?
GEOS is an open source (LGPL) C++ geometry / topology engine. Might suit you?
有用的地方是这些东西的地方有用的文章(位于O'Reilly网站上)以及 OSGeo (旨在支持开放源代码的协作)地理空间的东西.
Useful places to look for this stuff are this useful article on the O'Reilly website and also OSGeo which is a collaboration to support open source geospatial stuff.
这篇关于在C ++中处理空间数据的一些推荐框架是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!