[postgis-users] massive snap of points of one geometry to points of another geometry
strk at keybit.net
Mon Nov 15 09:03:49 PST 2010
On Mon, Nov 15, 2010 at 05:35:29PM +0100, Pierluigi Santin wrote:
> I heard about a function in postgis that allow to force db to do
> something like
> "if a point of a feature A is within x centimeters from a point of
> another feature B, snap point of feature A over point of feature B"
> I would like to do that massively over all shapes of city plan
> Is there anybody that can give me a hint?
The function exists within GEOS, which is a library used by PostGIS.
But the specific functionality (snapping) isn't exposed in SQL yet.
What you could do is implement or fund implementation of
the missing bit (the wrapper).
() Free GIS & Flash consultant/developer
More information about the postgis-users