[Shapelib] Nearest lines for points.
Juan Antonio Pastor
juanpastjim at gmail.com
Mon Jun 15 04:54:40 EST 2009
Hi!
I have some line shapes and one points shape and I need to find the nearest
line from each point. To make that I want use the SHPTree library but I have
some questions:
1.- Do I need to compute the bounding box of all line shapes to create the
SHPTree object?
2.- Do I need to read all objects of each line shape, find it in the tree
and save his objects into
SHPTreeNode->papsShapeObj matrix?
3.- If I need to do that: do you have some example?
Thanks in advance!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/shapelib/attachments/20090615/5c4e61bb/attachment.htm
More information about the Shapelib
mailing list