开发者

Where can I find line buffering code?

I can't find any code for doing this. The only places I can find it is in GIS APIs. Preferably in java, but I can port other languages too. 开发者_Python百科I'd even settle for a overview of all the formulas required.


Use either:

  1. The method Geometry.buffer(distance) in Java Topology Suite (JTS) library http://www.vividsolutions.com/jts/JTSHome.htm

  2. The GEOS http://trac.osgeo.org/geos/ port of JTS library to C++.


I'm a little puzzled by your question, so this may not be the (type of) answer you are looking for.

Look for line buffering code in the source files of any of the open-source GIS out there. there are several.

As for algorithms, I Googled for gis buffering and got several useful hits on the first page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜