Opened 14 years ago
Closed 14 years ago
#793 closed enhancement (fixed)
Topology: function GetNodeByPoint($1,$2,$3)
Reported by: | aperi2007 | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | topology | Version: | master |
Keywords: | history | Cc: |
Description
Has companion of GetEdgeByPoint I create also GetNodeByPoint to detect node before call the GetEdgeByPoint.
GetNodeByPoint(atopology, point, tolerance)
Retrieve a Node ID given a POINT and a tolerance tollerance = 0 mean exactly intersection
Returns the integer ID if there is a Node on the Point.
If there isn't any node in the Point, GetNodeByPoint return 0.
if near the point there are two or more nodes it throw an exception.
Attachments (5)
Change History (10)
by , 14 years ago
Attachment: | patch2.zip added |
---|
comment:1 by , 14 years ago
as for #791, testcase and docs patches are welcome (and maybe also putting these new things in a query.sql file?)
comment:3 by , 14 years ago
I have add to this ticket the pack for GetNodeByPoint as asked.
https://trac.osgeo.org/postgis/attachment/ticket/793/getnodebypoint.zip
comment:4 by , 14 years ago
Keywords: | history added |
---|
I've committed code and regress test in r6864. @robe: do you want to take care of the documentation ? coming in a nice external file you may have a way to include it rather than embedding it..
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
documentation completed at r6869
Patch to add the GetNodeByPoint